Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
ASTRON SDC
atdb-ldv
Commits
ae0ed0e6
Commit
ae0ed0e6
authored
4 years ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
reverted staging step
parent
c2d4eb61
No related branches found
Branches containing commit
No related tags found
4 merge requests
!39
Dev nico
,
!23
Master
,
!22
Master
,
!20
reverted staging step
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-21
1 addition, 21 deletions
.gitlab-ci.yml
with
1 addition
and
21 deletions
.gitlab-ci.yml
+
1
−
21
View file @
ae0ed0e6
stages
:
-
build
-
staging
-
deploy
docker-build
:
docker-build
-master
:
# Official docker image.
image
:
docker:latest
stage
:
build
...
...
@@ -73,25 +72,6 @@ docker-deploy-acceptance:
only
:
-
acceptance
# deploy acceptance version on 'dop457.astron.nl'
docker-staging-acceptance
:
image
:
docker:latest
stage
:
staging
before_script
:
-
'
command
-v
ssh-agent
>/dev/null
||
(
apt-get
update
-y
&&
apt-get
install
openssh-client
-y
)'
-
eval $(ssh-agent -s)
-
echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
-
mkdir -p ~/.ssh
-
chmod 700 ~/.ssh
-
ssh-keyscan dop457.astron.nl >> ~/.ssh/known_hosts
-
chmod 644 ~/.ssh/known_hosts
script
:
-
ssh -o StrictHostKeyChecking=no vermaas@dop457.astron.nl "docker pull "$CI_REGISTRY_IMAGE""
-
ssh -o StrictHostKeyChecking=no vermaas@dop457.astron.nl "docker-compose -p atdb -f /data/docker_compose/docker-compose-atdb-ldv-acc-cd.yml up -d"
when
:
manual
only
:
-
release
# deploy release version on 'sdc.astron.nl'
docker-deploy-release
:
image
:
docker:latest
...
...
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