diff --git a/Dockerfile b/Dockerfile index 968c657e06..d22d081c32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -160,7 +160,7 @@ ARG AIRFLOW_EXTRAS ARG ADDITIONAL_AIRFLOW_EXTRAS="" ENV AIRFLOW_EXTRAS=${AIRFLOW_EXTRAS}${ADDITIONAL_AIRFLOW_EXTRAS:+,}${ADDITIONAL_AIRFLOW_EXTRAS} -ARG AIRFLOW_CONSTRAINTS_REFERENCE="constraints-master" +ARG AIRFLOW_CONSTRAINTS_REFERENCE="constraints-2-0" ARG AIRFLOW_CONSTRAINTS_LOCATION="https://raw.githubusercontent.com/apache/airflow/${AIRFLOW_CONSTRAINTS_REFERENCE}/constraints-${PYTHON_MAJOR_MINOR_VERSION}.txt" ENV AIRFLOW_CONSTRAINTS_LOCATION=${AIRFLOW_CONSTRAINTS_LOCATION} diff --git a/scripts/ci/libraries/_initialization.sh b/scripts/ci/libraries/_initialization.sh index 0775706b69..51ada03814 100644 --- a/scripts/ci/libraries/_initialization.sh +++ b/scripts/ci/libraries/_initialization.sh @@ -199,8 +199,8 @@ function initialization::initialize_base_variables() { # Determine current branch function initialization::initialize_branch_variables() { # Default branch used - this will be different in different branches - export DEFAULT_BRANCH=${DEFAULT_BRANCH="master"} - export DEFAULT_CONSTRAINTS_BRANCH=${DEFAULT_CONSTRAINTS_BRANCH="constraints-master"} + export DEFAULT_BRANCH=${DEFAULT_BRANCH="v2-0-test"} + export DEFAULT_CONSTRAINTS_BRANCH=${DEFAULT_CONSTRAINTS_BRANCH="constraints-2-0"} readonly DEFAULT_BRANCH readonly DEFAULT_CONSTRAINTS_BRANCH