diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-06-26 11:25:13 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-06-26 11:25:13 +0300 |
commit | e2c399ef9e5ede0cd00a45c1c6ce2f6f11764ccc (patch) | |
tree | 3c63f96d4bf93546cbce2f814a4da68343908899 /ci-prep.ick | |
parent | 353935b6886ec49f675b667b5a895ef6adf077af (diff) | |
download | liw-ci-e2c399ef9e5ede0cd00a45c1c6ce2f6f11764ccc.tar.gz |
Change: deploy to QvarnLabs ick instance
Diffstat (limited to 'ci-prep.ick')
-rw-r--r-- | ci-prep.ick | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ci-prep.ick b/ci-prep.ick index 2bef40d..ebaaaf8 100644 --- a/ci-prep.ick +++ b/ci-prep.ick @@ -239,7 +239,15 @@ pipelines: worker2 ansible_ssh_host=demo-worker2.vm.liw.fi EOF + cat > hosts.ql << EOF + controller ansible_ssh_host=ick-controller.h.qvarnlabs.eu + worker1 ansible_ssh_host=ick-worker1.h.qvarnlabs.eu + EOF + export ANSIBLE_ROLES_PATH=/workspace/debian-ansible/roles ./run-cluster.sh hosts.ci-prod -e @/workspace/ci-prod-vars/ci-prod-vars.yml ./run-cluster.sh hosts.demo -e @/workspace/ci-prod-vars/demo-ick-vars.yml + + sed -i /worker2/d run-cluster.sh + ./run-cluster.sh hosts.ql -e @/workspace/ci-prod-vars/demo-ick-vars.yml where: container |