From 76ee1127774fa04ab41a2b923a3d3e7668daa388 Mon Sep 17 00:00:00 2001 From: Christian Boettcher <c.boettcher@fz-juelich.de> Date: Wed, 23 Mar 2022 11:42:40 +0100 Subject: [PATCH] fix an error in CI/CD --- .gitlab-ci.yml | 16 ++++++++-------- scripts/deployment.sh | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cacaaac..207132f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ variables: OLD_PROD_NAME: old-airflow-production PRODUCTION_NAME: airflow-production PRODUCTION_URL: https://datalogistics.eflows4hpc.eu - TESTING_DOMAIN: datalogistics.eflows4hpc.eu + PRODUCTION_DOMAIN: datalogistics.eflows4hpc.eu AIRFLOW_TESTUSER: "airflow" AIRFLOW__SECRETS__BACKEND_KWARGS: $TESTING_AIRFLOW__SECRETS__BACKEND_KWARGS AIRFLOW__SECRETS__BACKEND: datacat_integration.secrets.DatacatSecretsBackend @@ -49,13 +49,13 @@ test: - pip install nose==1.3.7 - airflow connections add --conn-uri https://b2share-testing.fz-juelich.de/ default_b2share script: - - ls - - pwd - - cp dags/* /opt/airflow/dags/ - - airflow dags list - - airflow connections list - - airflow dags test testdag 2021-08-18 - - nosetests + - ls + - pwd + - cp dags/* /opt/airflow/dags/ + - airflow dags list + - airflow connections list + - airflow dags test testdag 2021-08-18 + - nosetests build-custom-image: diff --git a/scripts/deployment.sh b/scripts/deployment.sh index 5bf2bd6..0af566c 100755 --- a/scripts/deployment.sh +++ b/scripts/deployment.sh @@ -16,7 +16,7 @@ if [ -z ${3+x} ]; then unset AIRFLOW__SECRETS__BACKEND; else export AIRFLOW__SEC if [ -z ${3+x} ]; then unset AIRFLOW__SECRETS__BACKEND_KWARGS; else export AIRFLOW__SECRETS__BACKEND_KWARGS=$5; fi echo "DEBUG values: OLD_DIR=$OLD_DIR, ENTRYPOINT_DIR=$ENTRYPOINT and GIT_REPO=$GIT_REPO" -echo "DEBUG using secrets backend: $4" +echo "DEBUG using secrets backend: $AIRFLOW__SECRETS__BACKEND" echo "DEBUG backend args length: ${#AIRFLOW__SECRETS__BACKEND_KWARGS}" cd $ENTRYPOINT -- GitLab