Skip to content

Commit

Permalink
Update ods_ci/tests/Resources/CLI/AcceleratorProfiles/AcceleratorProf…
Browse files Browse the repository at this point in the history
…iles.resource

Co-authored-by: Jan Stourac <[email protected]>
  • Loading branch information
FedeAlonso and jstourac authored Mar 4, 2024
1 parent 0c0b4e0 commit f232155
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ Delete All Accelerator Profiles Which Starts With
... value of the OC Accelerator Profile resource
... Uses OC
[Arguments] ${ap_prefix} ${ns}=redhat-ods-applications
${ap_str}= Run oc get acceleratorprofiles -n ${ns} -o json | jq .items[].metadata.name | grep ${ap_prefix} | tr -d '"'
${ap_str}= Run
... oc get acceleratorprofiles -n ${ns} -o json | jq .items[].metadata.name | grep ${ap_prefix} | tr -d '"'
@{ap_list}= Split String ${ap_str} separator=\n
Log List of Accelerator Profiles to be deleted: @{ap_list} console=yes
FOR ${ap_name} IN @{ap_list}
Expand Down

0 comments on commit f232155

Please sign in to comment.