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

[chore] Upgrade ubuntu CI runners #5665

Merged
merged 1 commit into from
Dec 3, 2024
Merged
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
7 changes: 3 additions & 4 deletions .github/workflows/auto-instrumentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ env:

jobs:
cross-compile:
# 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-24.04
strategy:
matrix:
SYS_BINARIES: [ "binaries-linux_amd64", "binaries-linux_arm64" ]
Expand All @@ -53,7 +52,7 @@ jobs:
./bin/*

build-package:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
SYS_PACKAGE: [ "deb", "rpm" ]
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:
path: ./instrumentation/dist/*.${{ matrix.SYS_PACKAGE }}

test-package-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/bosh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:

test:
name: Test Bosh Release Creation
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand Down
24 changes: 8 additions & 16 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ env:
jobs:
setup-environment:
name: setup-environment
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand All @@ -48,8 +47,7 @@ jobs:

tidy:
name: tidy
# 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-24.04
needs: [setup-environment]
steps:
- name: Check out the codebase.
Expand All @@ -72,8 +70,7 @@ jobs:

gofmt:
name: gofmt
# 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-24.04
needs: [setup-environment]
steps:
- name: Check out the codebase.
Expand All @@ -96,8 +93,7 @@ jobs:

generate-metrics:
name: generate-metrics
# 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-24.04
needs: [setup-environment]
steps:
- name: Check out the codebase.
Expand All @@ -122,8 +118,7 @@ jobs:

lint:
name: lint
# 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-24.04
needs: [setup-environment]
steps:
- name: Check out the codebase.
Expand All @@ -149,8 +144,7 @@ jobs:

test:
name: test
# 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-24.04
needs: [setup-environment]
steps:
- name: Check out the codebase.
Expand Down Expand Up @@ -186,8 +180,7 @@ jobs:

coverage:
name: coverage
# 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-24.04
needs: [setup-environment]
steps:
- name: Check out the codebase.
Expand All @@ -212,8 +205,7 @@ jobs:

cross-compile:
name: cross-compile
# 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-24.04
needs: [setup-environment]
strategy:
matrix:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cloudfoundry_buildpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ jobs:

test:
name: Test buildpack supplies required dependencies
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gendependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
gendependabot:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/installer-script-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:

jobs:
installer-test-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ env:
GO_VERSION: "1.22.7"
jobs:
agent-bundle-linux:
runs-on: ${{ fromJSON('["ubuntu-20.04", "otel-arm64"]')[matrix.ARCH == 'arm64'] }}
runs-on: ${{ fromJSON('["ubuntu-24.04", "otel-arm64"]')[matrix.ARCH == 'arm64'] }}
strategy:
matrix:
ARCH: [ "amd64", "arm64" ]
Expand All @@ -53,7 +53,7 @@ jobs:
path: ./dist/agent-bundle_linux_${{ matrix.ARCH }}.tar.gz

otelcol:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
matrix:
ARCH: [ "amd64", "arm64", "ppc64le" ]
Expand All @@ -74,8 +74,7 @@ jobs:

docker-otelcol:
name: docker-otelcol
# 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-24.04
needs: [ "agent-bundle-linux", "otelcol" ]
services:
# Start a local registry for pushing the multiarch manifest and images
Expand Down Expand Up @@ -139,8 +138,7 @@ jobs:

integration-vet:
name: integration-vet
# 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-24.04
strategy:
matrix:
ARCH: [ "amd64", "arm64" ]
Expand Down Expand Up @@ -175,8 +173,7 @@ jobs:
SPLUNK_OTEL_COLLECTOR_IMAGE: 'otelcol:latest'

integration-test-docker:
# 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-24.04
needs: [ "docker-otelcol", "otelcol" ]
strategy:
matrix:
Expand Down Expand Up @@ -333,7 +330,7 @@ jobs:
retention-days: 5

integration-test-discovery-matrix:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
outputs:
matrix: ${{ steps.get-matrix.outputs.matrix }}
steps:
Expand All @@ -359,7 +356,7 @@ jobs:

integration-test-discovery:
name: integration-test-discovery
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [ "docker-otelcol", "otelcol", "integration-test-discovery-matrix" ]
strategy:
matrix: ${{ fromJSON(needs.integration-test-discovery-matrix.outputs.matrix) }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ env:
jobs:
lint:
name: lint
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand Down
17 changes: 6 additions & 11 deletions .github/workflows/linux-package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ env:

jobs:
setup-environment:
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand All @@ -43,8 +42,7 @@ jobs:
make install-tools

cross-compile:
# 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-24.04
needs: [setup-environment]
strategy:
matrix:
Expand Down Expand Up @@ -97,8 +95,7 @@ jobs:
path: ./dist/agent-bundle_linux_${{ matrix.ARCH }}.tar.gz

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-24.04
needs: [cross-compile, agent-bundle-linux]
strategy:
matrix:
Expand Down Expand Up @@ -138,7 +135,7 @@ jobs:
path: ./dist/splunk-otel-collector*

test-package-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -239,8 +236,7 @@ jobs:
packaging/tests/package_test.py

docker-otelcol:
# 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-24.04
needs: [cross-compile, agent-bundle-linux]
steps:
# Multiarch images require more disk space
Expand Down Expand Up @@ -312,8 +308,7 @@ jobs:
path: ./docker-otelcol

docker-otelcol-verify:
# 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-24.04
needs: [docker-otelcol]
strategy:
matrix:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lychee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ on:

jobs:
linkChecker:
# 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-24.04
steps:
- uses: actions/checkout@v4
- name: lychee Link Checker
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/puppet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ env:
jobs:
puppet-lint:
name: puppet-lint
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand All @@ -46,8 +45,7 @@ jobs:

puppet-rake-spec:
name: puppet-rake-spec
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand All @@ -57,7 +55,7 @@ jobs:
make -C deployments/puppet rake-spec

puppet-test-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/puppet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ permissions:
jobs:
push-release-tag:
name: Push Release Tag
# 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-24.04
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
install-requirements:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/salt-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ env:
jobs:
salt-lint-test:
name: salt-lint-test
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand All @@ -43,7 +42,7 @@ jobs:
make -C deployments/salt lint

salt-test-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/tanzu-tile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:

test:
name: Test Tanzu Tile creation
# 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-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand Down
Loading
Loading