diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index 695f79d0a9ab3e..f176f1b9a8dda7 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -63,7 +63,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 6eb6624268e12a..746221a7354101 100644 --- a/.github/workflows/k8s_e2e.yml +++ b/.github/workflows/k8s_e2e.yml @@ -105,7 +105,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/* @@ -207,7 +207,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 f3835b4790407f..7e4ff51c274787 100644 --- a/.github/workflows/preview_site_trigger.yml +++ b/.github/workflows/preview_site_trigger.yml @@ -23,7 +23,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 b40a11170c7511..aa8090b33d6125 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -64,7 +64,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* @@ -90,7 +90,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* @@ -118,7 +118,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* @@ -146,7 +146,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* @@ -174,7 +174,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* @@ -202,7 +202,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* @@ -231,7 +231,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* @@ -278,7 +278,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* @@ -321,7 +321,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 @@ -371,7 +371,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 @@ -394,7 +394,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 @@ -440,32 +440,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 @@ -501,42 +501,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 @@ -574,47 +574,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 @@ -666,49 +666,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 82709290f002bb..e48309ad0d7fed 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -318,7 +318,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" @@ -356,7 +356,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" @@ -393,7 +393,7 @@ jobs: - build-baseline steps: - name: 'Download baseline image' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: baseline-image @@ -432,7 +432,7 @@ jobs: - build-comparison steps: - name: 'Download comparison image' - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: comparison-image @@ -525,7 +525,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 @@ -620,7 +620,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 }}/ @@ -712,7 +712,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 }}/ @@ -741,7 +741,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 b64f810ce652ab..f0f18744ea986e 100644 --- a/.github/workflows/workload_checks.yml +++ b/.github/workflows/workload_checks.yml @@ -140,7 +140,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