Skip to content

Commit

Permalink
Provisioning test workflow name changes
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Ganar <[email protected]>
  • Loading branch information
shubhamsg199 committed Aug 30, 2024
1 parent 1429242 commit a578a63
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 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
8 changes: 4 additions & 4 deletions pytest_fixtures/component/provision_pxe.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ def module_provisioning_sat(
provisioning_domain_name = f"{gen_string('alpha').lower()}.foo"

broker_data_out = Broker().execute(
workflow="configure-install-sat-provisioning-rhv",
artifacts="last",
workflow=settings.provisioning.provisioning_sat_workflow,
artifacts='last',
target_vlan_id=settings.provisioning.vlan_id,
target_host=sat.name,
provisioning_dns_zone=provisioning_domain_name,
Expand Down Expand Up @@ -217,7 +217,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 @@ -239,7 +239,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 a578a63

Please sign in to comment.