Update execute_shipyard_action Script
The CI/CD team has pointed out that they are experiencing problems in the pipeline while running the script as the wrong position was queried for the action_lifecycle. This has happened due to recent updates to the Shipyard API/CLI. This p.s. will update the script, i.e. change from position 29 to 8. Change-Id: Icd30fb43791e071207220f150886ae6201ed9e02
This commit is contained in:
parent
08e0f2987c
commit
b944ba666f
@ -116,7 +116,7 @@ run_action () {
|
||||
do
|
||||
# Get Current State of Action Lifecycle
|
||||
describe_action=`${base_docker_command} ${SHIPYARD_IMAGE} describe ${action_id}`
|
||||
action_lifecycle=`echo ${describe_action} | awk '{print $29}'`
|
||||
action_lifecycle=`echo ${describe_action} | awk '{print $8}'`
|
||||
|
||||
if [[ $action_lifecycle == "Complete" ]]; then
|
||||
echo -e '\nSuccessfully performed' ${action}
|
||||
|
Loading…
x
Reference in New Issue
Block a user