Skip to content

Commit

Permalink
Update Provisioning test workflow names (#14837)
Browse files Browse the repository at this point in the history
Provisioning test workflow name changes

Signed-off-by: Shubham Ganar <[email protected]>
  • Loading branch information
shubhamsg199 authored Apr 22, 2024
1 parent d13439e commit 546bc75
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions conf/provisioning.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ PROVISIONING:
HOST_ROOT_PASSWORD:
HOST_SSH_KEY_PRIV:
HOST_SSH_KEY_PUB:
PROVISIONING_SAT_WORKFLOW:
PROVISIONING_HOST_WORKFLOW:
2 changes: 1 addition & 1 deletion pytest_fixtures/component/provision_capsule_pxe.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def capsule_provisioning_sat(
sat = module_target_sat
provisioning_domain_name = f"{gen_string('alpha').lower()}.foo"
broker_data_out = Broker().execute(
workflow='configure-install-sat-provisioning-rhv',
workflow=settings.provisioning.provisioning_sat_workflow,
artifacts='last',
target_vlan_id=settings.provisioning.vlan_id,
target_host=module_capsule_configured.name,
Expand Down
6 changes: 3 additions & 3 deletions pytest_fixtures/component/provision_pxe.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def module_provisioning_sat(
provisioning_domain_name = f"{gen_string('alpha').lower()}.foo"

broker_data_out = Broker().execute(
workflow='configure-install-sat-provisioning-rhv',
workflow=settings.provisioning.provisioning_sat_workflow,
artifacts='last',
target_vlan_id=settings.provisioning.vlan_id,
target_host=sat.name,
Expand Down Expand Up @@ -223,7 +223,7 @@ def provisioning_host(module_ssh_key_file, pxe_loader):
"" # TODO: Make this an optional fixture parameter (update vm_firmware when adding this)
)
with Broker(
workflow="deploy-configure-pxe-provisioning-host-rhv",
workflow=settings.provisioning.provisioning_host_workflow,
host_class=ContentHost,
target_vlan_id=vlan_id,
target_vm_firmware=pxe_loader.vm_firmware,
Expand All @@ -245,7 +245,7 @@ def provision_multiple_hosts(module_ssh_key_file, pxe_loader, request):
"" # TODO: Make this an optional fixture parameter (update vm_firmware when adding this)
)
with Broker(
workflow="deploy-configure-pxe-provisioning-host-rhv",
workflow=settings.provisioning.provisioning_host_workflow,
host_class=ContentHost,
_count=getattr(request, 'param', 2),
target_vlan_id=vlan_id,
Expand Down

0 comments on commit 546bc75

Please sign in to comment.