Skip to content

Commit

Permalink
Adding molecule tests for edpm_neutrond_dhcp role in the zuul CI
Browse files Browse the repository at this point in the history
Converge step is now run as root.

Signed-off-by: Jiri Podivin <[email protected]>
  • Loading branch information
jpodivin committed Oct 24, 2023
1 parent 41da5bf commit c5b2ebc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/edpm_neutron_dhcp/molecule/default/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

- name: Converge
hosts: all
become: true
roles:
- role: "edpm_neutron_dhcp"
vars:
Expand Down
2 changes: 1 addition & 1 deletion roles/edpm_neutron_dhcp/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependency:
options:
role-file: collections.yml
driver:
name: podman
name: delegated
platforms:
- command: /sbin/init
dockerfile: ../../../../molecule/common/Containerfile.j2
Expand Down
5 changes: 5 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@
parent: edpm-ansible-molecule-base
vars:
TEST_RUN: edpm_ovn_bgp_agent
- job:
name: edpm-ansible-molecule-edpm_neutron_dhcp
parent: edpm-ansible-molecule-base
vars:
TEST_RUN: edpm_neutron_dhcp
1 change: 1 addition & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
- edpm-ansible-molecule-edpm_frr
- edpm-ansible-molecule-edpm_iscsid
- edpm-ansible-molecule-edpm_ovn_bgp_agent
- edpm-ansible-molecule-edpm_neutron_dhcp

0 comments on commit c5b2ebc

Please sign in to comment.