Skip to content

Commit 38b10ab

Browse files
committed
CI: Add Contour deployment
1 parent 62fee1f commit 38b10ab

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ name: On Pull Request
44
on:
55
workflow_dispatch:
66
pull_request:
7-
types: [opened, reopened]
87

98
jobs:
109
deploy-zuul:
@@ -36,7 +35,7 @@ jobs:
3635
3736
- name: Run playbook
3837
run: >
39-
ansible-playbook -i ansible/inventory ansible/run.yml --check --diff
38+
ansible-playbook -i ansible/inventory ansible/run.yml --check --diff -vvv
4039
4140
- name: Remove credentials
4241
run: |

ansible/run.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,18 @@
5656
namespace: "zuul"
5757
state: present
5858

59+
- name: Download Contour CRDs
60+
ansible.builtin.get_url:
61+
url: https://projectcontour.io/quickstart/contour.yaml
62+
dest: /tmp/ansible_zuul_contour.yaml
63+
mode: '0664'
64+
check_mode: true
65+
66+
- name: Ensure Contour CRDs
67+
kubernetes.core.k8s:
68+
src: /tmp/ansible_zuul_contour.yaml
69+
state: present
70+
5971
- name: Ensure Gateway API CRDs
6072
kubernetes.core.k8s:
6173
namespace: "zuul"

0 commit comments

Comments
 (0)