This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 77912f82a6c Remove AIP-44 related CI configuration and workflows
(#44437)
77912f82a6c is described below
commit 77912f82a6c06a8d99866e0d09a7ebc691238d41
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Nov 28 01:03:17 2024 +0000
Remove AIP-44 related CI configuration and workflows (#44437)
Part of #44436
---
.github/workflows/basic-tests.yml | 6 ------
.github/workflows/ci.yml | 2 --
.github/workflows/run-unit-tests.yml | 6 ------
.github/workflows/special-tests.yml | 25 ----------------------
.../src/airflow_breeze/params/shell_params.py | 1 -
5 files changed, 40 deletions(-)
diff --git a/.github/workflows/basic-tests.yml
b/.github/workflows/basic-tests.yml
index 4276573b95f..e1be44f7de1 100644
--- a/.github/workflows/basic-tests.yml
+++ b/.github/workflows/basic-tests.yml
@@ -56,12 +56,6 @@ on: # yamllint disable-line rule:truthy
description: "Whether to run only latest version checks (true/false)"
required: true
type: string
- enable-aip-44:
- description: "Whether to enable AIP-44 (true/false)"
- required: true
- type: string
-env:
- AIRFLOW_ENABLE_AIP_44: "${{ inputs.enable-aip-44 }}"
jobs:
run-breeze-tests:
timeout-minutes: 10
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e0e1ffd8bf2..bf996018922 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -187,8 +187,6 @@ jobs:
skip-pre-commits: ${{needs.build-info.outputs.skip-pre-commits}}
canary-run: ${{needs.build-info.outputs.canary-run}}
latest-versions-only: ${{needs.build-info.outputs.latest-versions-only}}
- enable-aip-44: "false"
-
build-ci-images:
name: >
${{ needs.build-info.outputs.in-workflow-build == 'true' && 'Build' ||
'Skip building' }}
diff --git a/.github/workflows/run-unit-tests.yml
b/.github/workflows/run-unit-tests.yml
index 8b856808350..26674cbc63e 100644
--- a/.github/workflows/run-unit-tests.yml
+++ b/.github/workflows/run-unit-tests.yml
@@ -106,11 +106,6 @@ on: # yamllint disable-line rule:truthy
required: false
default: "false"
type: string
- enable-aip-44:
- description: "Whether to enable AIP-44 or not (true/false)"
- required: false
- default: "true"
- type: string
force-lowest-dependencies:
description: "Whether to force lowest dependencies for the tests or
not (true/false)"
required: false
@@ -137,7 +132,6 @@ jobs:
exclude: "${{fromJSON(inputs.excludes)}}"
test-group: "${{fromJSON(inputs.test-groups)}}"
env:
- AIRFLOW_ENABLE_AIP_44: "${{ inputs.enable-aip-44 }}"
BACKEND: "${{ inputs.backend }}"
BACKEND_VERSION: "${{ matrix.backend-version }}"
DB_RESET: "true"
diff --git a/.github/workflows/special-tests.yml
b/.github/workflows/special-tests.yml
index 1cf1df579a4..71ff9baeeff 100644
--- a/.github/workflows/special-tests.yml
+++ b/.github/workflows/special-tests.yml
@@ -152,31 +152,6 @@ jobs:
run-coverage: ${{ inputs.run-coverage }}
debug-resources: ${{ inputs.debug-resources }}
- tests-in-progress-disabled:
- name: "In progress disabled test"
- uses: ./.github/workflows/run-unit-tests.yml
- permissions:
- contents: read
- packages: read
- secrets: inherit
- with:
- runs-on-as-json-default: ${{ inputs.runs-on-as-json-default }}
- enable-aip-44: "false"
- test-name: "InProgressDisabled-Postgres"
- test-scope: "All"
- test-groups: ${{ inputs.test-groups }}
- backend: "postgres"
- image-tag: ${{ inputs.image-tag }}
- python-versions: "['${{ inputs.default-python-version }}']"
- backend-versions: "['${{ inputs.default-postgres-version }}']"
- excluded-providers-as-string: ${{ inputs.excluded-providers-as-string }}
- excludes: "[]"
- core-test-types-list-as-string: ${{
inputs.core-test-types-list-as-string }}
- providers-test-types-list-as-string: ${{
inputs.providers-test-types-list-as-string }}
- include-success-outputs: ${{ inputs.include-success-outputs }}
- run-coverage: ${{ inputs.run-coverage }}
- debug-resources: ${{ inputs.debug-resources }}
-
tests-quarantined:
name: "Quarantined test"
uses: ./.github/workflows/run-unit-tests.yml
diff --git a/dev/breeze/src/airflow_breeze/params/shell_params.py
b/dev/breeze/src/airflow_breeze/params/shell_params.py
index 65d98086a9c..b05d28d774a 100644
--- a/dev/breeze/src/airflow_breeze/params/shell_params.py
+++ b/dev/breeze/src/airflow_breeze/params/shell_params.py
@@ -508,7 +508,6 @@ class ShellParams:
_set_var(_env, "AIRFLOW_CONSTRAINTS_LOCATION",
self.airflow_constraints_location)
_set_var(_env, "AIRFLOW_CONSTRAINTS_MODE",
self.airflow_constraints_mode)
_set_var(_env, "AIRFLOW_CONSTRAINTS_REFERENCE",
self.airflow_constraints_reference)
- _set_var(_env, "AIRFLOW_ENABLE_AIP_44", None, "true")
_set_var(_env, "AIRFLOW_ENV", "development")
_set_var(_env, "AIRFLOW_EXTRAS", self.airflow_extras)
_set_var(_env, "AIRFLOW_SKIP_CONSTRAINTS",
self.airflow_skip_constraints)