Skip to content
Snippets Groups Projects
Commit 6d112da9 authored by Bo-Chun Chen's avatar Bo-Chun Chen
Browse files

Remove unnecessary query

parent 4aefdc03
No related branches found
No related tags found
1 merge request!81Split image clean up job to integration project
Pipeline #10457 failed with stages
in 1 hour, 51 minutes, and 44 seconds
......@@ -442,7 +442,6 @@ cleanup_knightly:
tags:
- build
script:
- OS_PROJECT_ID=$(openstack application credential show $OS_APPLICATION_CREDENTIAL_ID -f value -c project_id)
- >
SERVER_TO_BE_DELETE=($(openstack server list --name $OOD_INSTANCE_NAME --sort-column Image --sort-descending -f value -c ID
| awk -v NSTK=$NUM_SERVER_TO_KEEP '{count++}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment