
We overrode the PXC resource values in order for functional tests in minikube to work. Restore the defaults and set an override in the functional tests. Change-Id: Id0560d9089f03ddcb116dccec0b424b811186d65
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
- name: install and start zuul operator
|
|
hosts: all
|
|
tasks:
|
|
- name: Setup CRD
|
|
command: make install
|
|
args:
|
|
chdir: "{{ zuul.projects['opendev.org/zuul/zuul-operator'].src_dir }}"
|
|
|
|
- name: Create required secret
|
|
include_tasks: ./tasks/create_test_secrets.yaml
|
|
|
|
- name: Wait for operator deployment
|
|
command: timeout 8m kubectl rollout status deployment/zuul-operator
|
|
|
|
- name: Deploy CR
|
|
include_tasks: tasks/apply_cr.yaml
|
|
vars:
|
|
spec:
|
|
database:
|
|
allowUnsafeConfig: true
|
|
executor:
|
|
count: 1
|
|
sshkey:
|
|
secretName: executor-ssh-key
|
|
merger:
|
|
count: 1
|
|
scheduler:
|
|
config:
|
|
secretName: zuul-yaml-conf
|
|
launcher:
|
|
config:
|
|
secretName: nodepool-yaml-conf
|
|
connections:
|
|
opendev.org:
|
|
driver: git
|
|
baseurl: https://opendev.org
|
|
externalConfig:
|
|
kubernetes:
|
|
secretName: nodepool-kube-config
|
|
registry:
|
|
count: 1
|
|
config:
|
|
secretName: zuul-registry-conf
|
|
preview:
|
|
count: 1
|
|
|
|
- name: Wait for services
|
|
include_tasks: ./tasks/wait_services.yaml
|
|
|
|
- name: Test the cert-manager
|
|
include_tasks: ./tasks/test_cert_manager.yaml
|