You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Reproducer] Add support for disabling ocp overlays
This patch adds a new top level variable `cifmw_use_ocp_overlay` used
to control whether the OCP VMs created by dev_scripts via the reproducer
role use image overlays or not.
Prior to this patch the use of image overlays was not configurable, while image overlays are useful for local deployments, in CI they are
not used. The downside to image overlays is the process to create them
takes a very long time.
The OCP cluster needs come up and stabilize, then we shut the VMs down and copy the images to use as base images, we then need to start the
OCP VMs again and wait for it to stabilize, this is all wasted time
because in CI environments we start fresh every time.
This patch also removes the undocumented internal variable
`cifmw_use_reproducer` and it's use replaced with
`cifmw_use_ocp_overlay`
Jira: https://issues.redhat.com/browse/OSPRH-7771
Copy file name to clipboardExpand all lines: docs/source/usage/01_usage.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,7 @@ are shared among multiple roles:
66
66
-`cifmw_nolog`: (Bool) Toggle `no_log` value for selected tasks. Defaults to `true` (hiding those logs by default).
67
67
-`cifmw_parent_scenario`: (String or List(String)) path to existing scenario/parameter file to inherit from.
68
68
-`cifmw_configure_switches`: (Bool) Specifies whether switches should be configured. Computes in `reproducer.yml` playbook. Defaults to `false`.
69
+
-`cifmw_use_ocp_overlay`: (Boolean) Specifies whether OCP nodes deployed via devscripts should use overlay images. Using overlay images speeds up the redeployment when using the reproducer role locally but in CI each job is cleaned up and redeployed. Creating the overlay image takes time so should be disabled when not used. Defaults to `true`.
69
70
-`cifmw_crc_default_network`: (String) name of the untagged network used to address DNS on the crc node. Default is `default`.
70
71
-`cifmw_run_operators_compliance_scans`: (Bool) Specifies whether to run operator compliance scans. Defaults to `false`.
71
72
-`cifmw_run_compute_compliance_scans`: (Bool) Specifies whether to run compliance scans on the first compute. Defaults to `false`.
0 commit comments