Skip to content
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
2 changes: 1 addition & 1 deletion .github/actions/breeze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
default: "3.10"
uv-version:
description: 'uv version to use'
default: "0.10.12" # Keep this comment to allow automatic replacement of uv version
default: "0.11.8" # Keep this comment to allow automatic replacement of uv version
outputs:
host-python-version:
description: Python version used in host
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/install-prek/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ inputs:
default: "3.10"
uv-version:
description: 'uv version to use'
default: "0.10.12" # Keep this comment to allow automatic replacement of uv version
default: "0.11.8" # Keep this comment to allow automatic replacement of uv version
prek-version:
description: 'prek version to use'
default: "0.3.6" # Keep this comment to allow automatic replacement of prek version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/basic-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ on: # yamllint disable-line rule:truthy
type: string
uv-version:
description: 'uv version to use'
default: "0.10.12" # Keep this comment to allow automatic replacement of uv version
default: "0.11.8" # Keep this comment to allow automatic replacement of uv version
type: string
platform:
description: 'Platform for the build - linux/amd64 or linux/arm64'
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/ci-amd-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ on: # yamllint disable-line rule:truthy
push:
branches:
- v[0-9]+-[0-9]+-test
- chart/v[0-9]+-[0-9]x+-test
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
pull_request:
branches:
- main
- v[0-9]+-[0-9]+-test
- chart/v[0-9]+-[0-9]x+-test
- v[0-9]+-[0-9]+-stable
- chart/v[0-9]+-[0-9]x+-stable
- providers-[a-z]+-?[a-z]*/v[0-9]+-[0-9]+
types: [opened, reopened, synchronize, ready_for_review]
workflow_dispatch:
Expand All @@ -40,7 +43,7 @@ env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_USERNAME: ${{ github.actor }}
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
UV_VERSION: "0.10.12" # Keep this comment to allow automatic replacement of uv version
UV_VERSION: "0.11.8" # Keep this comment to allow automatic replacement of uv version
VERBOSE: "true"

