Skip to content
Snippets Groups Projects
Commit 76ee1127 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

fix an error in CI/CD

parent 1f914082
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ variables: ...@@ -11,7 +11,7 @@ variables:
OLD_PROD_NAME: old-airflow-production OLD_PROD_NAME: old-airflow-production
PRODUCTION_NAME: airflow-production PRODUCTION_NAME: airflow-production
PRODUCTION_URL: https://datalogistics.eflows4hpc.eu PRODUCTION_URL: https://datalogistics.eflows4hpc.eu
TESTING_DOMAIN: datalogistics.eflows4hpc.eu PRODUCTION_DOMAIN: datalogistics.eflows4hpc.eu
AIRFLOW_TESTUSER: "airflow" AIRFLOW_TESTUSER: "airflow"
AIRFLOW__SECRETS__BACKEND_KWARGS: $TESTING_AIRFLOW__SECRETS__BACKEND_KWARGS AIRFLOW__SECRETS__BACKEND_KWARGS: $TESTING_AIRFLOW__SECRETS__BACKEND_KWARGS
AIRFLOW__SECRETS__BACKEND: datacat_integration.secrets.DatacatSecretsBackend AIRFLOW__SECRETS__BACKEND: datacat_integration.secrets.DatacatSecretsBackend
...@@ -49,13 +49,13 @@ test: ...@@ -49,13 +49,13 @@ test:
- pip install nose==1.3.7 - pip install nose==1.3.7
- airflow connections add --conn-uri https://b2share-testing.fz-juelich.de/ default_b2share - airflow connections add --conn-uri https://b2share-testing.fz-juelich.de/ default_b2share
script: script:
- ls - ls
- pwd - pwd
- cp dags/* /opt/airflow/dags/ - cp dags/* /opt/airflow/dags/
- airflow dags list - airflow dags list
- airflow connections list - airflow connections list
- airflow dags test testdag 2021-08-18 - airflow dags test testdag 2021-08-18
- nosetests - nosetests
build-custom-image: build-custom-image:
......
...@@ -16,7 +16,7 @@ if [ -z ${3+x} ]; then unset AIRFLOW__SECRETS__BACKEND; else export AIRFLOW__SEC ...@@ -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 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 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}" echo "DEBUG backend args length: ${#AIRFLOW__SECRETS__BACKEND_KWARGS}"
cd $ENTRYPOINT cd $ENTRYPOINT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment