Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HowToGitLabRunner
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISAS-FSD
HowToGitLabRunner
Commits
834f7311
Commit
834f7311
authored
5 years ago
by
Nicolas Borboën
Browse files
Options
Downloads
Patches
Plain Diff
Got it, I think
parent
97bab2d3
No related branches found
No related tags found
No related merge requests found
Pipeline
#16558
waiting for manual action
Stage: test
Stage: build
Stage: deploy
Stage: control
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deploy.sh
+1
-1
1 addition, 1 deletion
deploy.sh
with
1 addition
and
1 deletion
deploy.sh
+
1
−
1
View file @
834f7311
...
@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git"
...
@@ -37,7 +37,7 @@ git remote set-url origin "git@gitlab.epfl.ch:idevelop/howtogitlabrunner.git"
git push
-f
--tags
git push
-f
--tags
echo
"END OF PUSH"
echo
"END OF PUSH"
tee_stderr
=
"strace -o /tmp/strace perl -pe
'
STDERR->print(
\$
_);warn(
\$
!)
'
"
tee_stderr
=
"strace -o /tmp/strace perl -pe STDERR->print(
\$
_);warn(
\$
!)"
echo
"BEGIN UPLOAD"
echo
"BEGIN UPLOAD"
UPLOADED_FILE_URL
=
"
$(
curl
--request
POST
--header
"Private-Token:
${
MY_TOKEN
}
"
--form
"file=@README.pdf"
"https://gitlab.epfl.ch/api/v4/projects/
$PROJECT_ID
/uploads"
|
$tee_stderr
| jq
-r
.url
)
"
UPLOADED_FILE_URL
=
"
$(
curl
--request
POST
--header
"Private-Token:
${
MY_TOKEN
}
"
--form
"file=@README.pdf"
"https://gitlab.epfl.ch/api/v4/projects/
$PROJECT_ID
/uploads"
|
$tee_stderr
| jq
-r
.url
)
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment