Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.devtools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
bob
bob.devtools
Commits
9cf135a8
Commit
9cf135a8
authored
5 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[ci] Use extends instead of template-replacement in own ci file
parent
b50ae184
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!103
Enable py37
Pipeline
#32959
passed
5 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+17
-22
17 additions, 22 deletions
.gitlab-ci.yml
with
17 additions
and
22 deletions
.gitlab-ci.yml
+
17
−
22
View file @
9cf135a8
...
@@ -12,57 +12,54 @@ stages:
...
@@ -12,57 +12,54 @@ stages:
# Build targets
# Build targets
.build_template
:
&build_job
.build_template
:
stage
:
build
stage
:
build
script
:
script
:
-
python3 ./bob/devtools/bootstrap.py -vv build
-
python3 ./bob/devtools/bootstrap.py -vv build
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
-
conda activate base
-
conda activate base
-
python3 ./bob/devtools/build.py -vv
-
python3 ./bob/devtools/build.py -vv
cache
:
&build_caches
artifacts
:
expire_in
:
1 week
cache
:
paths
:
paths
:
-
miniconda.sh
-
miniconda.sh
-
${CONDA_ROOT}/pkgs/*.tar.bz2
-
${CONDA_ROOT}/pkgs/*.tar.bz2
-
${CONDA_ROOT}/pkgs/urls.txt
-
${CONDA_ROOT}/pkgs/urls.txt
.build_linux_template
:
&linux_build_job
.build_linux_template
:
<<
:
*
build_
job
extends
:
.
build_
template
tags
:
tags
:
-
docker
-
docker
image
:
continuumio/conda-concourse-ci
image
:
continuumio/conda-concourse-ci
artifacts
:
artifacts
:
expire_in
:
1 week
paths
:
paths
:
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
cache
:
cache
:
<<
:
*build_caches
key
:
"
linux-cache"
key
:
"
linux-cache"
.build_macosx_template
:
&macosx_build_job
.build_macosx_template
:
<<
:
*
build_
job
extends
:
.
build_
template
tags
:
tags
:
-
macosx
-
macosx
artifacts
:
artifacts
:
expire_in
:
1 week
paths
:
paths
:
-
${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
cache
:
cache
:
<<
:
*build_caches
key
:
"
macosx-cache"
key
:
"
macosx-cache"
build_linux_36
:
build_linux_36
:
<<
:
*linux_build_job
extends
:
.build_linux_template
variables
:
variables
:
PYTHON_VERSION
:
"
3.6"
PYTHON_VERSION
:
"
3.6"
build_linux_37
:
build_linux_37
:
<<
:
*linux_build_job
extends
:
.build_linux_template
variables
:
variables
:
PYTHON_VERSION
:
"
3.7"
PYTHON_VERSION
:
"
3.7"
BUILD_EGG
:
"
true"
BUILD_EGG
:
"
true"
...
@@ -72,28 +69,26 @@ build_linux_37:
...
@@ -72,28 +69,26 @@ build_linux_37:
-
conda activate base
-
conda activate base
-
python3 ./bob/devtools/build.py -vv --twine-check
-
python3 ./bob/devtools/build.py -vv --twine-check
artifacts
:
artifacts
:
expire_in
:
1 week
paths
:
paths
:
-
dist/*.zip
-
dist/*.zip
-
sphinx
-
sphinx
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/noarch/*.tar.bz2
build_macosx_36
:
build_macosx_36
:
<<
:
*macosx_build_job
extends
:
.build_macosx_template
variables
:
variables
:
PYTHON_VERSION
:
"
3.6"
PYTHON_VERSION
:
"
3.6"
build_macosx_37
:
build_macosx_37
:
<<
:
*macosx_build_job
extends
:
.build_macosx_template
variables
:
variables
:
PYTHON_VERSION
:
"
3.7"
PYTHON_VERSION
:
"
3.7"
# Deploy targets
# Deploy targets
.deploy_template
:
&deploy_job
.deploy_template
:
stage
:
deploy
stage
:
deploy
script
:
script
:
-
python3 ./bob/devtools/bootstrap.py -vv local base
-
python3 ./bob/devtools/bootstrap.py -vv local base
...
@@ -109,7 +104,7 @@ build_macosx_37:
...
@@ -109,7 +104,7 @@ build_macosx_37:
-
build_macosx_37
-
build_macosx_37
tags
:
tags
:
-
docker
-
docker
cache
:
&build_caches
cache
:
paths
:
paths
:
-
miniconda.sh
-
miniconda.sh
-
${CONDA_ROOT}/pkgs/*.tar.bz2
-
${CONDA_ROOT}/pkgs/*.tar.bz2
...
@@ -117,14 +112,14 @@ build_macosx_37:
...
@@ -117,14 +112,14 @@ build_macosx_37:
deploy_beta
:
deploy_beta
:
<<
:
*
deploy_
job
extends
:
.
deploy_
template
environment
:
beta
environment
:
beta
only
:
only
:
-
master
-
master
deploy_stable
:
deploy_stable
:
<<
:
*
deploy_
job
extends
:
.
deploy_
template
environment
:
stable
environment
:
stable
only
:
only
:
-
/^v\d+\.\d+\.\d+([abc]\d*)?$/
# PEP-440 compliant version (tags)
-
/^v\d+\.\d+\.\d+([abc]\d*)?$/
# PEP-440 compliant version (tags)
...
@@ -152,7 +147,7 @@ pypi:
...
@@ -152,7 +147,7 @@ pypi:
-
build_macosx_37
-
build_macosx_37
tags
:
tags
:
-
docker
-
docker
cache
:
&build_caches
cache
:
paths
:
paths
:
-
miniconda.sh
-
miniconda.sh
-
${CONDA_ROOT}/pkgs/*.tar.bz2
-
${CONDA_ROOT}/pkgs/*.tar.bz2
...
...
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