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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eFlows4HPC WP2
Data Logistics Service
Commits
aaafd073
Commit
aaafd073
authored
3 years ago
by
Maria Petrova-El Sayed
Browse files
Options
Downloads
Patches
Plain Diff
Correcting mishaps
parent
8fd9ffd4
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#85428
failed
3 years ago
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
scripts/cloudinit.yml
+3
-1
3 additions, 1 deletion
scripts/cloudinit.yml
scripts/deployment.sh
+1
-1
1 addition, 1 deletion
scripts/deployment.sh
with
6 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
0
View file @
aaafd073
...
@@ -61,6 +61,8 @@ cleanup-successful-full-deployment:
...
@@ -61,6 +61,8 @@ cleanup-successful-full-deployment:
when
:
on_success
when
:
on_success
# only:
# only:
# - web
# - web
dependencies
:
-
deploy:full-deploy-test
script
:
script
:
-
echo "This is the cleanup for the full-redeployment of the testing or production servers"
-
echo "This is the cleanup for the full-redeployment of the testing or production servers"
-
echo "if this job is reached, all earlier jobs were successful, and any lingering old instances need to be removed"
-
echo "if this job is reached, all earlier jobs were successful, and any lingering old instances need to be removed"
...
...
This diff is collapsed.
Click to expand it.
scripts/cloudinit.yml
+
3
−
1
View file @
aaaf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tNu8kRK97/Ax0qmJ8eLBfv3qm2HnqACRUv1MRLS/s9KsdB18DV6dTn8VuErJsn9rlpx/2oEMVS5lkUSLTJHf7oNVKDtILQ/rQ2tF/f3LakmiViA4ZsWxFspP0T/sXPhjuCgEqGWG8HrJwFj8DByMpoJUsGe1czAiMdoY5Tr7UeIgK7BGaGjoVUFaVrCKlDpDNhYsHopSTTNajVxsb0LkTRIRphGlQTHlD3nDYdHIrgZiLqA1XLtTTXtWNzQ4uE59tAkIzdTK7RSBduHunqx++IEO6Huj49Vvk1vcO33iqFTTZro1vhZ2kEGxAkxNMti+/eT2rvyfkhsXaUH1/7LXvRrR+pFKcXBpaWWeEt8cOiVrMWAPDi9VRh5QPZbJ1tyTq7XzxeaQuJhL22o2BO13ZSRzr1S+UNFcmfk3esruZoxDIiQ+Bw== apiserver@gitlab
runcmd
:
runcmd
:
-
echo "Downloading latest version of docker-compose"
-
sudo pip3 install docker-compose
-
sudo pip3 install docker-compose
-
cd /home/mpetrova
-
cd /home/mpetrova
-
echo "Current user
:
$(whoami)"
-
echo "Current user
is
$(whoami)"
-
sudo -u mpetrova git clone https://gitlab.jsc.fz-juelich.de/eflows4hpc-wp2/data-logistics-service.git ./data-logistics-service
-
sudo -u mpetrova git clone https://gitlab.jsc.fz-juelich.de/eflows4hpc-wp2/data-logistics-service.git ./data-logistics-service
-
cd ./data-logistics-service
-
cd ./data-logistics-service
-
git checkout mptest
#only for testing
-
git checkout mptest
#only for testing
-
cat ./scripts/deployment.sh
# - mkdir airflow
# - mkdir airflow
# - cd airflow
# - cd airflow
# - mkdir -p ./dags ./logs ./plugins ./config ./templates
# - mkdir -p ./dags ./logs ./plugins ./config ./templates
...
...
This diff is collapsed.
Click to expand it.
scripts/deployment.sh
+
1
−
1
View file @
aaafd073
...
@@ -24,7 +24,7 @@ cd airflow
...
@@ -24,7 +24,7 @@ cd airflow
AIRFLOW_DIR
=
`
pwd
`
AIRFLOW_DIR
=
`
pwd
`
#DEBUG prints
#DEBUG prints
echo
"Project dir is set to:
$AIRFLOW_DIR
"
echo
"Project dir is set to:
$AIRFLOW_DIR
"
echo
"Proceeding as user
:
$(
whoami
)
"
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
...
...
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