Skip to content

test #38

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

test #38

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
49 changes: 10 additions & 39 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,51 +1,22 @@
---
- 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
name: mqtt-matrix-bridge-test
parent: base
run: playbooks/test.yaml

- 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-test2
parent: base
run: playbooks/test2.yaml

- project:
name: matofederorg/k8s-cluster-api-provider
default-branch: main
merge-mode: "squash-merge"
e2e-test:
periodic-daily:
jobs:
- k8s-cluster-api-provider-e2e-conformance
unlabel-on-update-e2e-test:
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
- mqtt-matrix-bridge-test2
12 changes: 12 additions & 0 deletions playbooks/test.yaml
Original file line number Diff line number Diff line change
@@ -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, :-("
12 changes: 12 additions & 0 deletions playbooks/test2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Run mqtt-matrix bridge test
hosts: all
tasks:
- name: Print a test message2
ansible.builtin.debug:
msg: "Hello from zuul222222!"
# - 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, :-("