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
dd27a0dd
Commit
dd27a0dd
authored
3 years ago
by
Jedrzej Rybicki
Browse files
Options
Downloads
Patches
Plain Diff
adding publishgit task
parent
a0e35af3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#88213
failed
3 years ago
Stage: test
Stage: publish
Stage: deploy
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-0
14 additions, 0 deletions
.gitlab-ci.yml
with
14 additions
and
0 deletions
.gitlab-ci.yml
+
14
−
0
View file @
dd27a0dd
...
...
@@ -48,3 +48,17 @@ deploy-test:
-
while [ "`openstack server show $INSTANCE_ID -c addresses -f value`" = "{}" ]; do sleep 5; done
# wait until an address is available to attach the floating ip
-
openstack server add floating ip $INSTANCE_ID $FLOATING_IP
-
echo "Done"
publishgit-do
:
stage
:
publish
only
:
-
tags
tags
:
[
stable
]
script
:
-
apt-get update
-
apt-get install -y git
-
(git remote -v | grep gith) || git remote add gith "https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/eflows4hpc/data-logistics-service.git"
-
git remote -v
-
git show-ref
-
export
-
git push gith $CI_COMMIT_REF_NAME
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