Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.buildout
Commits
fd7dbd6e
Commit
fd7dbd6e
authored
Aug 12, 2016
by
André Anjos
💬
Browse files
[ci] Defer uploading to scripts which are downloaded
parent
1af1da36
Pipeline
#3079
failed with stages
in 13 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fd7dbd6e
...
...
@@ -92,8 +92,11 @@ variables:
only
:
-
master
-
tags
before_script
:
-
curl --silent https://gitlab.idiap.ch/bob/bob/snippets/8/raw | tr -d '\r' > upload-sphinx.sh
-
chmod 755 upload-wheel.sh
script
:
-
curl --silent --insecure --upload-file dist/*.whl https://${DOCUSER}:${DOCPASS}@www.idiap.ch/software/bob/wheels-upload/gitlab/
-
./upload-wheel.sh
# Template for (latest) documentation upload stage
...
...
@@ -102,16 +105,11 @@ variables:
stage
:
docs
only
:
-
master
before_script
:
-
curl --silent https://gitlab.idiap.ch/bob/bob/snippets/9/raw | tr -d '\r' > upload-sphinx.sh
-
chmod 755 upload-sphinx.sh
script
:
-
echo "repo=${CI_PROJECT_PATH}" > sphinx/.gitlab-ci.info
-
echo "branch=${CI_BUILD_REF_NAME}" >> sphinx/.gitlab-ci.info
-
echo "tag=${CI_BUILD_TAG}" >> sphinx/.gitlab-ci.info
-
echo "build=${CI_BUILD_ID}" >> sphinx/.gitlab-ci.info
-
echo "commit=${CI_BUILD_REF}" >> sphinx/.gitlab-ci.info
-
echo "runner=${CI_RUNNER_DESCRIPTION}" >> sphinx/.gitlab-ci.info
-
tar cfj ${CI_PROJECT_NAME}-${CI_BUILD_REF}.tar.bz2 sphinx
-
curl --silent --insecure --upload-file *.tar.bz2 https://${DOCUSER}:${DOCPASS}@www.idiap.ch/software/bob/docs-upload/
-
./upload-sphinx.sh
# 2) Package specific instructions (you may tune this if needed)
...
...
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