diff --git a/.github/workflows/connector-tests.yml b/.github/workflows/connector-tests.yml index aecc3e9d6..b4e02fecb 100644 --- a/.github/workflows/connector-tests.yml +++ b/.github/workflows/connector-tests.yml @@ -25,7 +25,7 @@ concurrency: jobs: cdk_changes: name: Get Changes - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: statuses: write pull-requests: read @@ -62,7 +62,7 @@ jobs: # Forked PRs are handled by the community_ci.yml workflow # If the condition is not met the job will be skipped (it will not fail) # runs-on: connector-test-large - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 timeout-minutes: 360 # 6 hours strategy: fail-fast: false @@ -123,6 +123,10 @@ jobs: repository: airbytehq/airbyte ref: master path: airbyte + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.10" - name: Test Connector if: steps.no_changes.outputs.status != 'cancelled' timeout-minutes: 90 @@ -131,7 +135,7 @@ jobs: POETRY_DYNAMIC_VERSIONING_BYPASS: "0.0.0" run: | cd airbyte - make tools.airbyte-ci-binary.install + make tools.airbyte-ci-dev.install airbyte-ci \ --ci-report-bucket-name=airbyte-ci-reports-multi \ connectors \ diff --git a/.github/workflows/pdoc_preview.yml b/.github/workflows/pdoc_preview.yml index 3a7f6b254..58b703732 100644 --- a/.github/workflows/pdoc_preview.yml +++ b/.github/workflows/pdoc_preview.yml @@ -8,7 +8,7 @@ on: jobs: preview_docs: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout code diff --git a/.github/workflows/pdoc_publish.yml b/.github/workflows/pdoc_publish.yml index 0af8fe4eb..ffe9d7b61 100644 --- a/.github/workflows/pdoc_publish.yml +++ b/.github/workflows/pdoc_publish.yml @@ -22,7 +22,7 @@ concurrency: jobs: publish_docs: - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 environment: name: "github-pages" url: ${{ steps.deployment.outputs.page_url }} diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index 302532051..6a6781c26 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -35,7 +35,7 @@ on: jobs: build: name: Build Python Package - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Detect Release Tag Version if: startsWith(github.ref, 'refs/tags/v') @@ -107,7 +107,7 @@ jobs: publish_cdk: name: Publish CDK version to PyPI - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: [build] permissions: id-token: write @@ -156,7 +156,7 @@ jobs: (github.event_name == 'workflow_dispatch' && github.event.inputs.publish_to_dockerhub == 'true' ) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 needs: [build] environment: name: DockerHub @@ -257,7 +257,7 @@ jobs: env: VERSION: ${{ needs.build.outputs.VERSION }} IS_PRERELEASE: ${{ needs.build.outputs.IS_PRERELEASE }} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/setup-python@v5 with: diff --git a/.github/workflows/pytest_fast.yml b/.github/workflows/pytest_fast.yml index 2beebb950..7bd5dc5be 100644 --- a/.github/workflows/pytest_fast.yml +++ b/.github/workflows/pytest_fast.yml @@ -9,7 +9,7 @@ on: jobs: test-build: name: Build and Inspect Python Package - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Checkout code uses: actions/checkout@v4 @@ -36,7 +36,7 @@ jobs: pytest-fast: name: Pytest (Fast) - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # Common steps: - name: Checkout code diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index f92ae7f0d..a7f9ffae7 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -9,7 +9,7 @@ on: jobs: ruff-lint-check: name: Ruff Lint Check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # Common steps: - name: Checkout code @@ -32,7 +32,7 @@ jobs: ruff-format-check: name: Ruff Format Check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # Common steps: - name: Checkout code @@ -55,7 +55,7 @@ jobs: mypy-check: name: MyPy Check - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # Common steps: - name: Checkout code diff --git a/.github/workflows/release_drafter.yml b/.github/workflows/release_drafter.yml index 5996860e3..9d058c7b5 100644 --- a/.github/workflows/release_drafter.yml +++ b/.github/workflows/release_drafter.yml @@ -16,7 +16,7 @@ jobs: permissions: contents: write pull-requests: write - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: # Drafts the next Release notes as Pull Requests are merged into "main" - uses: release-drafter/release-drafter@v6 diff --git a/.github/workflows/semantic_pr_check.yml b/.github/workflows/semantic_pr_check.yml index e738d428b..38e1ffb1e 100644 --- a/.github/workflows/semantic_pr_check.yml +++ b/.github/workflows/semantic_pr_check.yml @@ -14,7 +14,7 @@ permissions: jobs: validate_pr_title: name: Validate PR title - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: amannn/action-semantic-pull-request@v5 if: ${{ github.event.pull_request.draft == false }} diff --git a/.github/workflows/slash_command_dispatch.yml b/.github/workflows/slash_command_dispatch.yml index cb889cdaf..b8bb8b148 100644 --- a/.github/workflows/slash_command_dispatch.yml +++ b/.github/workflows/slash_command_dispatch.yml @@ -8,7 +8,7 @@ jobs: slashCommandDispatch: # Only allow slash commands on pull request (not on issues) if: ${{ github.event.issue.pull_request }} - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Slash Command Dispatch id: dispatch diff --git a/.github/workflows/test-command.yml b/.github/workflows/test-command.yml index 47023436f..e623759af 100644 --- a/.github/workflows/test-command.yml +++ b/.github/workflows/test-command.yml @@ -15,7 +15,7 @@ on: jobs: start-workflow: name: Append 'Starting' Comment - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Get PR JSON id: pr-info @@ -127,7 +127,7 @@ jobs: log-success-comment: name: Append 'Success' Comment needs: [pytest-on-demand] - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Append success comment uses: peter-evans/create-or-update-comment@v4 @@ -143,7 +143,7 @@ jobs: # This job will only run if the workflow fails needs: [pytest-on-demand, start-workflow] if: always() && needs.pytest-on-demand.result == 'failure' - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - name: Append failure comment uses: peter-evans/create-or-update-comment@v4