From 4f807f478504c7847ec4c4804d809264ba19f4b6 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 19 Dec 2023 07:16:32 -0800
Subject: [PATCH] Update github-actions deps (major) (#30091)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
|
[actions/download-artifact](https://togithub.com/actions/download-artifact)
| action | major | `v3` -> `v4` |
|
[actions/upload-artifact](https://togithub.com/actions/upload-artifact)
| action | major | `v3` -> `v4` |
| [ubuntu](https://togithub.com/actions/runner-images) | github-runner |
major | `20.04` -> `22.04` |
---
### Release Notes
actions/download-artifact (actions/download-artifact)
###
[`v4`](https://togithub.com/actions/download-artifact/compare/v3...v4)
[Compare
Source](https://togithub.com/actions/download-artifact/compare/v3...v4)
actions/upload-artifact (actions/upload-artifact)
### [`v4`](https://togithub.com/actions/upload-artifact/compare/v3...v4)
[Compare
Source](https://togithub.com/actions/upload-artifact/compare/v3...v4)
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
.github/workflows/build-and-test.yml | 24 ++++++++++++------------
.github/workflows/e2e-tests.yml | 10 +++++-----
.github/workflows/load-tests.yml | 10 +++++-----
3 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml
index a5abc171849c..4499a7ab3770 100644
--- a/.github/workflows/build-and-test.yml
+++ b/.github/workflows/build-and-test.yml
@@ -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
@@ -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
@@ -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
@@ -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/
@@ -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/*
@@ -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/
@@ -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
@@ -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/
@@ -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/
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
index 2effce78592e..413ec78c1481 100644
--- a/.github/workflows/e2e-tests.yml
+++ b/.github/workflows/e2e-tests.yml
@@ -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/*
@@ -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/
@@ -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
@@ -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
@@ -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/
diff --git a/.github/workflows/load-tests.yml b/.github/workflows/load-tests.yml
index 4e06e861d475..745b7bcbc3ac 100644
--- a/.github/workflows/load-tests.yml
+++ b/.github/workflows/load-tests.yml
@@ -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/*
@@ -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/
@@ -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
@@ -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