diff --git a/.github/workflows/build-test-release.yaml b/.github/workflows/build-test-release.yaml index 9c72f4329..93af35dd5 100644 --- a/.github/workflows/build-test-release.yaml +++ b/.github/workflows/build-test-release.yaml @@ -19,21 +19,21 @@ jobs: compliance-copyrights: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: apache/skywalking-eyes@v0.5.0 + - uses: actions/checkout@v4 + - uses: apache/skywalking-eyes@v0.6.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.7" - run: | bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.26/scripts/download-actionlint.bash) - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 publish: needs: @@ -41,7 +41,7 @@ jobs: - pre-commit runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: false persist-credentials: false @@ -62,5 +62,5 @@ jobs: contents: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: haya14busa/action-update-semver@v1 diff --git a/.github/workflows/reusable-build-test-release.yml b/.github/workflows/reusable-build-test-release.yml index b653bfb48..46ddd5d2d 100644 --- a/.github/workflows/reusable-build-test-release.yml +++ b/.github/workflows/reusable-build-test-release.yml @@ -262,7 +262,7 @@ jobs: packages: read steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: false persist-credentials: false @@ -279,7 +279,7 @@ jobs: GITHUB_TOKEN: ${{ github.token }} - name: Docker meta id: docker_action_meta - uses: docker/metadata-action@v5.4.0 + uses: docker/metadata-action@v5.5.1 with: images: ghcr.io/${{ github.repository }}/container tags: | @@ -311,7 +311,7 @@ jobs: - setup-workflow if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: run fossa analyze and create report run: | curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash @@ -320,7 +320,7 @@ jobs: env: FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }} - name: upload THIRDPARTY file - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: THIRDPARTY path: /tmp/THIRDPARTY @@ -332,7 +332,7 @@ jobs: - fossa-scan if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: run fossa test run: | curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash @@ -348,7 +348,7 @@ jobs: if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: REUSE Compliance Check uses: fsfe/reuse-action@v1.1 @@ -358,11 +358,11 @@ jobs: - setup-workflow if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: "3.7" - - uses: pre-commit/action@v3.0.0 + - uses: pre-commit/action@v3.0.1 review_secrets: name: security-detect-secrets @@ -373,13 +373,13 @@ jobs: steps: - name: Checkout if: github.event_name != 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: false fetch-depth: "0" - name: Checkout for PR if: github.event_name == 'pull_request' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: false fetch-depth: "0" @@ -398,7 +398,7 @@ jobs: image: returntocorp/semgrep if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Semgrep id: semgrep run: semgrep ci @@ -419,7 +419,7 @@ jobs: scripted_inputs: ${{ steps.testset.outputs.scripted_inputs }} ucc_modinput_functional: ${{ steps.modinput-version.outputs.ucc_modinput_tests }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - id: testset name: Check available test types run: | @@ -453,7 +453,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -479,7 +479,7 @@ jobs: run: cp tests/unit/pytest-ci.ini pytest.ini - name: Run Pytest with coverage run: pytest --cov=./ --cov-report=xml --junitxml=test-results/junit.xml tests/unit - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-unit-python_${{ matrix.python-version }} @@ -504,7 +504,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -530,7 +530,7 @@ jobs: run: cp tests/unit/pytest-ci.ini pytest.ini - name: Run Pytest with coverage run: pytest --cov=./ --cov-report=xml --junitxml=test-results/junit.xml tests/unit - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: success() || failure() with: name: test-results-unit-python_${{ matrix.python-version }} @@ -555,7 +555,7 @@ jobs: contents: write packages: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Very Important semantic-release won't trigger a tagged # build if this is not set false @@ -592,7 +592,7 @@ jobs: run: if [ -f requirements_dev.txt ]; then echo "ENABLED=true" >> "$GITHUB_OUTPUT"; fi - name: pip cache if: ${{ steps.checklibs.outputs.ENABLED == 'true' }} - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('requirements_dev.txt') }} @@ -647,13 +647,13 @@ jobs: echo "VERSION=${FINALVERSION}" >> "$GITHUB_OUTPUT" - name: Download THIRDPARTY if: github.event_name != 'pull_request' && github.event_name != 'schedule' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: THIRDPARTY - name: Download THIRDPARTY (Optional for PR and schedule) if: github.event_name == 'pull_request' || github.event_name == 'schedule' continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: THIRDPARTY - name: Update Notices @@ -686,13 +686,13 @@ jobs: echo "OUTPUT=$PACKAGE" >> "$GITHUB_OUTPUT" if: always() - name: artifact-openapi - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: artifact-openapi path: ${{ github.workspace }}/${{ steps.uccgen.outputs.OUTPUT }}/appserver/static/openapi.json if: ${{ !cancelled() && needs.test-inventory.outputs.ucc_modinput_functional == 'true' && needs.test-inventory.outputs.modinput_functional == 'true' }} - name: artifact-splunk-base - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: package-splunkbase path: ${{ steps.slim.outputs.OUTPUT }} @@ -727,7 +727,7 @@ jobs: contents: write packages: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: # Very Important semantic-release won't trigger a tagged # build if this is not set false @@ -759,7 +759,7 @@ jobs: run: | echo "dir=$(pip cache dir)" >> "$GITHUB_OUTPUT" - name: pip cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-python3_9-${{ hashFiles('requirements_dev.txt') }} @@ -828,7 +828,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Python 3 uses: actions/setup-python@v5 with: @@ -839,7 +839,7 @@ jobs: input-files: tests/requirement_test/logs - name: Archive production artifacts if: ${{ !cancelled() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: test-results path: | @@ -863,14 +863,14 @@ jobs: - "splunk_appinspect" - "manual" steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: package-splunkbase path: build/package/ - name: Scan <<<<<<< HEAD - uses: splunk/appinspect-cli-action@v2.5 + uses: splunk/appinspect-cli-action@v2.6 ======= uses: splunk/appinspect-cli-action@v2.6 >>>>>>> main @@ -880,13 +880,13 @@ jobs: result_file: appinspect_result_${{ matrix.tags }}.json - name: upload-appinspect-report if: ${{ !cancelled() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: appinspect_${{ matrix.tags }}_checks.json path: appinspect_result_${{ matrix.tags }}.json - name: upload-markdown if: matrix.tags == 'manual' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: check_markdown path: | @@ -906,8 +906,8 @@ jobs: tags: - "cloud" steps: - - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 with: name: package-splunkbase path: build/package @@ -918,7 +918,7 @@ jobs: password: ${{ secrets.SPL_COM_PASSWORD }} app_path: build/package/ included_tags: ${{ matrix.tags }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: appinspect-api-html-report-${{ matrix.tags }} @@ -951,7 +951,7 @@ jobs: env: BUILD_NAME: ${{ needs.build.outputs.buildname }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive token: ${{ secrets.GH_TOKEN_ADMIN }} @@ -989,7 +989,7 @@ jobs: echo "spl-host-suffix=wfe.splgdi.com" echo "k8s-manifests-branch=${{ inputs.k8s-manifests-branch }}" } >> "$GITHUB_OUTPUT" - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 if: ${{ needs.test-inventory.outputs.ucc_modinput_functional == 'true' && needs.test-inventory.outputs.modinput_functional == 'true'}} id: download-openapi with: @@ -1062,7 +1062,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: configure git # This step configures git to omit "dubious git ownership error" in later test-reporter stage @@ -1077,7 +1077,7 @@ jobs: run: | echo "start_time=$(date +%s)" >> "$GITHUB_OUTPUT" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -1225,27 +1225,27 @@ jobs: echo "pulling logs" mkdir -p ${{ needs.setup.outputs.directory-path }}/argo-logs aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/${WORKFLOW_NAME}/ ${{ needs.setup.outputs.directory-path }}/argo-logs/ --recursive - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} tests artifacts path: | ${{ needs.setup.outputs.directory-path }}/test-results - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} tests logs path: | ${{ needs.setup.outputs.directory-path }}/argo-logs - name: Upload cim-compliance-report for ${{ matrix.splunk.version }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ matrix.splunk.islatest == true }} with: name: cim-compliance-report path: | ${{ needs.setup.outputs.directory-path }}/test-results/cim-compliance-report.md - name: Upload cim-field-report for ${{ matrix.splunk.version }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ matrix.splunk.islatest == true }} with: name: cim-field-report @@ -1253,7 +1253,7 @@ jobs: ${{ needs.setup.outputs.directory-path }}/test-results/cim_field_report.json - name: Test Report id: test_report - uses: dorny/test-reporter@v1.7.0 + uses: dorny/test-reporter@v1.9.0 if: ${{ !cancelled() }} with: name: splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} test report @@ -1264,7 +1264,7 @@ jobs: run: | echo "pulling diag" aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} tests diag @@ -1310,7 +1310,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: configure git # This step configures git to omit "dubious git ownership error" in later test-reporter stage @@ -1325,7 +1325,7 @@ jobs: run: | echo "start_time=$(date +%s)" >> "$GITHUB_OUTPUT" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -1467,13 +1467,13 @@ jobs: echo "pulling logs" mkdir -p ${{ needs.setup.outputs.directory-path }}/argo-logs aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/${WORKFLOW_NAME}/ ${{ needs.setup.outputs.directory-path }}/argo-logs/ --recursive - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} tests artifacts path: | ${{ needs.setup.outputs.directory-path }}/test-results - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} tests logs @@ -1481,7 +1481,7 @@ jobs: ${{ needs.setup.outputs.directory-path }}/argo-logs - name: Test Report id: test_report - uses: dorny/test-reporter@v1.7.0 + uses: dorny/test-reporter@v1.9.0 if: ${{ !cancelled() }} with: name: splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} test report @@ -1492,7 +1492,7 @@ jobs: run: | echo "pulling diag" aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }} with: name: archive splunk ${{ matrix.splunk.version }} ${{ env.TEST_TYPE }} tests diag @@ -1539,7 +1539,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: configure git # This step configures git to omit "dubious git ownership error" in later test-reporter stage @@ -1554,7 +1554,7 @@ jobs: run: | echo "start_time=$(date +%s)" >> "$GITHUB_OUTPUT" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -1702,13 +1702,13 @@ jobs: echo "pulling logs" mkdir -p ${{ needs.setup.outputs.directory-path }}/argo-logs aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/${WORKFLOW_NAME}/ ${{ needs.setup.outputs.directory-path }}/argo-logs/ --recursive - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} tests artifacts path: | ${{ needs.setup.outputs.directory-path }}/test-results - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} tests logs @@ -1716,7 +1716,7 @@ jobs: ${{ needs.setup.outputs.directory-path }}/argo-logs - name: Test Report id: test_report - uses: dorny/test-reporter@v1.7.0 + uses: dorny/test-reporter@v1.9.0 if: ${{ !cancelled() }} with: name: splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} test report @@ -1727,7 +1727,7 @@ jobs: run: | echo "pulling diag" aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.browser }} ${{ matrix.vendor-version.image }} tests diag @@ -1769,7 +1769,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: configure git # This step configures git to omit "dubious git ownership error" in later test-reporter stage @@ -1784,7 +1784,7 @@ jobs: run: | echo "start_time=$(date +%s)" >> "$GITHUB_OUTPUT" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -1944,13 +1944,13 @@ jobs: echo "pulling logs" mkdir -p ${{ needs.setup.outputs.directory-path }}/argo-logs aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/${WORKFLOW_NAME}/ ${{ needs.setup.outputs.directory-path }}/argo-logs/ --recursive - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} tests artifacts path: | ${{ needs.setup.outputs.directory-path }}/test-results - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} tests logs @@ -1958,7 +1958,7 @@ jobs: ${{ needs.setup.outputs.directory-path }}/argo-logs - name: Test Report id: test_report - uses: dorny/test-reporter@v1.7.0 + uses: dorny/test-reporter@v1.9.0 if: ${{ !cancelled() }} with: name: splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} test report @@ -1969,7 +1969,7 @@ jobs: run: | echo "pulling diag" aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} tests diag @@ -2014,7 +2014,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: configure git # This step configures git to omit "dubious git ownership error" in later test-reporter stage @@ -2029,7 +2029,7 @@ jobs: run: | echo "start_time=$(date +%s)" >> "$GITHUB_OUTPUT" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -2186,13 +2186,13 @@ jobs: echo "pulling logs" mkdir -p ${{ needs.setup.outputs.directory-path }}/argo-logs aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/${WORKFLOW_NAME}/ ${{ needs.setup.outputs.directory-path }}/argo-logs/ --recursive - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests artifacts path: | ${{ needs.setup.outputs.directory-path }}/test-results - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests logs @@ -2200,7 +2200,7 @@ jobs: ${{ needs.setup.outputs.directory-path }}/argo-logs - name: Test Report id: test_report - uses: dorny/test-reporter@v1.7.0 + uses: dorny/test-reporter@v1.9.0 if: ${{ !cancelled() }} with: name: splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} test report @@ -2211,7 +2211,7 @@ jobs: run: | echo "pulling diag" aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests diag @@ -2250,7 +2250,7 @@ jobs: statuses: read checks: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: recursive - name: configure git # This step configures git to omit "dubious git ownership error" in later test-reporter stage @@ -2265,7 +2265,7 @@ jobs: run: | echo "start_time=$(date +%s)" >> "$GITHUB_OUTPUT" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} @@ -2421,13 +2421,13 @@ jobs: echo "pulling logs" mkdir -p ${{ needs.setup.outputs.directory-path }}/argo-logs aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/${WORKFLOW_NAME}/ ${{ needs.setup.outputs.directory-path }}/argo-logs/ --recursive - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests artifacts path: | ${{ needs.setup.outputs.directory-path }}/test-results - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ !cancelled() }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests logs @@ -2435,7 +2435,7 @@ jobs: ${{ needs.setup.outputs.directory-path }}/argo-logs - name: Test Report id: test_report - uses: dorny/test-reporter@v1.7.0 + uses: dorny/test-reporter@v1.9.0 if: ${{ !cancelled() && !contains(matrix.splunk.version, 'unreleased-python3_9') }} with: name: splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} test report @@ -2444,7 +2444,7 @@ jobs: - name: Test Report Python 3.9 continue-on-error: true id: test_report_python_3_9 - uses: dorny/test-reporter@v1.7.0 + uses: dorny/test-reporter@v1.9.0 if: ${{ !cancelled() && contains(matrix.splunk.version, 'unreleased-python3_9') }} with: name: splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} test report @@ -2455,7 +2455,7 @@ jobs: run: | echo "pulling diag" aws s3 cp s3://${{ needs.setup.outputs.s3-bucket }}/diag-${{ steps.create-job-name.outputs.job-name }}/diag-${{ steps.create-job-name.outputs.job-name }}.tgz ${{ needs.setup.outputs.directory-path }}/ - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: ${{ failure() && steps.test_report.outputs.conclusion == 'failure' }} with: name: archive splunk ${{ matrix.splunk.version }}${{ secrets.OTHER_TA_REQUIRED_CONFIGS }} ${{ env.TEST_TYPE }} ${{ matrix.vendor-version.image }} ${{ steps.os-name-version.outputs.os-name }} ${{ steps.os-name-version.outputs.os-version }} tests diag @@ -2516,7 +2516,7 @@ jobs: statuses: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: false persist-credentials: false @@ -2532,7 +2532,7 @@ jobs: passphrase: ${{ secrets.SA_GPG_PASSPHRASE }} - name: Download package-splunkbase if: ${{ steps.semantic.outputs.new_release_published == 'true' }} - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 id: download-package-splunkbase with: name: package-splunkbase @@ -2541,7 +2541,7 @@ jobs: id: download-cim-compliance-report if: ${{ steps.semantic.outputs.new_release_published == 'true' }} continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: cim-compliance-report path: download/artifacts/deployment @@ -2549,7 +2549,7 @@ jobs: id: download-cim-field-report if: ${{ steps.semantic.outputs.new_release_published == 'true' }} continue-on-error: true - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: cim-field-report path: download/artifacts/deployment