File tree Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Expand file tree Collapse file tree 4 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 4949 chdir : " {{ roles_dir }}"
5050 cmd : >-
5151 set -o pipefail;
52+ mkdir -p {{ roles_dir }}/../../group_vars ;
5253 molecule -c {{ mol_config_dir }} test --all |
5354 tee {{ ansible_user_dir }}/ci-framework-data/logs/molecule-execution.log
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"
Original file line number Diff line number Diff line change 104104 - cifmw-molecule-update_containers
105105 - cifmw-molecule-validations
106106 - cifmw-molecule-virtualbmc
107+ - edpm-ansible-molecule-edpm_kernel
108+ - edpm-ansible-molecule-edpm_podman
109+ - edpm-ansible-molecule-edpm_ovs
107110 github-post :
108111 jobs :
109112 - build-push-container-cifmw-client-post
You can’t perform that action at this time.
0 commit comments