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 fba05db438 Add back envvars for mysql and postgres version options (#36914) fba05db438 is described below commit fba05db43808c54dfb8c9e9835cfa3ecff9bb73e Author: Jarek Potiuk <ja...@potiuk.com> AuthorDate: Fri Jan 19 18:50:15 2024 +0100 Add back envvars for mysql and postgres version options (#36914) It turned out that for quite a while we had not run backend tests for different versions of backends because the options were defined without envvars. Still tracking how long it was like that, but this PR should bring tests for the different backend versions back. --- dev/breeze/src/airflow_breeze/commands/common_options.py | 2 ++ images/breeze/output_setup_config.txt | 2 +- images/breeze/output_shell.txt | 2 +- images/breeze/output_start-airflow.txt | 2 +- images/breeze/output_testing_db-tests.txt | 2 +- images/breeze/output_testing_integration-tests.txt | 2 +- images/breeze/output_testing_tests.txt | 2 +- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/dev/breeze/src/airflow_breeze/commands/common_options.py b/dev/breeze/src/airflow_breeze/commands/common_options.py index 35a46999ab..23bb6795af 100644 --- a/dev/breeze/src/airflow_breeze/commands/common_options.py +++ b/dev/breeze/src/airflow_breeze/commands/common_options.py @@ -246,6 +246,7 @@ option_mysql_version = click.option( help="Version of MySQL used.", type=MySQLBackendVersionType(ALLOWED_MYSQL_VERSIONS), default=CacheableDefault(ALLOWED_MYSQL_VERSIONS[0]), + envvar="MYSQL_VERSION", show_default=True, ) option_installation_package_format = click.option( @@ -269,6 +270,7 @@ option_postgres_version = click.option( "--postgres-version", type=CacheableChoice(ALLOWED_POSTGRES_VERSIONS), default=CacheableDefault(ALLOWED_POSTGRES_VERSIONS[0]), + envvar="POSTGRES_VERSION", show_default=True, help="Version of Postgres used.", ) diff --git a/images/breeze/output_setup_config.txt b/images/breeze/output_setup_config.txt index 323edf81b5..a43b50079f 100644 --- a/images/breeze/output_setup_config.txt +++ b/images/breeze/output_setup_config.txt @@ -1 +1 @@ -d2a3542e375dd07a55385bf545b5e199 +6187dc8325522faac599433a5827bc25 diff --git a/images/breeze/output_shell.txt b/images/breeze/output_shell.txt index 0f3e91992c..32e215ca6b 100644 --- a/images/breeze/output_shell.txt +++ b/images/breeze/output_shell.txt @@ -1 +1 @@ -d0b4fa36683eaa51744c631715f9ffe5 +6cf4c81aee480d434f01d04b0f37b630 diff --git a/images/breeze/output_start-airflow.txt b/images/breeze/output_start-airflow.txt index a2a850044e..2b0f0a1031 100644 --- a/images/breeze/output_start-airflow.txt +++ b/images/breeze/output_start-airflow.txt @@ -1 +1 @@ -4ad796e7308801391d76089841fb3283 +82fb81c651bc48f97bcc080fab22c581 diff --git a/images/breeze/output_testing_db-tests.txt b/images/breeze/output_testing_db-tests.txt index 1700b42b34..50c93a3bf1 100644 --- a/images/breeze/output_testing_db-tests.txt +++ b/images/breeze/output_testing_db-tests.txt @@ -1 +1 @@ -4b0ba29824ebb5cb2580b66ab022067e +fbd4a4c9818167fef8113899d3822683 diff --git a/images/breeze/output_testing_integration-tests.txt b/images/breeze/output_testing_integration-tests.txt index 4ca2b2569b..5b7417b758 100644 --- a/images/breeze/output_testing_integration-tests.txt +++ b/images/breeze/output_testing_integration-tests.txt @@ -1 +1 @@ -6b3936410fc1ef583fc241616ee8252d +a8e0691c0e14846200b0c2db78e505c6 diff --git a/images/breeze/output_testing_tests.txt b/images/breeze/output_testing_tests.txt index 9bf63945be..860f273dc7 100644 --- a/images/breeze/output_testing_tests.txt +++ b/images/breeze/output_testing_tests.txt @@ -1 +1 @@ -93dd0156785e1dd5261b555a278a5ebd +66e0dd3fef7ea97e3c07241c16abaf1a