Skip to content

Commit 4ad8d85

Browse files
authored
Merge pull request #9 from stackhpc/zuul_ci
Add clouds.yaml to secrets
2 parents de3ab56 + 47c4c2d commit 4ad8d85

File tree

3 files changed

+294
-4
lines changed

3 files changed

+294
-4
lines changed

.github/workflows/pr.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@ jobs:
1313

1414
env:
1515
ANSIBLE_FORCE_COLOR: True
16+
ANSIBLE_VAULT_PASSWORD_FILE: .vault.txt
1617

1718
steps:
1819
- uses: actions/checkout@v4
1920

21+
- name: Set Ansible Vault password file
22+
run: |
23+
echo ${{ secrets.ANSIBLE_VAULT_PASSWORD }} > $ANSIBLE_VAULT_PASSWORD_FILE
24+
2025
- name: Generate kubeconfig
2126
env:
2227
KUBE: ${{secrets.KUBE}}
@@ -29,3 +34,7 @@ jobs:
2934
run: >
3035
ansible-playbook -i ansible/inventory ansible/run.yml --check --diff
3136
37+
- name: Remove credentials
38+
run: |
39+
rm -f ~/.kube/config .vault.txt
40+

0 commit comments

Comments
 (0)