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
76ee1127
Commit
76ee1127
authored
3 years ago
by
Christian Boettcher
Browse files
Options
Downloads
Patches
Plain Diff
fix an error in CI/CD
parent
1f914082
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide 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
+1
-1
1 addition, 1 deletion
scripts/deployment.sh
with
9 additions
and
9 deletions
.gitlab-ci.yml
+
8
−
8
View file @
76ee1127
...
@@ -11,7 +11,7 @@ variables:
...
@@ -11,7 +11,7 @@ variables:
OLD_PROD_NAME
:
old-airflow-production
OLD_PROD_NAME
:
old-airflow-production
PRODUCTION_NAME
:
airflow-production
PRODUCTION_NAME
:
airflow-production
PRODUCTION_URL
:
https://datalogistics.eflows4hpc.eu
PRODUCTION_URL
:
https://datalogistics.eflows4hpc.eu
TESTING
_DOMAIN
:
datalogistics.eflows4hpc.eu
PRODUCTION
_DOMAIN
:
datalogistics.eflows4hpc.eu
AIRFLOW_TESTUSER
:
"
airflow"
AIRFLOW_TESTUSER
:
"
airflow"
AIRFLOW__SECRETS__BACKEND_KWARGS
:
$TESTING_AIRFLOW__SECRETS__BACKEND_KWARGS
AIRFLOW__SECRETS__BACKEND_KWARGS
:
$TESTING_AIRFLOW__SECRETS__BACKEND_KWARGS
AIRFLOW__SECRETS__BACKEND
:
datacat_integration.secrets.DatacatSecretsBackend
AIRFLOW__SECRETS__BACKEND
:
datacat_integration.secrets.DatacatSecretsBackend
...
@@ -49,13 +49,13 @@ test:
...
@@ -49,13 +49,13 @@ test:
-
pip install nose==1.3.7
-
pip install nose==1.3.7
-
airflow connections add --conn-uri https://b2share-testing.fz-juelich.de/ default_b2share
-
airflow connections add --conn-uri https://b2share-testing.fz-juelich.de/ default_b2share
script
:
script
:
-
ls
-
ls
-
pwd
-
pwd
-
cp dags/* /opt/airflow/dags/
-
cp dags/* /opt/airflow/dags/
-
airflow dags list
-
airflow dags list
-
airflow connections list
-
airflow connections list
-
airflow dags test testdag 2021-08-18
-
airflow dags test testdag 2021-08-18
-
nosetests
-
nosetests
build-custom-image
:
build-custom-image
:
...
...
This diff is collapsed.
Click to expand it.
scripts/deployment.sh
+
1
−
1
View file @
76ee1127
...
@@ -16,7 +16,7 @@ if [ -z ${3+x} ]; then unset AIRFLOW__SECRETS__BACKEND; else export AIRFLOW__SEC
...
@@ -16,7 +16,7 @@ if [ -z ${3+x} ]; then unset AIRFLOW__SECRETS__BACKEND; else export AIRFLOW__SEC
if
[
-z
${
3
+x
}
]
;
then
unset
AIRFLOW__SECRETS__BACKEND_KWARGS
;
else
export
AIRFLOW__SECRETS__BACKEND_KWARGS
=
$5
;
fi
if
[
-z
${
3
+x
}
]
;
then
unset
AIRFLOW__SECRETS__BACKEND_KWARGS
;
else
export
AIRFLOW__SECRETS__BACKEND_KWARGS
=
$5
;
fi
echo
"DEBUG values: OLD_DIR=
$OLD_DIR
, ENTRYPOINT_DIR=
$ENTRYPOINT
and GIT_REPO=
$GIT_REPO
"
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
}
"
echo
"DEBUG backend args length:
${#
AIRFLOW__SECRETS__BACKEND_KWARGS
}
"
cd
$ENTRYPOINT
cd
$ENTRYPOINT
...
...
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