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

Merge branch 'airflow253'

parents 759eac14 451283e8
Branches
No related tags found
No related merge requests found
Pipeline #138961 passed
...@@ -63,6 +63,7 @@ write_files: ...@@ -63,6 +63,7 @@ write_files:
- path: /home/airflow/.ssh/airflow-docker-worker-RSA.pub - path: /home/airflow/.ssh/airflow-docker-worker-RSA.pub
permission: 0644 permission: 0644
owner: airflow owner: airflow
defer: true
content: | content: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ3K2X9hEUy/RjS8Fzjg5hANKyuGus8kPufahuHf8s2KdmGrGMiJ6rEA5ZXH+xBp8FBKfAE6wWeRa0EKi7syVxn/zubr2raXXnf2Zq3jSvu3uFhVmauoBG+f/+l0EmJcVS2V4VbYQ9F6Rh0O/nzlIITzPr3/08gE5jAGz/5ckMtbDUru9laDITwxzH1cvepsMQ2gwcW3bP596M+N0zGlagR0/JHveZvFL46LAC3d2a/z9afraNyZvuycM4D7T0CWdEoWle0aXrVbYbY70Ik19+EAztvdjjK5u+CXpHWGi80qy8jCjIfkgfWnIzTVs/Op3eeI8eDWRw/SnkC4HgGyS9 Generated-by-Nova ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ3K2X9hEUy/RjS8Fzjg5hANKyuGus8kPufahuHf8s2KdmGrGMiJ6rEA5ZXH+xBp8FBKfAE6wWeRa0EKi7syVxn/zubr2raXXnf2Zq3jSvu3uFhVmauoBG+f/+l0EmJcVS2V4VbYQ9F6Rh0O/nzlIITzPr3/08gE5jAGz/5ckMtbDUru9laDITwxzH1cvepsMQ2gwcW3bP596M+N0zGlagR0/JHveZvFL46LAC3d2a/z9afraNyZvuycM4D7T0CWdEoWle0aXrVbYbY70Ik19+EAztvdjjK5u+CXpHWGi80qy8jCjIfkgfWnIzTVs/Op3eeI8eDWRw/SnkC4HgGyS9 Generated-by-Nova
......
...@@ -46,7 +46,7 @@ echo "Proceeding as user $(whoami)" ...@@ -46,7 +46,7 @@ echo "Proceeding as user $(whoami)"
# Make the necessary folders for the airflow artefacts and copy the corresponging content # Make the necessary folders for the airflow artefacts and copy the corresponging content
mkdir -p ./dags ./logs ./plugins ./config ./templates mkdir -p ./dags ./logs ./plugins ./config ./templates
cd $GIT_REPO cd $GIT_REPO
rm -rf $AIRFLOW_DIR/dags && mkdir $AIRFLOW_DIR/dags && git clone $DAG_GIT_URL $AIRFLOW_DIR/dags rm -rf $AIRFLOW_DIR/dags/{*,.[!.]*]} && git clone $DAG_GIT_URL $AIRFLOW_DIR/dags # rm contents of directory, but not directory itself, since this may cause issues with dag scheduler
cp -r plugins/* $AIRFLOW_DIR/plugins cp -r plugins/* $AIRFLOW_DIR/plugins
cp config/* $AIRFLOW_DIR/config/ cp config/* $AIRFLOW_DIR/config/
cp -r templates/* $AIRFLOW_DIR/templates cp -r templates/* $AIRFLOW_DIR/templates
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment