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

Merge branch...

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

Resolve "'start-failover-procedure.sh' 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/source_vars_template.sh|cut -d" " -f2)
done < <(grep -Eho 'export \w+' "${SCRIPT_DIR}/source_vars_template.sh"|cut -d" " -f2)
PROJECT_ID=${GITLAB_MIGRATION_PROJECT_PATH/\//%2f}
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
......
Markdown is supported
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