Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.admin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.admin
Commits
3393e798
Commit
3393e798
authored
8 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Simplify ci scripts not to depend on snippets any longer
parent
110789b0
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
templates/ci-for-cxx-extensions.yml
+12
-12
12 additions, 12 deletions
templates/ci-for-cxx-extensions.yml
templates/ci-for-python-only.yml
+9
-14
9 additions, 14 deletions
templates/ci-for-python-only.yml
with
21 additions
and
26 deletions
templates/ci-for-cxx-extensions.yml
+
12
−
12
View file @
3393e798
...
@@ -27,9 +27,9 @@ variables:
...
@@ -27,9 +27,9 @@ variables:
stage
:
build
stage
:
build
before_script
:
before_script
:
-
git clean -ffdx
-
git clean -ffdx
-
curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/bootstrap
-conda
.sh" > bootstrap
-conda
.sh
-
curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/
ci/
bootstrap.sh" > bootstrap.sh
-
chmod 755 ./bootstrap
-conda
.sh
-
chmod 755 ./bootstrap.sh
-
./bootstrap
-conda
.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
-
./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
variables
:
&build_variables
variables
:
&build_variables
BOB_DOCUMENTATION_SERVER
:
"
http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/"
BOB_DOCUMENTATION_SERVER
:
"
http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/"
script
:
script
:
...
@@ -41,7 +41,7 @@ variables:
...
@@ -41,7 +41,7 @@ variables:
artifacts
:
artifacts
:
expire_in
:
1 day
expire_in
:
1 day
paths
:
paths
:
-
bootstrap
-conda
.sh
-
bootstrap.sh
-
dist/
-
dist/
-
sphinx/
-
sphinx/
...
@@ -69,7 +69,7 @@ variables:
...
@@ -69,7 +69,7 @@ variables:
.test_template
:
&test_job
.test_template
:
&test_job
stage
:
test
stage
:
test
before_script
:
before_script
:
-
./bootstrap
-conda
.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
-
./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
-
source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX}
-
source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX}
-
pip install --use-wheel --no-index --pre dist/*.whl
-
pip install --use-wheel --no-index --pre dist/*.whl
script
:
script
:
...
@@ -92,10 +92,10 @@ variables:
...
@@ -92,10 +92,10 @@ variables:
-
master
-
master
-
tags
-
tags
before_script
:
before_script
:
-
curl --silent https://gitlab.idiap.ch/bob/bob
/snippets/8/raw | tr -d '\r' > upload-
wheel.sh
-
curl --silent https://gitlab.idiap.ch/bob/bob
.admin/raw/master/ci/wheels.sh >
wheel
s
.sh
-
chmod 755
upload-
wheel.sh
-
chmod 755 wheel
s
.sh
script
:
script
:
-
./
upload-
wheel.sh
-
./wheel
s
.sh
# Template for (latest) documentation upload stage
# Template for (latest) documentation upload stage
...
@@ -105,10 +105,10 @@ variables:
...
@@ -105,10 +105,10 @@ variables:
only
:
only
:
-
master
-
master
before_script
:
before_script
:
-
curl --silent https://gitlab.idiap.ch/bob/bob
/snippets/9/raw | tr -d '\r' > upload-sphinx
.sh
-
curl --silent https://gitlab.idiap.ch/bob/bob
.admin/raw/master/ci/docs.sh > docs
.sh
-
chmod 755
upload-sphinx
.sh
-
chmod 755
docs
.sh
script
:
script
:
-
./
upload-sphinx
.sh
-
./
docs
.sh
# 2) Package specific instructions (you may tune this if needed)
# 2) Package specific instructions (you may tune this if needed)
...
@@ -268,4 +268,4 @@ wheels_macosx_35:
...
@@ -268,4 +268,4 @@ wheels_macosx_35:
dependencies
:
dependencies
:
-
build_macosx_35
-
build_macosx_35
tags
:
tags
:
-
conda-macosx
-
conda-macosx
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/ci-for-python-only.yml
+
9
−
14
View file @
3393e798
...
@@ -27,9 +27,9 @@ variables:
...
@@ -27,9 +27,9 @@ variables:
stage
:
build
stage
:
build
before_script
:
before_script
:
-
git clean -ffdx
-
git clean -ffdx
-
curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/bootstrap
-conda
.sh" > bootstrap
-conda
.sh
-
curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/master/
ci/
bootstrap.sh" > bootstrap.sh
-
chmod 755 ./bootstrap
-conda
.sh
-
chmod 755 ./bootstrap.sh
-
./bootstrap
-conda
.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
-
./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
variables
:
&build_variables
variables
:
&build_variables
BOB_DOCUMENTATION_SERVER
:
"
http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/"
BOB_DOCUMENTATION_SERVER
:
"
http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/"
script
:
script
:
...
@@ -42,7 +42,7 @@ variables:
...
@@ -42,7 +42,7 @@ variables:
artifacts
:
artifacts
:
expire_in
:
1 day
expire_in
:
1 day
paths
:
paths
:
-
bootstrap
-conda
.sh
-
bootstrap.sh
-
dist/
-
dist/
-
sphinx/
-
sphinx/
...
@@ -70,7 +70,7 @@ variables:
...
@@ -70,7 +70,7 @@ variables:
.test_template
:
&test_job
.test_template
:
&test_job
stage
:
test
stage
:
test
before_script
:
before_script
:
-
./bootstrap
-conda
.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
-
./bootstrap.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
-
source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX}
-
source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX}
-
pip install --use-wheel --no-index --pre dist/*.whl
-
pip install --use-wheel --no-index --pre dist/*.whl
script
:
script
:
...
@@ -93,10 +93,10 @@ variables:
...
@@ -93,10 +93,10 @@ variables:
-
master
-
master
-
tags
-
tags
before_script
:
before_script
:
-
curl --silent https://gitlab.idiap.ch/bob/bob
/snippets/8/raw | tr -d '\r' > upload-wheel
.sh
-
curl --silent https://gitlab.idiap.ch/bob/bob
.admin/raw/master/ci/docs.sh > docs
.sh
-
chmod 755
upload-wheel
.sh
-
chmod 755
docs
.sh
script
:
script
:
-
./
upload-wheel
.sh
-
./
docs
.sh
# Template for (latest) documentation upload stage
# Template for (latest) documentation upload stage
...
@@ -105,11 +105,6 @@ variables:
...
@@ -105,11 +105,6 @@ variables:
stage
:
docs
stage
:
docs
only
:
only
:
-
master
-
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
:
-
./upload-sphinx.sh
# 2) Package specific instructions (you may tune this if needed)
# 2) Package specific instructions (you may tune this if needed)
...
@@ -247,4 +242,4 @@ test_macosx_35:
...
@@ -247,4 +242,4 @@ test_macosx_35:
dependencies
:
dependencies
:
-
build_macosx_35
-
build_macosx_35
tags
:
tags
:
-
conda-macosx
-
conda-macosx
\ No newline at end of file
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