Skip to content

Commit 83dba91

Browse files
authoredJan 22, 2025··
ci: use ubuntu-24.04 explicitly (resolves CI warnings) (#244)
1 parent ce1074b commit 83dba91

10 files changed

+24
-20
lines changed
 

‎.github/workflows/connector-tests.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ concurrency:
2525
jobs:
2626
cdk_changes:
2727
name: Get Changes
28-
runs-on: ubuntu-latest
28+
runs-on: ubuntu-24.04
2929
permissions:
3030
statuses: write
3131
pull-requests: read
@@ -62,7 +62,7 @@ jobs:
6262
# Forked PRs are handled by the community_ci.yml workflow
6363
# If the condition is not met the job will be skipped (it will not fail)
6464
# runs-on: connector-test-large
65-
runs-on: ubuntu-latest
65+
runs-on: ubuntu-24.04
6666
timeout-minutes: 360 # 6 hours
6767
strategy:
6868
fail-fast: false
@@ -123,6 +123,10 @@ jobs:
123123
repository: airbytehq/airbyte
124124
ref: master
125125
path: airbyte
126+
- name: Set up Python
127+
uses: actions/setup-python@v5
128+
with:
129+
python-version: "3.10"
126130
- name: Test Connector
127131
if: steps.no_changes.outputs.status != 'cancelled'
128132
timeout-minutes: 90
@@ -131,7 +135,7 @@ jobs:
131135
POETRY_DYNAMIC_VERSIONING_BYPASS: "0.0.0"
132136
run: |
133137
cd airbyte
134-
make tools.airbyte-ci-binary.install
138+
make tools.airbyte-ci-dev.install
135139
airbyte-ci \
136140
--ci-report-bucket-name=airbyte-ci-reports-multi \
137141
connectors \

‎.github/workflows/pdoc_preview.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
preview_docs:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212

1313
steps:
1414
- name: Checkout code

‎.github/workflows/pdoc_publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222

2323
jobs:
2424
publish_docs:
25-
runs-on: ubuntu-latest
25+
runs-on: ubuntu-24.04
2626
environment:
2727
name: "github-pages"
2828
url: ${{ steps.deployment.outputs.page_url }}

‎.github/workflows/pypi_publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ on:
3535
jobs:
3636
build:
3737
name: Build Python Package
38-
runs-on: ubuntu-latest
38+
runs-on: ubuntu-24.04
3939
steps:
4040
- name: Detect Release Tag Version
4141
if: startsWith(github.ref, 'refs/tags/v')
@@ -107,7 +107,7 @@ jobs:
107107

108108
publish_cdk:
109109
name: Publish CDK version to PyPI
110-
runs-on: ubuntu-latest
110+
runs-on: ubuntu-24.04
111111
needs: [build]
112112
permissions:
113113
id-token: write
@@ -156,7 +156,7 @@ jobs:
156156
(github.event_name == 'workflow_dispatch' &&
157157
github.event.inputs.publish_to_dockerhub == 'true'
158158
)
159-
runs-on: ubuntu-latest
159+
runs-on: ubuntu-24.04
160160
needs: [build]
161161
environment:
162162
name: DockerHub
@@ -257,7 +257,7 @@ jobs:
257257
env:
258258
VERSION: ${{ needs.build.outputs.VERSION }}
259259
IS_PRERELEASE: ${{ needs.build.outputs.IS_PRERELEASE }}
260-
runs-on: ubuntu-latest
260+
runs-on: ubuntu-24.04
261261
steps:
262262
- uses: actions/setup-python@v5
263263
with:

‎.github/workflows/pytest_fast.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
test-build:
1111
name: Build and Inspect Python Package
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
steps:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
@@ -36,7 +36,7 @@ jobs:
3636
3737
pytest-fast:
3838
name: Pytest (Fast)
39-
runs-on: ubuntu-latest
39+
runs-on: ubuntu-24.04
4040
steps:
4141
# Common steps:
4242
- name: Checkout code

‎.github/workflows/python_lint.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
ruff-lint-check:
1111
name: Ruff Lint Check
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-24.04
1313
steps:
1414
# Common steps:
1515
- name: Checkout code
@@ -32,7 +32,7 @@ jobs:
3232

3333
ruff-format-check:
3434
name: Ruff Format Check
35-
runs-on: ubuntu-latest
35+
runs-on: ubuntu-24.04
3636
steps:
3737
# Common steps:
3838
- name: Checkout code
@@ -55,7 +55,7 @@ jobs:
5555

5656
mypy-check:
5757
name: MyPy Check
58-
runs-on: ubuntu-latest
58+
runs-on: ubuntu-24.04
5959
steps:
6060
# Common steps:
6161
- name: Checkout code

‎.github/workflows/release_drafter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
permissions:
1717
contents: write
1818
pull-requests: write
19-
runs-on: ubuntu-latest
19+
runs-on: ubuntu-24.04
2020
steps:
2121
# Drafts the next Release notes as Pull Requests are merged into "main"
2222
- uses: release-drafter/release-drafter@v6

‎.github/workflows/semantic_pr_check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414
jobs:
1515
validate_pr_title:
1616
name: Validate PR title
17-
runs-on: ubuntu-latest
17+
runs-on: ubuntu-24.04
1818
steps:
1919
- uses: amannn/action-semantic-pull-request@v5
2020
if: ${{ github.event.pull_request.draft == false }}

‎.github/workflows/slash_command_dispatch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
slashCommandDispatch:
99
# Only allow slash commands on pull request (not on issues)
1010
if: ${{ github.event.issue.pull_request }}
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Slash Command Dispatch
1414
id: dispatch

‎.github/workflows/test-command.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
start-workflow:
1717
name: Append 'Starting' Comment
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Get PR JSON
2121
id: pr-info
@@ -127,7 +127,7 @@ jobs:
127127
log-success-comment:
128128
name: Append 'Success' Comment
129129
needs: [pytest-on-demand]
130-
runs-on: ubuntu-latest
130+
runs-on: ubuntu-24.04
131131
steps:
132132
- name: Append success comment
133133
uses: peter-evans/create-or-update-comment@v4
@@ -143,7 +143,7 @@ jobs:
143143
# This job will only run if the workflow fails
144144
needs: [pytest-on-demand, start-workflow]
145145
if: always() && needs.pytest-on-demand.result == 'failure'
146-
runs-on: ubuntu-latest
146+
runs-on: ubuntu-24.04
147147
steps:
148148
- name: Append failure comment
149149
uses: peter-evans/create-or-update-comment@v4

0 commit comments

Comments
 (0)
Please sign in to comment.