Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
encyclopedia-gui
Commits
b2fc0be3
Commit
b2fc0be3
authored
Jan 29, 2018
by
Ioan Vancea
Browse files
Fixed the hostname for the new LB machine
parent
c4d974c9
Pipeline
#24154
passed with stages
in 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b2fc0be3
stages
:
-
Deploy On Testing
-
Deploy On
ProductionCentOS
-
Deploy On
LB
-
Deploy On ProductionSUSE
Deploy Testing
:
...
...
@@ -16,14 +16,14 @@ Deploy Testing:
only
:
-
master
Deploy
ProductionCentOS
:
stage
:
Deploy On
ProductionCentOS
Deploy
LB
:
stage
:
Deploy On
LB
script
:
-
pwd
-
source /home/deploy/ansible-provision/ansible-venv/bin/activate
-
cd deploy
-
ansible-playbook -i hosts playbook-
production
-centos.yml
-
echo "Deployed On
Production CentOS
-> DONE"
-
ansible-playbook -i hosts playbook-
lb
-centos.yml
-
echo "Deployed On
LB
-> DONE"
-
ls -al
-
pwd
when
:
manual
...
...
deploy/hosts
View file @
b2fc0be3
[testing]
enc-testing-nomad.esc.rzg.mpg.de
[
production-centos
]
enc-
production-hv
-nomad.esc.rzg.mpg.de
[
lb
]
enc-
lb
-nomad.esc.rzg.mpg.de
[production-suse]
enc-production-nomad.esc.rzg.mpg.de
deploy/playbook-
production
-centos.yml
→
deploy/playbook-
lb
-centos.yml
View file @
b2fc0be3
---
-
hosts
:
production-centos
-
hosts
:
lb
vars
:
project_root
:
/home/nomadapp/gui
project_repo
:
git@gitlab.mpcdf.mpg.de:nomad-lab/encyclopedia-gui.git
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment