aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoransible_admin <capsul@cyberia.club>2020-10-28 06:26:39 +0000
committeransible_admin <capsul@cyberia.club>2020-10-28 06:26:39 +0000
commitf6ff0031c9abcf9f775286e1804b4d3eacbdbe4e (patch)
treea042f82c82b1c41767574b97da348972b8257d91
parent39e3287073bb07351489799ea5529669f23ffa8c (diff)
downloadops-handbook-f6ff0031c9abcf9f775286e1804b4d3eacbdbe4e.tar.gz
ops-handbook-f6ff0031c9abcf9f775286e1804b4d3eacbdbe4e.tar.bz2
fix centos 8 manifest
-rw-r--r--builds/monthly/capsul-centos-8.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/builds/monthly/capsul-centos-8.yaml b/builds/monthly/capsul-centos-8.yaml
index 51c53fc..22db49e 100644
--- a/builds/monthly/capsul-centos-8.yaml
+++ b/builds/monthly/capsul-centos-8.yaml
@@ -1,7 +1,7 @@
-# this builds the capsul debian 10 template img
+# this builds the capsul centos 10 template img
environment:
- version: 10
+ version: 8
slaves:
- deploy@baikal.cyberia.club
image: alpine/edge
@@ -13,15 +13,15 @@ secrets:
sources:
- https://git.cyberia.club/services/capsul-images
tasks:
-- genimg: 'cd capsul-images/debian
+- genimg: 'cd capsul-images/centos
sudo ./build $version'
-- deploy: "cd capsul-images/debian\necho \"StrictHostKeyChecking=no\"\
+- deploy: "cd capsul-images/centos\necho \"StrictHostKeyChecking=no\"\
\ >> ~/.ssh/config\nfor server in \"${slaves[@]}\"\ndo\n ssh $server mkdir -p\
- \ /tank/img/debian/$version\n rsync -rzP $version/root.img.qcow2 \\\n\
- \ ${server}:/tank/img/debian/$version/new_root.img.qcow2\n ssh\
- \ $server \\\n mv /tank/img/debian/$version/new_root.img.qcow2\
- \ \\\n /tank/img/debian/$version/root.img.qcow2\ndone"
+ \ /tank/img/centos/$version\n rsync -rzP $version/root.img.qcow2 \\\n\
+ \ ${server}:/tank/img/centos/$version/new_root.img.qcow2\n ssh\
+ \ $server \\\n mv /tank/img/centos/$version/new_root.img.qcow2\
+ \ \\\n /tank/img/centos/$version/root.img.qcow2\ndone"
triggers:
- action: email
condition: failure