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
d3e10ccd
Commit
d3e10ccd
authored
7 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Simpler template
parent
11d83d6d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!63
Conda package based CI
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/gitlab-ci.yml
+25
-24
25 additions, 24 deletions
templates/gitlab-ci.yml
with
25 additions
and
24 deletions
templates/gitlab-ci.yml
+
25
−
24
View file @
d3e10ccd
# This build file uses template features from YAML so it is generic enough for
# any Bob project. Don't modify it unless you know what you're doing.
# global variables
variables
:
CONDA_ENVS_PATH
:
"
conda-env"
CONDA_BLD_PATH
:
"
conda-env"
CONDA_ROOT
:
"
${CI_PROJECT_DIR}/miniconda"
# Definition of our build pipeline order
stages
:
...
...
@@ -18,60 +15,60 @@ stages:
.build_template
:
&build_job
stage
:
build
before_script
:
-
export PATH=$CONDA_FOLDER/bin:$PATH
-
mkdir _ci
-
curl --silent "https://gitlab.idiap.ch/bob/bob.admin/raw/condapackage/gitlab/install.sh" > _ci/install.sh
-
chmod 755 _ci/install.sh
-
./_ci/install.sh _ci condapackage
#installs ci support scripts
-
./_ci/before_build.sh
variables
:
&build_variables
CONDA_FOLDER
:
"
${CI_PROJECT_DIR}/${CONDA_ENVS_PATH}"
script
:
-
./_ci/build.sh
cache
:
&build_caches
paths
:
-
miniconda.sh
-
${CONDA_ROOT}/pkgs/*.tar.bz2
-
${CONDA_ROOT}/pkgs/urls.txt
.build_linux_template
:
&linux_build_job
<<
:
*build_job
tags
:
-
docker
image
:
continuumio/conda-concourse-ci
artifacts
:
expire_in
:
1 week
paths
:
-
_ci/
-
${CONDA_ENVS_PATH}/linux-64/*.tar.bz2
tags
:
-
docker
image
:
continuumio/conda-concourse-ci
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
cache
:
<<
:
*build_caches
key
:
"
linux-cache"
paths
:
-
${CONDA_ENVS_PATH}/.pkgs/*.tar.bz2
-
${CONDA_ENVS_PATH}/.pkgs/urls.txt
.build_macosx_template
:
&macosx_build_job
<<
:
*build_job
tags
:
-
macosx
artifacts
:
expire_in
:
1 week
paths
:
-
_ci/
-
${CONDA_ENVS_PATH}/osx-64/*.tar.bz2
tags
:
-
macosx
-
${CONDA_ROOT}/conda-bld/osx-64/*.tar.bz2
cache
:
<<
:
*build_caches
key
:
"
macosx-cache"
paths
:
-
miniconda.sh
-
${CONDA_ENVS_PATH}/pkgs/*.tar.bz2
-
${CONDA_ENVS_PATH}/pkgs/urls.txt
build_linux_27
:
<<
:
*linux_build_job
variables
:
<<
:
*
linux
_variables
<<
:
*
build
_variables
PYTHON_VERSION
:
"
2.7"
build_linux_36
:
<<
:
*linux_build_job
variables
:
<<
:
*
linux
_variables
<<
:
*
build
_variables
PYTHON_VERSION
:
"
3.6"
BUILD_EGG
:
"
true"
artifacts
:
...
...
@@ -80,7 +77,8 @@ build_linux_36:
-
_ci/
-
dist/*.zip
-
sphinx
-
${CONDA_ENVS_PATH}/linux-64/*.tar.bz2
-
${CONDA_ROOT}/conda-bld/linux-64/*.tar.bz2
build_macosx_27
:
<<
:
*macosx_build_job
...
...
@@ -88,6 +86,7 @@ build_macosx_27:
<<
:
*build_variables
PYTHON_VERSION
:
"
2.7"
build_macosx_36
:
<<
:
*macosx_build_job
variables
:
...
...
@@ -110,6 +109,7 @@ build_macosx_36:
tags
:
-
deployer
deploy_beta
:
<<
:
*deploy_job
environment
:
beta
...
...
@@ -117,6 +117,7 @@ deploy_beta:
-
master
-
condapackage
deploy_stable
:
<<
:
*deploy_job
environment
:
stable
...
...
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