Commit 1e5ab47d authored by Nick Thomas's avatar Nick Thomas
Browse files

Merge branch...

Merge branch '748-start-failover-procedure-sh-has-to-be-run-from-migration-dir-make-more-generic' into 'master'

Resolve "'' has to be run from 'migration' dir, make more generic"

Closes #748

See merge request gitlab-com/migration!192
parents 6597b28a f8e34687
Pipeline #88838 passed with stage
in 14 seconds
......@@ -23,7 +23,7 @@ function createIssue() {
while read -r line; do
# shellcheck disable=SC2001
body=$(echo "$body"| sed "s#__${line}__#${!line}#")
done < <(grep -Eho 'export \w+' ./bin/|cut -d" " -f2)
done < <(grep -Eho 'export \w+' "${SCRIPT_DIR}/"|cut -d" " -f2)
curl --silent --fail --request POST -H "Private-Token: ${GITLAB_TOKEN}" "${GITLAB_INSTANCE}/api/v4/projects/${PROJECT_ID}/issues" --data-urlencode "title=${title}" --data-urlencode "description=${body}" > /dev/null
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment