Skip to content

Commit 127d45e

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 ef17b77 commit 127d45e

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
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:
@@ -44,6 +52,5 @@
4452
chdir: "{{ roles_dir }}"
4553
cmd: >-
4654
set -o pipefail;
47-
mkdir -p {{ roles_dir }}/../../group_vars ;
4855
molecule -c {{ mol_config_dir }} test --all |
4956
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:

0 commit comments

Comments
 (0)