Skip to content

Commit

Permalink
Merge pull request #444 from jpodivin/molecule/edpm_iscsid
Browse files Browse the repository at this point in the history
Adding edpm_iscsid molecule job
  • Loading branch information
openshift-ci[bot] authored Oct 17, 2023
2 parents 0dd4da4 + e8bbfc6 commit c843093
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
1 change: 0 additions & 1 deletion .github/workflows/molecule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ jobs:
# Following roles will be included in test matrix only after their
# molecule tests deemed functional and stable
# - edpm_ovn_bgp_agent
# - edpm_iscsid

runs-on: ubuntu-22.04
steps:
Expand Down
1 change: 1 addition & 0 deletions roles/edpm_iscsid/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

- name: Converge
hosts: all
become: true
tasks:
- name: Install iscsid
ansible.builtin.import_role:
Expand Down
16 changes: 6 additions & 10 deletions roles/edpm_iscsid/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ dependency:
options:
role-file: collections.yml
driver:
name: podman
name: delegated
options:
managed: false
ansible_connection_options:
ansible_connection: local
platforms:
- command: /sbin/init
dockerfile: ../../../../molecule/common/Containerfile.j2
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
name: instance
privileged: true
registry:
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
ulimits:
- host
- name: instance
provisioner:
log: true
name: ansible
Expand Down
3 changes: 1 addition & 2 deletions roles/edpm_iscsid/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
- iproute
- podman
- name: Prepare
hosts: all
become: true
hosts: instance
roles:
- role: osp.edpm.env_data
5 changes: 5 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,8 @@
parent: edpm-ansible-molecule-base
vars:
TEST_RUN: edpm_frr
- job:
name: edpm-ansible-molecule-edpm_iscsid
parent: edpm-ansible-molecule-base
vars:
TEST_RUN: edpm_iscsid
1 change: 1 addition & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
- edpm-ansible-molecule-edpm_libvirt
- edpm-ansible-molecule-edpm_nova
- edpm-ansible-molecule-edpm_frr
- edpm-ansible-molecule-edpm_iscsid

0 comments on commit c843093

Please sign in to comment.