mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 12:01:27 +00:00
ci: sleep 1 before deleting secondary volume
This commit is contained in:
parent
91c22466b1
commit
4920434aec
|
@ -227,6 +227,7 @@ steps:
|
||||||
# as of 2023-12-27 Hetzner ignores "name" query parameter (and others too)!!
|
# as of 2023-12-27 Hetzner ignores "name" query parameter (and others too)!!
|
||||||
- >
|
- >
|
||||||
volume_id="$(jq <<<"$volumes_json" -re "(.volumes[] | select(.name == \"$volume_name\")).id")"
|
volume_id="$(jq <<<"$volumes_json" -re "(.volumes[] | select(.name == \"$volume_name\")).id")"
|
||||||
|
- sleep 1
|
||||||
- >
|
- >
|
||||||
http -d --print=HBb --ignore-stdin DELETE https://api.hetzner.cloud/v1/volumes/$volume_id Authorization:"Bearer $PASSWORD"
|
http -d --print=HBb --ignore-stdin DELETE https://api.hetzner.cloud/v1/volumes/$volume_id Authorization:"Bearer $PASSWORD"
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue