Skip to content

Commit ce34449

Browse files
committed
DNM Add molecule jobs from edpm-ansible
The edpm-ansible folks would like to run own job also when our changes are related to molecule job. Let's trigger some of they jobs here. Depends-On: #3385 Signed-off-by: Daniel Pawlik <[email protected]>
1 parent 67de624 commit ce34449

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

ci/playbooks/molecule-test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
- name: "Run ci/playbooks/molecule-test.yml"
33
hosts: "{{ cifmw_zuul_target_host | default('controller') }}"
44
gather_facts: false
5+
vars:
6+
zuul:
7+
branch: main
8+
items:
9+
- project:
10+
short_name: ci-framework
11+
name: openstack-k8s-operators/ci-framework
12+
src_dir: src/github.com/openstack-k8s-operators/ci-framework
513
tasks:
614
- name: Gather required facts
715
ansible.builtin.setup:
@@ -49,6 +57,5 @@
4957
chdir: "{{ roles_dir }}"
5058
cmd: >-
5159
set -o pipefail;
52-
mkdir -p {{ roles_dir }}/../../group_vars ;
5360
molecule -c {{ mol_config_dir }} test --all |
5461
tee {{ ansible_user_dir }}/ci-framework-data/logs/molecule-execution.log

roles/cifmw_cephadm/molecule/default/molecule.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
# Mainly used to override the defaults set in .config/molecule/
33
# By default, it uses the "config_podman.yml" - in CI, it will use
4-
# "config_local.yml".
4+
# "config_local.yml"
5+
#
56
log: true
67

78
provisioner:

scripts/create_role_molecule.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from jinja2 import Environment, FileSystemLoader
2222

2323
additional_molecule_jobs = [
24-
"edpm-ansible-molecule-edpm_kernel",
2524
"edpm-ansible-molecule-edpm_podman",
2625
"edpm-ansible-molecule-edpm_ovs",
2726
]

zuul.d/projects.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@
104104
- cifmw-molecule-update_containers
105105
- cifmw-molecule-validations
106106
- cifmw-molecule-virtualbmc
107-
- edpm-ansible-molecule-edpm_kernel
108107
- edpm-ansible-molecule-edpm_podman
109108
- edpm-ansible-molecule-edpm_ovs
110109
github-post:

0 commit comments

Comments
 (0)