Skip to content
Snippets Groups Projects
Commit 642f8996 authored by Jedrzej Rybicki's avatar Jedrzej Rybicki
Browse files

cloning the dags

parent dc10ff6f
No related branches found
No related tags found
No related merge requests found
Pipeline #128196 failed
......@@ -72,6 +72,7 @@ runcmd:
- echo "Current user is $(whoami)"
- sudo -u airflow git clone https://gitlab.jsc.fz-juelich.de/eflows4hpc-wp2/data-logistics-service.git ./data-logistics-service
- cd ./data-logistics-service
- sudo -u airflow rm -rf dags && sudo -u airflow git clone https://github.com/eflows4hpc/dls-dags.git dags
- crontab -l | { cat ; echo '@daily root find /persistent_data/logs -mtime +13 -type f -delete'; } | crontab - # setup log clearing crontab
- crontab -l | { cat ; echo '*/5 * * * * cd /home/airflow/eflows-airflow/dags && sudo git pull >/dev/null 2>&1'; } | crontab - # setup dag crontab
- touch /finished_cloudinit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment