Skip to content

Commit f85ba7e

Browse files
authored
Merge pull request #13 from stackhpc/helm_istio
CI: Add Contour deployment
2 parents 68c5f21 + 895bf7a commit f85ba7e

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-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: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,25 @@
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: false
65+
66+
- name: Ensure Contour namespace
67+
kubernetes.core.k8s:
68+
name: projectcontour
69+
api_version: v1
70+
kind: Namespace
71+
state: present
72+
73+
- name: Ensure Contour CRDs
74+
kubernetes.core.k8s:
75+
src: /tmp/ansible_zuul_contour.yaml
76+
state: present
77+
5978
- name: Ensure Gateway API CRDs
6079
kubernetes.core.k8s:
6180
namespace: "zuul"

0 commit comments

Comments
 (0)