diff --git a/.zuul.yaml b/.zuul.yaml index 707c3a0c..7b44c797 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -1,51 +1,16 @@ --- - job: - name: k8s-cluster-api-provider-e2e-abstract - abstract: true - parent: openstack-access-base - description: | - An abstract job for e2e testing of k8s-cluster-api-provider project. - This job is not intended to be run directly, but instead must be inherited from it. - pre-run: playbooks/dependencies.yaml - run: playbooks/e2e.yaml - cleanup-run: playbooks/cleanup.yaml # executed also when the job is canceled - vars: - wait_for_cluster: 600 # 10min - -- job: - name: k8s-cluster-api-provider-e2e-conformance - parent: k8s-cluster-api-provider-e2e-abstract - description: | - Run e2e tests of k8s-cluster-api-provider project using - [sonobuoy](https://sonobuoy.io/) with mode conformance meaning - it will test if the Kubernetes cluster is conformant to the CNCF. - timeout: 10800 # 3h - vars: - sonobouy_mode: conformance - -- job: - name: k8s-cluster-api-provider-e2e-quick - parent: k8s-cluster-api-provider-e2e-abstract - description: | - Run e2e tests of k8s-cluster-api-provider project using - [sonobuoy](https://sonobuoy.io/) with mode quick. - timeout: 3600 # 1h - vars: - sonobouy_mode: quick + name: mqtt-matrix-bridge-test + parent: base + run: playbooks/test.yaml - project: name: matofederorg/k8s-cluster-api-provider default-branch: main merge-mode: "squash-merge" - e2e-test: - jobs: - - k8s-cluster-api-provider-e2e-conformance - unlabel-on-update-e2e-test: + periodic-daily: jobs: - - noop + - mqtt-matrix-bridge-test e2e-quick-test: jobs: - - k8s-cluster-api-provider-e2e-quick - unlabel-on-update-e2e-quick-test: - jobs: - - noop + - mqtt-matrix-bridge-test diff --git a/playbooks/test.yaml b/playbooks/test.yaml new file mode 100644 index 00000000..ef5589fe --- /dev/null +++ b/playbooks/test.yaml @@ -0,0 +1,12 @@ +--- +- name: Run mqtt-matrix bridge test + hosts: all + tasks: + - name: Print a test message + ansible.builtin.debug: + msg: "Hello from zuul!" + - name: Force a failure >:-) + ansible.builtin.command: /bin/false + - name: Never print this + ansible.builtin.debug: + msg: "I never execute, due to the above task failing, :-("