summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2015-11-11 15:01:56 +0000
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-11-19 12:08:47 +0000
commit8b05d7208b4dcba0d63d4753cc348a41768b3a37 (patch)
tree1a65f5595ea7c057b6a305b8a7c52a4c70b38957
parent3bb6e5b2d99a316a43d7381ff10b66c299fed094 (diff)
downloaddefinitions-8b05d7208b4dcba0d63d4753cc348a41768b3a37.tar.gz
clusters: Update .morph file for upgrading git.baserock.org
git.baserock.org instance was modified to make it look as it was a generic trove deployment. This way upgrading it is easier than before given that you don't need special variables, or ssh keys in the cluster. This has been done months ago, and I've upgraded g.b.o several times since then. I just didn't realise this cluster was here. Change-Id: I74a7697ae3967b72a60afd9d53bdce292aee712c
-rw-r--r--clusters/trove.baserock.org-upgrade.morph14
1 files changed, 5 insertions, 9 deletions
diff --git a/clusters/trove.baserock.org-upgrade.morph b/clusters/trove.baserock.org-upgrade.morph
index e66fd6bc..ff56d91b 100644
--- a/clusters/trove.baserock.org-upgrade.morph
+++ b/clusters/trove.baserock.org-upgrade.morph
@@ -5,7 +5,7 @@ description: |
git.baserock.org. It doesn't work for the initial deployment. The
deployer MUST have ssh access to root@git.baserock.org. To use:
- morph deploy --upgrade trove.baserock.org-upgrade gbo.VERSION_LABEL=2014-05-29
+ morph upgrade trove.baserock.org-upgrade gbo.VERSION_LABEL=2014-05-29
Replace the value of gbo.VERSION_LABEL above with the current date.
You can add letters if you need to upgrade multiple times in a day.
@@ -13,11 +13,7 @@ systems:
- morph: systems/trove-system-x86_64.morph
deploy:
gbo:
- type: extensions/ssh-rsync
- location: root@git.baserock.org
- FSTAB_HOME: LABEL=homes /home auto defaults,noatime,rw 0 2
- HOSTNAME: firehose1
- LORRY_CONTROLLER_MINIONS: 4
- TROVE_COMPANY: Baserock
- TROVE_HOSTNAME: git.baserock.org
- TROVE_ID: baserock
+ upgrade-type: extensions/ssh-rsync
+ upgrade-location: root@git.baserock.org
+ HOSTNAME: baserock
+ TROVE_GENERIC: True