Skip to content

Commit e96da1d

Browse files
Merge pull request #249 from eduolivares/tobiko-jobs-only-tobiko-image-changes
Run tobiko jobs only when tobiko image is changed
2 parents f5b5a11 + 251ac61 commit e96da1d

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

zuul.d/job.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,45 @@
3636
- openstack-meta-content-provider
3737
irrelevant-files: *irrelevant_files
3838
vars: *edpm_vars
39+
40+
- job:
41+
name: tcib-podified-multinode-edpm-deployment-crc-tobiko
42+
parent: tcib-podified-multinode-edpm-deployment-crc
43+
files:
44+
- ^container-images/tcib/base/tobiko/
45+
- ^zuul.d/
46+
vars:
47+
cifmw_test_operator_stages:
48+
- name: tobiko
49+
type: tobiko
50+
cifmw_test_operator_tobiko_registry: "{{ cifmw_test_operator_tempest_registry }}"
51+
cifmw_test_operator_tobiko_namespace: "{{ cifmw_test_operator_tempest_namespace }}"
52+
cifmw_test_operator_tobiko_image_tag: "{{ content_provider_dlrn_md5_hash }}"
53+
cifmw_test_operator_tobiko_workflow:
54+
- stepName: sanity
55+
testenv: sanity
56+
numProcesses: 2
57+
- stepName: scenario-nova
58+
testenv: nova
59+
numProcesses: 1
60+
# remove `cifmw_test_operator_tobiko_override_conf` when ticket TOBIKO-142 is resolved
61+
cifmw_test_operator_tobiko_override_conf:
62+
advanced_vm:
63+
username: fedora
64+
image_url: https://kaplonski.pl/files/Customized-Fedora-Cloud-Base-Generic-41-1.4.x86_64.qcow2
65+
# enabling heat is needed for some tobiko tests
66+
cifmw_edpm_prepare_kustomizations:
67+
- apiVersion: kustomize.config.k8s.io/v1beta1
68+
kind: Kustomization
69+
namespace: openstack
70+
patches:
71+
- patch: |-
72+
apiVersion: core.openstack.org/v1beta1
73+
kind: OpenStackControlPlane
74+
metadata:
75+
name: unused
76+
spec:
77+
heat:
78+
enabled: true
79+
target:
80+
kind: OpenStackControlPlane

zuul.d/projects.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@
2222
irrelevant-files: *if
2323
- tcib-podified-multinode-edpm-deployment-crc:
2424
irrelevant-files: *if
25+
- tcib-podified-multinode-edpm-deployment-crc-tobiko:
26+
irrelevant-files: *if

0 commit comments

Comments
 (0)