You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2021/04/22 21:31:41 UTC
[airflow] branch v2-0-stable updated: Fix problem with wrong
constraint name in v2-0-stable branch (#15494)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-0-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-0-stable by this push:
new 88199ee Fix problem with wrong constraint name in v2-0-stable branch (#15494)
88199ee is described below
commit 88199eefccb4c805f8d6527bab5bf600b397c35e
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Thu Apr 22 23:31:17 2021 +0200
Fix problem with wrong constraint name in v2-0-stable branch (#15494)
While cherry-picking docker image changei to v2-0-test, the
value of the arg was wrongly rename (similarly to other parameters) with
`constraintis-2.0` where it should remain as `constraints`.
This is the name of constraint file to use, and it's value might
be either `constraints-no-providers`, `constraints`, or
`constraints-source-providers`.
This change restores proper default of the arg.
Fixes: #15493
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 2a05964..9c9c543 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -161,7 +161,7 @@ ENV AIRFLOW_EXTRAS=${AIRFLOW_EXTRAS}${ADDITIONAL_AIRFLOW_EXTRAS:+,}${ADDITIONAL_
ARG CONSTRAINTS_GITHUB_REPOSITORY="apache/airflow"
ENV CONSTRAINTS_GITHUB_REPOSITORY=${CONSTRAINTS_GITHUB_REPOSITORY}
-ARG AIRFLOW_CONSTRAINTS="constraints-2.0"
+ARG AIRFLOW_CONSTRAINTS="constraints"
ENV AIRFLOW_CONSTRAINTS=${AIRFLOW_CONSTRAINTS}
ARG AIRFLOW_CONSTRAINTS_REFERENCE=""
ENV AIRFLOW_CONSTRAINTS_REFERENCE=${AIRFLOW_CONSTRAINTS_REFERENCE}