Skip to content

Commit

Permalink
[chore] Pin CI runners to ubuntu-24.04 (#5736)
Browse files Browse the repository at this point in the history
For consistency with other jobs where we want to avoid surprises when new ubuntu is released
  • Loading branch information
dmitryax authored Dec 20, 2024
1 parent 0394b02 commit f15767c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
ContributorLicenseAgreement:
if: github.repository == 'signalfx/splunk-otel-collector'
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: "CLA Assistant"
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-closed-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
cleanup:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nomad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
test:
timeout-minutes: 30
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
nomad: [ "1.6.10-1", "1.7.7-1" ]
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/splunk-ta-otel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ env:
jobs:
setup-environment:
name: setup-environment
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand All @@ -42,7 +42,7 @@ jobs:
test:
name: test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [setup-environment]
steps:
- name: Check out the codebase.
Expand All @@ -62,7 +62,7 @@ jobs:
check_changes:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
ta_packaging_change: ${{ steps.filter.outputs.ta_packaging_change }}
ta_workflow_change: ${{ steps.filter.outputs.ta_workflow_change }}
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
distribute-ta:
name: "distribute-ta" # what gets run to package in gitlab
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [setup-environment, check_changes]
if: needs.check_changes.outputs.ta_packaging_change == 'true' || needs.check_changes.outputs.ta_workflow_change == 'true'
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/vuln-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
image: "otelcol-windows:latest"

check-snyk-token:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
has-snyk-token: ${{ steps.snyk-token-check.outputs.defined }}
steps:
Expand All @@ -216,7 +216,7 @@ jobs:
fi
snyk-fs-scan:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: check-snyk-token
if: ${{ needs.check-snyk-token.outputs.has-snyk-token == 'true' }}
steps:
Expand All @@ -235,7 +235,7 @@ jobs:
sarif_file: snyk.sarif

snyk-docker-scan:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: [docker-otelcol, check-snyk-token]
if: ${{ needs.check-snyk-token.outputs.has-snyk-token == 'true' }}
strategy:
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
sarif_file: snyk.sarif

govulncheck:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- name: Checkout Repo
Expand Down

0 comments on commit f15767c

Please sign in to comment.