Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
E
etransafe-text-mining-pipeline
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
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
INB
eTRANSAFE
etransafe-text-mining-pipeline
Commits
122cf4d3
Commit
122cf4d3
authored
Sep 28, 2020
by
jcorvi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update run_gitlab-runner.sh
parent
29fd69a2
Pipeline
#12453
passed with stage
in 5 minutes and 13 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
run_gitlab-runner.sh
run_gitlab-runner.sh
+15
-0
No files found.
run_gitlab-runner.sh
View file @
122cf4d3
...
...
@@ -48,3 +48,18 @@ cp $base_dir/report.html report.html
#git status
#git push origin HEAD:$CI_COMMIT_REF_NAME
# we need to extract the ssh/git URL as the runner uses a tokenized URL
export
CI_PUSH_REPO
=
`
echo
$CI_REPOSITORY_URL
| perl
-pe
's#.*@(.+?(\:\d+)?)/#git@\1:#'
`
# runner runs on a detached HEAD, create a temporary local branch for editing
git checkout
-b
ci_processing
git config
--global
user.name
"My Runner"
git config
--global
user.email
"runner@gitlab.example.org"
git remote set-url
--push
origin
"
${
CI_PUSH_REPO
}
"
# make your changes
touch
test.txt
# push changes
# always return true so that the build does not fail if there are no changes
git push origin ci_processing:
${
CI_BUILD_REF_NAME
}
||
true
\ No newline at end of file
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