Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@ jobs:

env:
ANSIBLE_FORCE_COLOR: True
ANSIBLE_VAULT_PASSWORD_FILE: .vault.txt

steps:
- uses: actions/checkout@v4

- name: Set Ansible Vault password file
run: |
echo ${{ secrets.ANSIBLE_VAULT_PASSWORD }} > $ANSIBLE_VAULT_PASSWORD_FILE

- name: Generate kubeconfig
env:
KUBE: ${{secrets.KUBE}}
Expand All @@ -29,3 +34,7 @@ jobs:
run: >
ansible-playbook -i ansible/inventory ansible/run.yml --check --diff

- name: Remove credentials
run: |
rm -f ~/.kube/config .vault.txt

Loading