Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github-actions deps (major) #30110

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ jobs:
- name: Run Unit Tests With Coverage
if: startsWith( matrix.go-version, '~1.20' ) # only run coverage on one version
run: make gotest-with-cover GROUP=${{ matrix.group }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: startsWith( matrix.go-version, '~1.20' ) # only run coverage on one version
with:
name: coverage-artifacts
Expand All @@ -297,7 +297,7 @@ jobs:
needs: [unittest]
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverage-artifacts
- name: Upload coverage report
Expand Down Expand Up @@ -453,14 +453,14 @@ jobs:
- name: Build Collector ${{ matrix.binary }}
run: make GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} GOARM=${{ matrix.arm }} otelcontribcol
- name: Upload Collector Binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-binaries
path: ./bin/*

build-package:
# Use 20.04.5 until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/16450 is resolved
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs: [cross-compile]
strategy:
fail-fast: false
Expand All @@ -477,7 +477,7 @@ jobs:
- name: Install fpm
run: gem install --no-document fpm -v 1.11.0
- name: Download Collector Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: bin/
Expand All @@ -501,7 +501,7 @@ jobs:
./internal/buildscripts/packaging/fpm/test.sh dist/otel-contrib-collector*x86_64.rpm examples/demo/otel-collector-config.yaml
fi
- name: Upload Packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-packages
path: ./dist/*
Expand All @@ -514,7 +514,7 @@ jobs:
with:
fetch-depth: 0
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: ./bin/
Expand All @@ -536,7 +536,7 @@ jobs:
- name: Validate MSI
run: .\internal\buildscripts\packaging\msi\make.ps1 Confirm-MSI
- name: Upload MSI
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-packages
path: ./dist/*.msi
Expand All @@ -547,12 +547,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: ./bin/
- name: Download Packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-packages
path: ./dist/
Expand Down Expand Up @@ -588,13 +588,13 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
- name: Download Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: ./bin/
- run: chmod +x bin/*
- name: Download Packages
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-packages
path: ./dist/
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Build Collector
run: make otelcontribcol
- name: Upload Collector Binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-binary
path: ./bin/*
Expand All @@ -64,7 +64,7 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make -j2 gomoddownload
- name: Download Collector Binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binary
path: bin/
Expand All @@ -76,7 +76,7 @@ jobs:
run: |
docker save otelcontribcol:latest > /tmp/otelcontribcol.tar
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: otelcontribcol
path: /tmp/otelcontribcol.tar
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
run: |
kubectl get csr -o=jsonpath='{range.items[?(@.spec.signerName=="kubernetes.io/kubelet-serving")]}{.metadata.name}{" "}{end}' | xargs kubectl certificate approve
- name: Download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: otelcontribcol
path: /tmp
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
if: steps.go-cache.outputs.cache-hit != 'true'
run: make -j2 gomoddownload
- name: Download Collector Binary
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binary
path: bin/
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
run: make install-tools
- run: make oteltestbedcol
- name: Upload Collector Binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: collector-binaries
path: ./bin/*
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
run: make install-tools
- run: mkdir -p results && touch results/TESTRESULTS.md
- name: Download Collector Binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: collector-binaries
path: bin/
Expand All @@ -103,12 +103,12 @@ jobs:
- name: Upload Test Results
if: ${{ failure() || success() }}
continue-on-error: true
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ./*.tar
- run: cp testbed/tests/results/benchmarks.json testbed/tests/results/${{steps.filename.outputs.name}}.json
- name: Upload benchmarks.json
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: benchmark-results
path: testbed/tests/results/${{steps.filename.outputs.name}}.json
Expand All @@ -123,7 +123,7 @@ jobs:
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: benchmark-results
path: results
Expand Down
Loading