concurrency:
Expand Down Expand Up @@ -710,7 +713,9 @@ jobs:
permissions:
contents: read
packages: read
if: needs.build-info.outputs.run-unit-tests == 'true'
if: >
needs.build-info.outputs.skip-providers-tests != 'true' &&
needs.build-info.outputs.run-unit-tests == 'true'
with:
runners: ${{ needs.build-info.outputs.runner-type }}
platform: ${{ needs.build-info.outputs.platform }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_dockerhub_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
AIRFLOW_VERSION: ${{ github.event.inputs.airflowVersion }}
AMD_ONLY: ${{ github.event.inputs.amdOnly }}
LIMIT_PYTHON_VERSIONS: ${{ github.event.inputs.limitPythonVersions }}
UV_VERSION: "0.10.12" # Keep this comment to allow automatic replacement of uv version
UV_VERSION: "0.11.8" # Keep this comment to allow automatic replacement of uv version
if: contains(fromJSON('[
"ashb",
"bugraoz93",
Expand Down
8 changes: 6 additions & 2 deletions dev/breeze/src/airflow_breeze/utils/selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,11 @@ def run_ui_tests(self) -> bool:

@cached_property
def run_ui_e2e_tests(self) -> bool:
return self._should_be_run(FileGroupForCi.UI_FILES)
return (
self._should_be_run(FileGroupForCi.UI_FILES)
and self._default_branch != "main"
and (not self._default_branch.startswith("chart/v1-2x"))
)

@cached_property
def run_remote_logging_s3_e2e_tests(self) -> bool:
Expand Down Expand Up @@ -1468,7 +1472,7 @@ def skip_prek_hooks(self) -> str:

@cached_property
def skip_providers_tests(self) -> bool:
if self._default_branch != "main":
if self._default_branch != "main" or (not self._default_branch.startswith("chart/v1-2x")):
return True
if self.full_tests_needed:
return False
Expand Down
32 changes: 16 additions & 16 deletions dev/breeze/tests/test_selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
),
"run-mypy": "true",
"mypy-checks": "['mypy-providers']",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
},
id="Selected Providers should run when system tests are modified",
)
Expand Down Expand Up @@ -523,7 +523,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
),
"run-mypy": "true",
"mypy-checks": "['mypy-providers']",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
},
id="Selected Providers and docs should run when both system tests and tests are modified",
)
Expand Down Expand Up @@ -570,7 +570,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
),
"run-mypy": "true",
"mypy-checks": "['mypy-providers']",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
},
id="Selected Providers and docs should run when both system tests and tests are modified for more than one provider",
)
Expand Down Expand Up @@ -620,7 +620,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
"docs-build": "true",
"full-tests-needed": "false",
"skip-prek-hooks": ALL_SKIPPED_COMMITS_IF_NO_PROVIDERS_UI_AND_HELM_TESTS,
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"upgrade-to-newer-dependencies": "false",
"core-test-types-list-as-strings-in-json": ALL_CI_SELECTIVE_TEST_TYPES_AS_JSON,
"providers-test-types-list-as-strings-in-json": ALL_PROVIDERS_SELECTIVE_TEST_TYPES_AS_JSON,
Expand Down Expand Up @@ -1148,7 +1148,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
"python-versions": f"['{DEFAULT_PYTHON_MAJOR_MINOR_VERSION}']",
"python-versions-list-as-string": DEFAULT_PYTHON_MAJOR_MINOR_VERSION,
"ci-image-build": "true",
"prod-image-build": "true",
"prod-image-build": "false",
"docs-build": "false",
"full-tests-needed": "false",
"skip-prek-hooks": ALL_SKIPPED_COMMITS_IF_NO_CODE_PROVIDERS_AND_HELM_TESTS,
Expand All @@ -1157,7 +1157,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
"mypy-checks": "[]",
"run-helm-tests": "false",
"run-ui-tests": "true",
"run-ui-e2e-tests": "true",
"run-ui-e2e-tests": "false",
"run-unit-tests": "false",
"run-go-sdk-tests": "false",
"run-airflow-ctl-tests": "false",
Expand Down Expand Up @@ -1466,7 +1466,7 @@ def test_full_test_needed_when_scripts_changes(files: tuple[str, ...], expected_
"ci-image-build": "true",
"prod-image-build": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": ALL_DOCS_SELECTED_FOR_BUILD,
"full-tests-needed": "true",
Expand Down Expand Up @@ -1501,7 +1501,7 @@ def test_full_test_needed_when_scripts_changes(files: tuple[str, ...], expected_
"ci-image-build": "true",
"prod-image-build": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": ALL_DOCS_SELECTED_FOR_BUILD,
"full-tests-needed": "true",
Expand Down Expand Up @@ -1536,7 +1536,7 @@ def test_full_test_needed_when_scripts_changes(files: tuple[str, ...], expected_
"ci-image-build": "true",
"prod-image-build": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": ALL_DOCS_SELECTED_FOR_BUILD,
"full-tests-needed": "true",
Expand Down Expand Up @@ -1571,7 +1571,7 @@ def test_full_test_needed_when_scripts_changes(files: tuple[str, ...], expected_
"ci-image-build": "true",
"prod-image-build": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": ALL_DOCS_SELECTED_FOR_BUILD,
"full-tests-needed": "true",
Expand Down Expand Up @@ -1607,7 +1607,7 @@ def test_full_test_needed_when_scripts_changes(files: tuple[str, ...], expected_
"ci-image-build": "true",
"prod-image-build": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": ALL_DOCS_SELECTED_FOR_BUILD,
"full-tests-needed": "true",
Expand Down Expand Up @@ -1643,7 +1643,7 @@ def test_full_test_needed_when_scripts_changes(files: tuple[str, ...], expected_
"ci-image-build": "true",
"prod-image-build": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": ALL_DOCS_SELECTED_FOR_BUILD,
"full-tests-needed": "true",
Expand Down Expand Up @@ -1676,7 +1676,7 @@ def test_full_test_needed_when_scripts_changes(files: tuple[str, ...], expected_
"ci-image-build": "true",
"prod-image-build": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": ALL_DOCS_SELECTED_FOR_BUILD,
"full-tests-needed": "true",
Expand Down Expand Up @@ -2020,7 +2020,7 @@ def test_expected_output_push(
"prod-image-build": "true",
"run-helm-tests": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": "apache-airflow helm-chart amazon apache.cassandra "
"apache.kafka cncf.kubernetes common.compat common.messaging common.sql databricks facebook google hashicorp http microsoft.azure "
Expand Down Expand Up @@ -2081,7 +2081,7 @@ def test_expected_output_push(
"ci-image-build": "true",
"run-helm-tests": "true",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "true",
"docs-list-as-string": "",
"upgrade-to-newer-dependencies": "false",
Expand Down Expand Up @@ -2109,7 +2109,7 @@ def test_expected_output_push(
"prod-image-build": "false",
"run-helm-tests": "false",
"run-unit-tests": "true",
"skip-providers-tests": "false",
"skip-providers-tests": "true",
"docs-build": "false",
"skip-prek-hooks": ALL_SKIPPED_COMMITS_ON_NO_CI_IMAGE,
"run-kubernetes-tests": "false",
Expand Down
2 changes: 1 addition & 1 deletion scripts/tools/setup_breeze
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COLOR_YELLOW=$'\e[33m'
COLOR_BLUE=$'\e[34m'
COLOR_RESET=$'\e[0m'

UV_VERSION="0.10.12"
UV_VERSION="0.11.8"

function manual_instructions() {
echo
Expand Down
Loading