Skip to content

Commit f15767c

Browse files
authored
[chore] Pin CI runners to ubuntu-24.04 (#5736)
For consistency with other jobs where we want to avoid surprises when new ubuntu is released
1 parent 0394b02 commit f15767c

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/cla.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
ContributorLicenseAgreement:
1616
if: github.repository == 'signalfx/splunk-otel-collector'
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1818
steps:
1919
- name: "CLA Assistant"
2020
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'

.github/workflows/cleanup-closed-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
cleanup:
10-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Check out code
1313
uses: actions/checkout@v4

.github/workflows/nomad.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
test:
2323
timeout-minutes: 30
2424
name: Test
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04
2626
strategy:
2727
matrix:
2828
nomad: [ "1.6.10-1", "1.7.7-1" ]

.github/workflows/splunk-ta-otel.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
jobs:
2525
setup-environment:
2626
name: setup-environment
27-
runs-on: ubuntu-latest
27+
runs-on: ubuntu-24.04
2828
steps:
2929
- name: Check out the codebase.
3030
uses: actions/checkout@v4
@@ -42,7 +42,7 @@ jobs:
4242
4343
test:
4444
name: test
45-
runs-on: ubuntu-latest
45+
runs-on: ubuntu-24.04
4646
needs: [setup-environment]
4747
steps:
4848
- name: Check out the codebase.
@@ -62,7 +62,7 @@ jobs:
6262
6363
6464
check_changes:
65-
runs-on: ubuntu-latest
65+
runs-on: ubuntu-24.04
6666
outputs:
6767
ta_packaging_change: ${{ steps.filter.outputs.ta_packaging_change }}
6868
ta_workflow_change: ${{ steps.filter.outputs.ta_workflow_change }}
@@ -95,7 +95,7 @@ jobs:
9595
9696
distribute-ta:
9797
name: "distribute-ta" # what gets run to package in gitlab
98-
runs-on: ubuntu-latest
98+
runs-on: ubuntu-24.04
9999
needs: [setup-environment, check_changes]
100100
if: needs.check_changes.outputs.ta_packaging_change == 'true' || needs.check_changes.outputs.ta_workflow_change == 'true'
101101
steps:

.github/workflows/vuln-scans.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202
image: "otelcol-windows:latest"
203203

204204
check-snyk-token:
205-
runs-on: ubuntu-latest
205+
runs-on: ubuntu-24.04
206206
outputs:
207207
has-snyk-token: ${{ steps.snyk-token-check.outputs.defined }}
208208
steps:
@@ -216,7 +216,7 @@ jobs:
216216
fi
217217
218218
snyk-fs-scan:
219-
runs-on: ubuntu-latest
219+
runs-on: ubuntu-24.04
220220
needs: check-snyk-token
221221
if: ${{ needs.check-snyk-token.outputs.has-snyk-token == 'true' }}
222222
steps:
@@ -235,7 +235,7 @@ jobs:
235235
sarif_file: snyk.sarif
236236

237237
snyk-docker-scan:
238-
runs-on: ubuntu-latest
238+
runs-on: ubuntu-24.04
239239
needs: [docker-otelcol, check-snyk-token]
240240
if: ${{ needs.check-snyk-token.outputs.has-snyk-token == 'true' }}
241241
strategy:
@@ -268,7 +268,7 @@ jobs:
268268
sarif_file: snyk.sarif
269269

270270
govulncheck:
271-
runs-on: ubuntu-latest
271+
runs-on: ubuntu-24.04
272272
timeout-minutes: 30
273273
steps:
274274
- name: Checkout Repo

0 commit comments

Comments
 (0)