github.com/freiheit-com/kuberpult@v1.24.2-0.20240328135542-315d5630abe6/infrastructure/scripts/create-testdata/delete-app-lock.sh (about) 1 #!/bin/bash 2 set -eu 3 set -o pipefail 4 set -x 5 6 env=staging 7 8 lockId=${2} 9 app=${1} 10 url="http://localhost:8081/environments/${env}/applications/${app}/locks/${lockId}" 11 12 curl -X DELETE "$url" -H 'Content-Type: application/json' 13 14 echo 15 16 17