Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .config/molecule/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ platforms:

provisioner:
name: ansible
inventory:
links:
group_vars: ../../../../group_vars/
config_options:
defaults:
fact_caching: jsonfile
Expand Down
3 changes: 3 additions & 0 deletions .config/molecule/config_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ provisioner:
# all:
# cifmw_discover_latest_image_qcow_prefix: "CentOS-Stream-GenericCloud-9-20240506"

inventory:
links:
group_vars: ../../../../group_vars/
config_options:
defaults:
fact_caching: jsonfile
Expand Down
2 changes: 2 additions & 0 deletions .config/molecule/config_podman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ provisioner:
hosts:
instance:
ansible_python_interpreter: /usr/bin/python3
links:
group_vars: ../../../../group_vars/
name: ansible
log: true
env:
Expand Down
4 changes: 4 additions & 0 deletions group_vars/molecule/cifmw_snr_nhc_molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cifmw_snr_nhc_kubeconfig: "/tmp/kubeconfig"
cifmw_snr_nhc_kubeadmin_password_file: "/tmp/kubeadmin-password"
cifmw_snr_nhc_namespace: "test-workload-availability"
ansible_python_interpreter: /usr/bin/python3
2 changes: 2 additions & 0 deletions group_vars/molecule/devscript_molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
cifmw_devscripts_config_overrides_patch_01_override_br_management:
external_bootstrap_mac: '52:54:ab:83:31:87'
8 changes: 8 additions & 0 deletions group_vars/molecule/rhol_crc_molecule.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
cifmw_rhol_crc_binary_folder: "/usr/local/bin"
# If you want to run this job on your own node,
# and if you don't have CRC pre-provisioned, you can
# uncomment and tweak the following content
#
# cifmw_manage_secrets_pullsecret_content: |
# your pull-secret
# setup_crc: true
33 changes: 33 additions & 0 deletions roles/ci_multus/molecule/default/host_vars/instance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
_expected_multus_networks:
- default
- patchnetwork
- bridge-to-linux-bridge
cifmw_ci_multus_net_info_patch_1:
patchnetwork:
gw_v4: 192.168.122.1
network_name: patchnetwork
network_v4: 192.168.122.0/24
interface_name: eth2
tools:
multus:
ipv4_ranges:
- start: 192.168.122.30
end: 192.168.122.70
multus_type: macvlan
cifmw_ci_multus_net_info_patch_2:
bridge-to-linux-bridge:
gw_v4: 192.168.122.1
network_name: bridge-to-linux-bridge
network_v4: 192.168.122.0/24
interface_name: eth1
tools:
multus:
ipv4_ranges:
- start: 192.168.122.30
end: 192.168.122.70
multus_type: bridge
multus_attach: linux-bridge

cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
cifmw_openshift_kubeconfig: "{{ ansible_user_dir }}/.crc/machines/crc/kubeconfig"
testpod_name: "pod-testnad"
37 changes: 2 additions & 35 deletions roles/ci_multus/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,41 +10,8 @@ provisioner:
playbooks:
side_effect: side_effect.yml
inventory:
host_vars:
instance:
_expected_multus_networks:
- default
- patchnetwork
- bridge-to-linux-bridge
cifmw_ci_multus_net_info_patch_1:
patchnetwork:
gw_v4: 192.168.122.1
network_name: patchnetwork
network_v4: 192.168.122.0/24
interface_name: eth2
tools:
multus:
ipv4_ranges:
- start: 192.168.122.30
end: 192.168.122.70
multus_type: macvlan
cifmw_ci_multus_net_info_patch_2:
bridge-to-linux-bridge:
gw_v4: 192.168.122.1
network_name: bridge-to-linux-bridge
network_v4: 192.168.122.0/24
interface_name: eth1
tools:
multus:
ipv4_ranges:
- start: 192.168.122.30
end: 192.168.122.70
multus_type: bridge
multus_attach: linux-bridge

cifmw_path: "{{ ansible_user_dir }}/.crc/bin:{{ ansible_user_dir }}/.crc/bin/oc:{{ ansible_user_dir }}/bin:{{ ansible_env.PATH }}"
cifmw_openshift_kubeconfig: "{{ ansible_user_dir }}/.crc/machines/crc/kubeconfig"
testpod_name: "pod-testnad"
links:
host_vars: ./host_vars/
prerun: false
scenario:
test_sequence:
Expand Down
14 changes: 14 additions & 0 deletions roles/ci_multus/molecule/local/host_vars/instance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
_expected_multus_networks:
- default
- patchnetwork
cifmw_ci_multus_net_info_patch_1:
patchnetwork:
gw_v4: 192.168.122.1
network_name: patchnetwork
network_v4: 192.168.122.0/24
interface_name: eth2
tools:
multus:
ipv4_ranges:
- start: 192.168.122.30
end: 192.168.122.70
18 changes: 2 additions & 16 deletions roles/ci_multus/molecule/local/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,8 @@ provisioner:
playbooks:
side_effect: side_effect.yml
inventory:
host_vars:
instance:
_expected_multus_networks:
- default
- patchnetwork
cifmw_ci_multus_net_info_patch_1:
patchnetwork:
gw_v4: 192.168.122.1
network_name: patchnetwork
network_v4: 192.168.122.0/24
interface_name: eth2
tools:
multus:
ipv4_ranges:
- start: 192.168.122.30
end: 192.168.122.70
links:
host_vars: ./host_vars/

prerun: false
scenario:
Expand Down
2 changes: 2 additions & 0 deletions roles/ci_multus/molecule/local_ipv6/host_vars/instance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_expected_multus_networks:
- default
6 changes: 2 additions & 4 deletions roles/ci_multus/molecule/local_ipv6/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ provisioner:
playbooks:
side_effect: side_effect.yml
inventory:
host_vars:
instance:
_expected_multus_networks:
- default
links:
host_vars: ./host_vars/

prerun: false
scenario:
Expand Down
10 changes: 3 additions & 7 deletions roles/cifmw_snr_nhc/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ driver:

platforms:
- name: instance
groups:
- molecule
- rhol_crc_molecule
image: registry.access.redhat.com/ubi9/ubi:latest
pre_build_image: true
volumes:
Expand All @@ -24,13 +27,6 @@ platforms:

provisioner:
name: ansible
inventory:
group_vars:
all:
cifmw_snr_nhc_kubeconfig: "/tmp/kubeconfig"
cifmw_snr_nhc_kubeadmin_password_file: "/tmp/kubeadmin-password"
cifmw_snr_nhc_namespace: "test-workload-availability"
ansible_python_interpreter: /usr/bin/python3

verifier:
name: ansible
Expand Down
10 changes: 5 additions & 5 deletions roles/devscripts/molecule/check_cluster_status/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

log: true

platforms:
- name: instance
groups:
- devscript_molecule

provisioner:
name: ansible
log: true
inventory:
group_vars:
all:
cifmw_devscripts_config_overrides_patch_01_override_br_management:
external_bootstrap_mac: '52:54:ab:83:31:87'
11 changes: 6 additions & 5 deletions roles/devscripts/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@

log: true

platforms:
- name: instance
groups:
- molecule
- devscript_molecule

provisioner:
name: ansible
log: true
inventory:
group_vars:
all:
cifmw_devscripts_config_overrides_patch_01_override_br_management:
external_bootstrap_mac: '52:54:ab:83:31:87'
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
8 changes: 2 additions & 6 deletions roles/libvirt_manager/molecule/check_dns/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ provisioner:
name: ansible
log: true
inventory:
host_vars:
instance:
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
links:
host_vars: ./host_vars/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
8 changes: 2 additions & 6 deletions roles/libvirt_manager/molecule/deploy_layout/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ provisioner:
name: ansible
log: true
inventory:
host_vars:
instance:
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
links:
host_vars: ./host_vars/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ provisioner:
name: ansible
log: true
inventory:
host_vars:
instance:
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
links:
host_vars: ./host_vars/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
8 changes: 2 additions & 6 deletions roles/libvirt_manager/molecule/ocp_layout/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,5 @@ provisioner:
name: ansible
log: true
inventory:
host_vars:
instance:
cifmw_libvirt_manager_configuration_patch_01_more_computes:
vms:
compute:
amount: 2
links:
host_vars: ./host_vars/
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cifmw_networking_mapper_definition_patch_01:
networks:
internalapi:
vlan: 100
8 changes: 2 additions & 6 deletions roles/networking_mapper/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ provisioner:
env:
ANSIBLE_STDOUT_CALLBACK: yaml
inventory:
host_vars:
instance:
cifmw_networking_mapper_definition_patch_01:
networks:
internalapi:
vlan: 100
link:
host_vars: ./host_vars/
17 changes: 6 additions & 11 deletions roles/rhol_crc/molecule/add_crc_creds/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
---
log: true

platforms:
- name: instance
groups:
- molecule
- rhol_crc_molecule

provisioner:
name: ansible
log: true
inventory:
group_vars:
all:
cifmw_rhol_crc_binary_folder: "/usr/local/bin"
# If you want to run this job on your own node,
# and if you don't have CRC pre-provisioned, you can
# uncomment and tweak the following content
#
# cifmw_manage_secrets_pullsecret_content: |
# your pull-secret
# setup_crc: true

# Enforce scenario steps to NOT
# run "verify" as a standalone play
Expand Down
10 changes: 6 additions & 4 deletions roles/rhol_crc/molecule/binary/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
log: true

platforms:
- name: instance
groups:
- molecule
- rhol_crc_molecule

provisioner:
name: ansible
log: true
inventory:
group_vars:
all:
cifmw_rhol_crc_binary_folder: "/usr/local/bin"

# Enforce scenario steps to NOT
# run "verify" as a standalone play
Expand Down
10 changes: 6 additions & 4 deletions roles/rhol_crc/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
---
log: true

platforms:
- name: instance
groups:
- molecule
- rhol_crc_molecule

provisioner:
name: ansible
log: true
inventory:
group_vars:
all:
cifmw_rhol_crc_binary_folder: "/usr/local/bin"

# Enforce scenario steps to NOT
# run "verify" as a standalone play
Expand Down
Loading