File tree Expand file tree Collapse file tree 6 files changed +33
-4
lines changed
etc/kayobe/environments/ci-tenks Expand file tree Collapse file tree 6 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ KAYOBE_BRANCH=stackhpc/2025.1
14
14
KAYOBE_CONFIG_REF=${KAYOBE_CONFIG_REF:- stackhpc/ 2025.1}
15
15
KAYOBE_ENVIRONMENT=${KAYOBE_ENVIRONMENT:- ci-tenks}
16
16
17
+ if [[ ! -f $( basename " $0 " ) /vault-pw ]]; then
18
+ echo " Vault password file not found at $( basename " $0 " ) /vault-pw"
19
+ exit 1
20
+ fi
21
+
22
+ export KAYOBE_VAULT_PASSWORD=$( cat $BASE_PATH /vault-pw)
23
+
17
24
# Install git and tmux.
18
25
if $( which dnf 2> /dev/null > /dev/null) ; then
19
26
sudo dnf -y install git tmux python3.12
Original file line number Diff line number Diff line change 8
8
Configures the primary VM as a seed hypervisor. Uses tenks to create
9
9
a single overcloud host and test Bifrost provisioning.
10
10
run : zuul.d/playbooks/tenks-base/run.yml
11
- # post-run: zuul.d/playbooks/tenks-base/post.yml
11
+ post-run : zuul.d/playbooks/tenks-base/post.yml
12
12
timeout : 10800
13
+ secrets :
14
+ - aio_vault_password
13
15
14
16
- job :
15
17
name : tenks-ubuntu-noble
Original file line number Diff line number Diff line change 1
1
---
2
2
- hosts : all
3
- vars :
4
- script_path : " /home/zuul/src/github.com/stackhpc/stackhpc-kayobe-config/etc/kayobe/environments/ci-tenks/automated-deployment.sh"
5
3
tasks :
6
4
- name : debug 1
7
5
shell :
8
- cmd : " ls {{ script_path }} "
6
+ cmd : " echo ~ "
9
7
executable : /bin/bash
10
8
register : debug1
11
9
failed_when : false
Original file line number Diff line number Diff line change 3
3
vars :
4
4
script_path : " /home/zuul/src/github.com/stackhpc/stackhpc-kayobe-config/etc/kayobe/environments/ci-tenks/automated-deployment.sh"
5
5
tasks :
6
+ - name : Write out vault password file
7
+ copy :
8
+ content : " {{ aio_vault_password.vault_pw | trim }}"
9
+ dest : " {{ script_path | basename }}/vault-pw"
10
+
6
11
- name : Run deploy script
7
12
environment :
8
13
KAYOBE_CONFIG_REF : " {{ zuul.patchset }}"
Original file line number Diff line number Diff line change 4
4
check :
5
5
jobs :
6
6
- openstack-tox-pep8
7
+ check-review :
8
+ jobs :
7
9
- tenks-ubuntu-noble
8
10
# - tenks-rocky-9
9
11
Original file line number Diff line number Diff line change
1
+ ---
2
+ - secret :
3
+ name : aio_vault_password
4
+ data :
5
+ vault_pw : !encrypted/pkcs1-oaep
6
+ - HyNVu3K9CqgBWIdraZwqGBIgh+uNiHdPz43TOG0vGmm4sF++axK4/JFtoGeyV6UhtsqzC
7
+ 5kXiKLjNj9HRxN9E7u5MDljIsduviEilkI5NQEJ5ctCJGMM0W42+7RtvwD/bIKK/ZHupV
8
+ suSDt0WxaBy6ipHjNj+3HgacxH0hG2B2wDuvxnkmMH1z5Z+LTQ4E8h3az/qwuxB9S7WK7
9
+ Mekq6ujBUKcgoZg7x9JGsbD0U2+pNSTSUtEzbM73jhtlTzZB8pYcgsYDyxF69yyf451Ww
10
+ L0vRbExNnfGxiclc4jWGpQHGUj4G0kPp+SYet3dzp8o29xzfr76e/9c3FCABXGQ8ShHin
11
+ uY7tzr07bqobWW3gRiyqDMZ8e41ipjTl+yN66TDLafftmk2k8uj8wxgf8X08eZhpYsOxx
12
+ BhDzI0IcC2vmhlp9HpF4oZBwtzZFD2XSGMVr79+535l49qzayJtgj2H6fBTonkf9WTjUC
13
+ lo1zXFr4Smer4FQJnIVK5N1GaW5PBTUNl2ZHxF9u/RIvf+XhHF0q540PNB1MQaTwptJw3
14
+ d2v19p9vbTk7pjrtgWZDy9g/G+vGjSJ/QPbItcp4MqmVhSZFT+B4v03xlNzi8/3CR5tIw
15
+ MPPm5+laBkk4PTU0sAJu7dbS9lonx0su2Rvjzoa/zxkVsGXW71ztkU45ODOPn8=
You can’t perform that action at this time.
0 commit comments