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
4e3c871b
Commit
4e3c871b
authored
3 years ago
by
Jedrzej Rybicki
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' of
https://gitlab.jsc.fz-juelich.de/eflows4hpc-wp2/data-logistics-service
parents
b18868b7
307c37cd
No related branches found
No related tags found
No related merge requests found
Pipeline
#96039
passed
3 years ago
Stage: test
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+8
-8
8 additions, 8 deletions
.gitlab-ci.yml
scripts/deployment.sh
+2
-3
2 additions, 3 deletions
scripts/deployment.sh
with
10 additions
and
11 deletions
.gitlab-ci.yml
+
8
−
8
View file @
4e3c871b
...
...
@@ -11,7 +11,7 @@ variables:
OLD_PROD_NAME
:
old-airflow-production
PRODUCTION_NAME
:
airflow-production
PRODUCTION_URL
:
https://datalogistics.eflows4hpc.eu
TESTING
_DOMAIN
:
datalogistics.eflows4hpc.eu
PRODUCTION
_DOMAIN
:
datalogistics.eflows4hpc.eu
AIRFLOW_TESTUSER
:
"
airflow"
AIRFLOW__SECRETS__BACKEND_KWARGS
:
$TESTING_AIRFLOW__SECRETS__BACKEND_KWARGS
AIRFLOW__SECRETS__BACKEND
:
datacat_integration.secrets.DatacatSecretsBackend
...
...
This diff is collapsed.
Click to expand it.
scripts/deployment.sh
+
2
−
3
View file @
4e3c871b
...
...
@@ -7,7 +7,6 @@
OLD_DIR
=
`
pwd
`
GIT_REPO
=
$HOME
/data-logistics-service
echo
"DEBUG_1
$0
$1
$2
$3
$4
$5
"
#if null (var + trim empty strings)
if
[
-z
${
1
+x
}
]
;
then
ENTRYPOINT
=
`
pwd
`
;
else
ENTRYPOINT
=
$1
;
fi
...
...
@@ -16,9 +15,9 @@ if [ -z ${3+x} ]; then export SERVER_DOMAIN=dls.fz-juelich.de; else export SERVE
if
[
-z
${
3
+x
}
]
;
then
unset
AIRFLOW__SECRETS__BACKEND
;
else
export
AIRFLOW__SECRETS__BACKEND
=
$4
;
fi
if
[
-z
${
3
+x
}
]
;
then
unset
AIRFLOW__SECRETS__BACKEND_KWARGS
;
else
export
AIRFLOW__SECRETS__BACKEND_KWARGS
=
$5
;
fi
echo
"DEBUG_2
$0
$1
$2
$3
$4
$5
"
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
}
"
cd
$ENTRYPOINT
mkdir
-p
eflows-airflow
...
...
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