Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
migration
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gitlab-com
migration
Commits
f8e34687
Commit
f8e34687
authored
Aug 07, 2018
by
Brett Walker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
find source_vars_template in proper location
parent
6597b28a
Pipeline
#88837
passed with stage
in 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bin/start-failover-procedure.sh
bin/start-failover-procedure.sh
+1
-1
No files found.
bin/start-failover-procedure.sh
View file @
f8e34687
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment