Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Data Logistics Service
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eFlows4HPC WP2
Data Logistics Service
Commits
0933c89e
Commit
0933c89e
authored
1 year ago
by
Christian Boettcher
Browse files
Options
Downloads
Plain Diff
Merge branch 'airflow253'
parents
759eac14
451283e8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#138961
passed
1 year ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/cloudinit.yml
+1
-0
1 addition, 0 deletions
scripts/cloudinit.yml
scripts/deployment.sh
+1
-1
1 addition, 1 deletion
scripts/deployment.sh
with
2 additions
and
1 deletion
scripts/cloudinit.yml
+
1
−
0
View file @
0933c89e
...
...
@@ -63,6 +63,7 @@ write_files:
-
path
:
/home/airflow/.ssh/airflow-docker-worker-RSA.pub
permission
:
0644
owner
:
airflow
defer
:
true
content
:
|
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZ3K2X9hEUy/RjS8Fzjg5hANKyuGus8kPufahuHf8s2KdmGrGMiJ6rEA5ZXH+xBp8FBKfAE6wWeRa0EKi7syVxn/zubr2raXXnf2Zq3jSvu3uFhVmauoBG+f/+l0EmJcVS2V4VbYQ9F6Rh0O/nzlIITzPr3/08gE5jAGz/5ckMtbDUru9laDITwxzH1cvepsMQ2gwcW3bP596M+N0zGlagR0/JHveZvFL46LAC3d2a/z9afraNyZvuycM4D7T0CWdEoWle0aXrVbYbY70Ik19+EAztvdjjK5u+CXpHWGi80qy8jCjIfkgfWnIzTVs/Op3eeI8eDWRw/SnkC4HgGyS9 Generated-by-Nova
...
...
This diff is collapsed.
Click to expand it.
scripts/deployment.sh
+
1
−
1
View file @
0933c89e
...
...
@@ -46,7 +46,7 @@ echo "Proceeding as user $(whoami)"
# Make the necessary folders for the airflow artefacts and copy the corresponging content
mkdir
-p
./dags ./logs ./plugins ./config ./templates
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
config/
*
$AIRFLOW_DIR
/config/
cp
-r
templates/
*
$AIRFLOW_DIR
/templates
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment