diff --git a/.github/workflows/cache-config-tests.yml b/.github/workflows/cache-config-tests.yml index f5ad388501..e059536a3e 100644 --- a/.github/workflows/cache-config-tests.yml +++ b/.github/workflows/cache-config-tests.yml @@ -88,7 +88,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.x86_64.rpm @@ -106,7 +106,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/trafficcontrol-${{ github.job }}-*.x86_64.rpm @@ -141,7 +141,7 @@ jobs: actual_rpm_name="$(ls dist | grep -E '^trafficserver-[0-9.]+-[0-9]+\.[0-9a-f]+.el${{ env.RHEL_VERSION }}.${{ env.TARGET_ARCH }}.rpm$')" [[ "${{ steps.repo-info.outputs.expected-rpm-name }}" == "$actual_rpm_name" ]] - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.x86_64.rpm @@ -158,17 +158,17 @@ jobs: - name: Checkout uses: actions/checkout@master - name: Download TO RPM - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: traffic_ops path: ${{ github.workspace }}/cache-config/testing/docker/traffic_ops - name: Download Cache Config RPM - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: cache-config path: ${{ github.workspace }}/cache-config/testing/docker/ort_test - name: Download ATS RPM - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: trafficserver path: ${{ github.workspace }}/cache-config/testing/docker/yumserver/test-rpms diff --git a/.github/workflows/ciab.yaml b/.github/workflows/ciab.yaml index 39c6bee04c..c522f62a25 100644 --- a/.github/workflows/ciab.yaml +++ b/.github/workflows/ciab.yaml @@ -101,7 +101,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm @@ -119,7 +119,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm @@ -137,7 +137,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/trafficcontrol-${{ github.job }}-*.rpm @@ -162,7 +162,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm @@ -210,7 +210,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/*.rpm @@ -228,7 +228,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm @@ -246,7 +246,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm @@ -264,7 +264,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm @@ -282,7 +282,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.rpm @@ -317,7 +317,7 @@ jobs: actual_rpm_name="$(ls dist | grep -E '^trafficserver-[0-9.]+-[0-9]+\.[0-9a-f]+.el${{ env.RHEL_VERSION }}.${{ env.TARGET_ARCH }}.rpm$')" [[ "${{ steps.repo-info.outputs.expected-rpm-name }}" == "$actual_rpm_name" ]] - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.x86_64.rpm @@ -348,7 +348,7 @@ jobs: - name: Import cached Alpine Docker image run: .github/actions/save-alpine-tar/entrypoint.sh load ${{ env.ALPINE_VERSION }} - name: Download RPMs - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: path: ${{ github.workspace }}/dist/ - name: Build CDN-in-a-Box images @@ -356,7 +356,7 @@ jobs: - name: Start CDN-in-a-Box uses: ./.github/actions/run-ciab - name: Upload CDN-in-a-Box logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ciab-logs path: infrastructure/cdn-in-a-box/logs/*.log diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index eb162e8567..779f5c82f5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -49,7 +49,7 @@ jobs: with: docs-folder: "docs/" pre-build-command: "apt-get install -y pandoc" - - uses: actions/upload-artifact@v1 + - uses: actions/upload-artifact@v4 with: name: HTMLDocumentation path: docs/build/html/ diff --git a/.github/workflows/health-client-tests.yml b/.github/workflows/health-client-tests.yml index b1662194fb..0fa0a2d541 100644 --- a/.github/workflows/health-client-tests.yml +++ b/.github/workflows/health-client-tests.yml @@ -82,7 +82,7 @@ jobs: env: ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.x86_64.rpm @@ -101,7 +101,7 @@ jobs: NO_SOURCE: 1 ATC_COMPONENT: ${{ github.job }} - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/trafficcontrol-health-client-*.x86_64.rpm @@ -136,7 +136,7 @@ jobs: actual_rpm_name="$(ls dist | grep -E '^trafficserver-[0-9.]+-[0-9]+\.[0-9a-f]+.el${{ env.RHEL_VERSION }}.${{ env.TARGET_ARCH }}.rpm$')" [[ "${{ steps.repo-info.outputs.expected-rpm-name }}" == "$actual_rpm_name" ]] - name: Upload RPM - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ github.job }} path: ${{ github.workspace }}/dist/${{ github.job }}-*.x86_64.rpm @@ -153,17 +153,17 @@ jobs: - name: Checkout uses: actions/checkout@master - name: Download TO RPM - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: traffic_ops path: ${{ github.workspace }}/tc-health-client/testing/docker/traffic_ops - name: Download Health Client RPM - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: tc-health-client path: ${{ github.workspace }}/tc-health-client/testing/docker/health-check-test - name: Download ATS RPM - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: trafficserver path: ${{ github.workspace }}/tc-health-client/testing/docker/health-check-test diff --git a/.github/workflows/to.api.contract.tests.yml b/.github/workflows/to.api.contract.tests.yml index a709289967..043229de24 100644 --- a/.github/workflows/to.api.contract.tests.yml +++ b/.github/workflows/to.api.contract.tests.yml @@ -105,13 +105,13 @@ jobs: version: 4 - name: Upload Vault logs if: ${{ steps.v4Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v4 Traffic Vault logs path: ${{ github.workspace }}/infrastructure/cdn-in-a-box/traffic.vault.logs - name: Upload Ops logs if: ${{ steps.v4Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v4 Traffic Ops logs path: ${{ github.workspace }}/traffic_ops/traffic_ops_golang/traffic.ops.log diff --git a/.github/workflows/to.integration.tests.yml b/.github/workflows/to.integration.tests.yml index 2be60a5f1c..8cfd89207b 100644 --- a/.github/workflows/to.integration.tests.yml +++ b/.github/workflows/to.integration.tests.yml @@ -123,13 +123,13 @@ jobs: flags: traffic_ops_integration,v3 - name: Upload v3 Vault logs if: ${{ steps.v3Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v3 Traffic Vault logs path: ${{ github.workspace }}/infrastructure/cdn-in-a-box/traffic.vault.logs - name: Upload v3 Ops logs if: ${{ steps.v3Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v3 Traffic Ops logs path: ${{ github.workspace }}/traffic_ops/traffic_ops_golang/traffic.ops.log @@ -200,13 +200,13 @@ jobs: flags: traffic_ops_integration,v4 - name: Upload v4 Vault logs if: ${{ steps.v4Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v4 Traffic Vault logs path: ${{ github.workspace }}/infrastructure/cdn-in-a-box/traffic.vault.logs - name: Upload v4 Ops logs if: ${{ steps.v4Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v4 Traffic Ops logs path: ${{ github.workspace }}/traffic_ops/traffic_ops_golang/traffic.ops.log @@ -279,13 +279,13 @@ jobs: flags: traffic_ops_integration,v5 - name: Upload v5 Vault logs if: ${{ steps.v5Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v5 Traffic Vault logs path: ${{ github.workspace }}/infrastructure/cdn-in-a-box/traffic.vault.logs - name: Upload v5 Ops logs if: ${{ steps.v5Tests.outcome != 'success' && always() }} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: v5 Traffic Ops logs path: ${{ github.workspace }}/traffic_ops/traffic_ops_golang/traffic.ops.log diff --git a/.github/workflows/tp.integration.tests.yml b/.github/workflows/tp.integration.tests.yml index 17fb097fac..b6ce0d8daf 100644 --- a/.github/workflows/tp.integration.tests.yml +++ b/.github/workflows/tp.integration.tests.yml @@ -165,7 +165,7 @@ jobs: with: smtp_address: 172.17.0.1 - name: Upload Report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 if: always() with: name: ${{ github.job }} diff --git a/.github/workflows/tpv2.yml b/.github/workflows/tpv2.yml index 57c156abfe..5796044f36 100644 --- a/.github/workflows/tpv2.yml +++ b/.github/workflows/tpv2.yml @@ -30,7 +30,6 @@ on: - '!**_test.go' - traffic_ops/app/db/** - traffic_ops/traffic_ops_golang/**.go - create: pull_request: paths: - experimental/traffic-portal/** @@ -261,7 +260,7 @@ jobs: - name: Run everything and test uses: ./.github/actions/tpv2-integration-tests - name: Upload Report - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: ${{ github.job }} diff --git a/.github/workflows/tr-ultimate-test-harness.yml b/.github/workflows/tr-ultimate-test-harness.yml index 5dbb842193..50851f48a4 100644 --- a/.github/workflows/tr-ultimate-test-harness.yml +++ b/.github/workflows/tr-ultimate-test-harness.yml @@ -207,7 +207,7 @@ jobs: done if: ${{ failure() }} - name: Upload Dev CDN-in-a-Box logs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: dev-ciab-logs path: dev/logs/*.log diff --git a/.github/workflows/tr.tests.yaml b/.github/workflows/tr.tests.yaml index b04a7b6443..38bf66cc21 100644 --- a/.github/workflows/tr.tests.yaml +++ b/.github/workflows/tr.tests.yaml @@ -66,7 +66,7 @@ jobs: files: core/target/site/jacoco-aggregate/jacoco.xml flags: traffic_router_unit - name: Upload Surefire and Failsafe Reports - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ failure() }} with: name: junit-reports