diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index 89f1e75bc4828a..014a65cf8ecee2 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -62,7 +62,7 @@ jobs: # aarch64 and musl in particular are notoriously hard to link. # While it may be tempting to slot a `check` in here for quickness, please don't. - run: make cross-build-${{ matrix.target }} - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: "vector-debug-${{ matrix.target }}" path: "./target/${{ matrix.target }}/debug/vector" diff --git a/.github/workflows/k8s_e2e.yml b/.github/workflows/k8s_e2e.yml index 90f41204e23491..5894610eacb633 100644 --- a/.github/workflows/k8s_e2e.yml +++ b/.github/workflows/k8s_e2e.yml @@ -102,7 +102,7 @@ jobs: - run: echo "::add-matcher::.github/matchers/rust.json" - run: VECTOR_VERSION="$(cargo vdev version)" make package-deb-x86_64-unknown-linux-gnu - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: e2e-test-deb-package path: target/artifacts/* @@ -202,7 +202,7 @@ jobs: if: ${{ github.event_name != 'issue_comment' }} uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: name: e2e-test-deb-package path: target/artifacts diff --git a/.github/workflows/preview_site_trigger.yml b/.github/workflows/preview_site_trigger.yml index 8002913a37902a..f289872c0795d1 100644 --- a/.github/workflows/preview_site_trigger.yml +++ b/.github/workflows/preview_site_trigger.yml @@ -22,7 +22,7 @@ jobs: # Upload the artifact - name: Upload PR information artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pr path: pr/ diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 0c21848bb90b9e..339625424e726b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -62,7 +62,7 @@ jobs: - name: Build Vector run: make package-x86_64-unknown-linux-musl-all - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl path: target/artifacts/vector* @@ -87,7 +87,7 @@ jobs: - name: Build Vector run: make package-x86_64-unknown-linux-gnu-all - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu path: target/artifacts/vector* @@ -114,7 +114,7 @@ jobs: DOCKER_PRIVILEGED: "true" run: make package-aarch64-unknown-linux-musl-all - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl path: target/artifacts/vector* @@ -141,7 +141,7 @@ jobs: DOCKER_PRIVILEGED: "true" run: make package-aarch64-unknown-linux-gnu-all - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu path: target/artifacts/vector* @@ -168,7 +168,7 @@ jobs: DOCKER_PRIVILEGED: "true" run: make package-armv7-unknown-linux-gnueabihf-all - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf path: target/artifacts/vector* @@ -195,7 +195,7 @@ jobs: DOCKER_PRIVILEGED: "true" run: make package-armv7-unknown-linux-musleabihf - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf path: target/artifacts/vector* @@ -223,7 +223,7 @@ jobs: export PATH="$HOME/.cargo/bin:$PATH" make package - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin path: target/artifacts/vector* @@ -269,7 +269,7 @@ jobs: export PATH="/c/wix:$PATH" ./scripts/package-msi.sh - name: Stage package artifacts for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc path: target/artifacts/vector* @@ -311,7 +311,7 @@ jobs: with: ref: ${{ inputs.git_ref }} - name: Download staged package artifacts (x86_64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu path: target/artifacts @@ -360,7 +360,7 @@ jobs: with: ref: ${{ inputs.git_ref }} - name: Download staged package artifacts (x86_64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu path: target/artifacts @@ -382,7 +382,7 @@ jobs: with: ref: ${{ inputs.git_ref }} - name: Download staged package artifacts (x86_64-apple-darwin) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin path: target/artifacts @@ -427,32 +427,32 @@ jobs: version: latest install: true - name: Download staged package artifacts (aarch64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (aarch64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-gnueabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-musleabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf path: target/artifacts @@ -487,42 +487,42 @@ jobs: with: ref: ${{ inputs.git_ref }} - name: Download staged package artifacts (aarch64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (aarch64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (x86_64-apple-darwin) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin path: target/artifacts - name: Download staged package artifacts (x86_64-pc-windows-msvc) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-gnueabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-musleabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf path: target/artifacts @@ -559,47 +559,47 @@ jobs: with: ref: ${{ inputs.git_ref }} - name: Download staged package artifacts (aarch64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (aarch64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (x86_64-apple-darwin) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin path: target/artifacts - name: Download staged package artifacts (x86_64-pc-windows-msvc) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-gnueabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-musleabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf path: target/artifacts - name: Download artifact checksums - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-SHA256SUMS path: target/artifacts @@ -649,49 +649,49 @@ jobs: with: ref: ${{ inputs.git_ref }} - name: Download staged package artifacts (aarch64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (aarch64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-aarch64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-gnu) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-gnu path: target/artifacts - name: Download staged package artifacts (x86_64-unknown-linux-musl) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-unknown-linux-musl path: target/artifacts - name: Download staged package artifacts (x86_64-apple-darwin) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-apple-darwin path: target/artifacts - name: Download staged package artifacts (x86_64-pc-windows-msvc) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-x86_64-pc-windows-msvc path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-gnueabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-gnueabihf path: target/artifacts - name: Download staged package artifacts (armv7-unknown-linux-musleabihf) - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-armv7-unknown-linux-musleabihf path: target/artifacts - name: Generate SHA256 checksums for artifacts run: make sha256sum - name: Stage checksum for publish - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: vector-${{ env.VECTOR_VERSION }}-SHA256SUMS path: target/artifacts/vector-${{ env.VECTOR_VERSION }}-SHA256SUMS diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 95c129b9524d8f..d91c1fa103e855 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -314,7 +314,7 @@ jobs: vector:${{ needs.compute-metadata.outputs.baseline-tag }} - name: Upload image as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: baseline-image path: "${{ runner.temp }}/baseline-image.tar" @@ -351,7 +351,7 @@ jobs: vector:${{ needs.compute-metadata.outputs.comparison-tag }} - name: Upload image as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: comparison-image path: "${{ runner.temp }}/comparison-image.tar" @@ -386,7 +386,7 @@ jobs: - build-baseline steps: - name: 'Download baseline image' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: baseline-image @@ -424,7 +424,7 @@ jobs: - build-comparison steps: - name: 'Download comparison image' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: comparison-image @@ -516,7 +516,7 @@ jobs: --target-name vector \ --submission-metadata ${{ runner.temp }}/submission-metadata - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: vector-submission-metadata path: ${{ runner.temp }}/submission-metadata @@ -610,7 +610,7 @@ jobs: aws s3 cp s3://smp-cli-releases/v${{ needs.compute-metadata.outputs.smp-version }}/x86_64-unknown-linux-gnu/smp ${{ runner.temp }}/bin/smp - name: Download submission metadata - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-submission-metadata path: ${{ runner.temp }}/ @@ -701,7 +701,7 @@ jobs: aws s3 cp s3://smp-cli-releases/v${{ needs.compute-metadata.outputs.smp-version }}/x86_64-unknown-linux-gnu/smp ${{ runner.temp }}/bin/smp - name: Download submission metadata - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: vector-submission-metadata path: ${{ runner.temp }}/ @@ -730,7 +730,7 @@ jobs: body: ${{ steps.read-analysis.outputs.content }} - name: Upload regression report to artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: capture-artifacts path: ${{ runner.temp }}/outputs/* diff --git a/.github/workflows/workload_checks.yml b/.github/workflows/workload_checks.yml index 1e66600a521ed6..6c0948e5af3479 100644 --- a/.github/workflows/workload_checks.yml +++ b/.github/workflows/workload_checks.yml @@ -138,7 +138,7 @@ jobs: --tags smp_status=nightly,client_team="vector",tag_date="${CURRENT_DATE}" \ --submission-metadata ${{ runner.temp }}/submission-metadata - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: name: vector-submission-metadata path: ${{ runner.temp }}/submission-metadata