Skip to content

Commit f37f345

Browse files
committed
test
Signed-off-by: Matej Feder <matej.feder@dnation.cloud>
1 parent 2eca13e commit f37f345

File tree

2 files changed

+18
-41
lines changed

2 files changed

+18
-41
lines changed

.zuul.yaml

+6-41
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,16 @@
11
---
22
- job:
3-
name: k8s-cluster-api-provider-e2e-abstract
4-
abstract: true
5-
parent: openstack-access-base
6-
description: |
7-
An abstract job for e2e testing of k8s-cluster-api-provider project.
8-
This job is not intended to be run directly, but instead must be inherited from it.
9-
pre-run: playbooks/dependencies.yaml
10-
run: playbooks/e2e.yaml
11-
cleanup-run: playbooks/cleanup.yaml # executed also when the job is canceled
12-
vars:
13-
wait_for_cluster: 600 # 10min
14-
15-
- job:
16-
name: k8s-cluster-api-provider-e2e-conformance
17-
parent: k8s-cluster-api-provider-e2e-abstract
18-
description: |
19-
Run e2e tests of k8s-cluster-api-provider project using
20-
[sonobuoy](https://sonobuoy.io/) with mode conformance meaning
21-
it will test if the Kubernetes cluster is conformant to the CNCF.
22-
timeout: 10800 # 3h
23-
vars:
24-
sonobouy_mode: conformance
25-
26-
- job:
27-
name: k8s-cluster-api-provider-e2e-quick
28-
parent: k8s-cluster-api-provider-e2e-abstract
29-
description: |
30-
Run e2e tests of k8s-cluster-api-provider project using
31-
[sonobuoy](https://sonobuoy.io/) with mode quick.
32-
timeout: 3600 # 1h
33-
vars:
34-
sonobouy_mode: quick
3+
name: mqtt-matrix-bridge-test
4+
parent: base
5+
run: playbooks/test.yaml
356

367
- project:
378
name: matofederorg/k8s-cluster-api-provider
389
default-branch: main
3910
merge-mode: "squash-merge"
40-
e2e-test:
41-
jobs:
42-
- k8s-cluster-api-provider-e2e-conformance
43-
unlabel-on-update-e2e-test:
11+
periodic-daily:
4412
jobs:
45-
- noop
13+
- mqtt-matrix-bridge-test
4614
e2e-quick-test:
4715
jobs:
48-
- k8s-cluster-api-provider-e2e-quick
49-
unlabel-on-update-e2e-quick-test:
50-
jobs:
51-
- noop
16+
- mqtt-matrix-bridge-test

playbooks/test.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
- name: Run mqtt-matrix bridge test
3+
hosts: all
4+
tasks:
5+
- name: Print a test message
6+
ansible.builtin.debug:
7+
msg: "Hello from zuul!"
8+
- name: Force a failure >:-)
9+
ansible.builtin.command: /bin/false
10+
- name: Never print this
11+
ansible.builtin.debug:
12+
msg: "I never execute, due to the above task failing, :-("

0 commit comments

Comments
 (0)