File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 2020import logging
2121from jinja2 import Environment , FileSystemLoader
2222
23+ additional_molecule_jobs = [
24+ "edpm-ansible-molecule-edpm_kernel" ,
25+ "edpm-ansible-molecule-edpm_podman" ,
26+ "edpm-ansible-molecule-edpm_ovs" ,
27+ ]
28+
2329
2430def get_project_paths (project_dir = None ):
2531 """
@@ -90,6 +96,12 @@ def regenerate_projects_zuul_jobs_yaml(generated_paths):
9096 f"cifmw-molecule-{ role_directory .name } "
9197 )
9298
99+ if additional_molecule_jobs :
100+ for additional_job in additional_molecule_jobs :
101+ projects_jobs_info [0 ]["project" ]["github-check" ]["jobs" ].append (
102+ additional_job
103+ )
104+
93105 with open (generated_paths ["zuul_job_dir" ] / "projects.yaml" , "w" ) as projects_file :
94106 yaml .dump (projects_jobs_info , projects_file )
95107
Original file line number Diff line number Diff line change 1515 - ci/playbooks/collect-logs.yml
1616 required-projects :
1717 - github.com/openstack-k8s-operators/install_yamls
18+ - github.com/openstack-k8s-operators/edpm-ansible
1819 vars :
1920 roles_dir : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/roles/{{ TEST_RUN }}"
2021 mol_config_dir : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/.config/molecule/config_local.yml"
3334 - ci/playbooks/collect-logs.yml
3435 required-projects :
3536 - github.com/openstack-k8s-operators/install_yamls
37+ - github.com/openstack-k8s-operators/edpm-ansible
3638 vars :
3739 roles_dir : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/roles/{{ TEST_RUN }}"
3840 mol_config_dir : " {{ ansible_user_dir }}/{{ zuul.projects['github.com/openstack-k8s-operators/ci-framework'].src_dir }}/.config/molecule/config_local.yml"
You can’t perform that action at this time.
0 commit comments