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
4b329d3f
Commit
4b329d3f
authored
6 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
[data][gitlab-ci] Add base-build CI file (mostly for bob.conda)
parent
96087e67
No related branches found
No related tags found
1 merge request
!14
Base build
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bob/devtools/data/gitlab-ci/base-build.yaml
+49
-0
49 additions, 0 deletions
bob/devtools/data/gitlab-ci/base-build.yaml
with
49 additions
and
0 deletions
bob/devtools/data/gitlab-ci/base-build.yaml
0 → 100644
+
49
−
0
View file @
4b329d3f
# This YAML file contains descriptions for the CI of most of our Bob/BEAT/BATL
# packages - do **not** modify it unless you know what you're doing (and up
# to!)
# Definition of global variables (all stages)
variables
:
CONDA_ROOT
:
"
${CI_PROJECT_DIR}/miniconda"
BOOTSTRAP
:
"
https://gitlab.idiap.ch/bob/bob.devtools/raw/master/bob/devtools/bootstrap.py"
# Definition of our build pipeline order
stages
:
-
build
# Build targets
.build_template
:
&build_job
stage
:
build
script
:
-
curl --silent "${BOOTSTRAP}" --output "bootstrap.py"
-
python3 bootstrap.py -vv channel base
-
source ${CONDA_ROOT}/etc/profile.d/conda.sh
-
conda activate base
-
bdt ci base-build -vv order.txt
-
[
"
${CI_COMMIT_REF_NAME}"
= "master"
]
&&
bdt ci base-deploy -vv
-
bdt ci clean -vv
cache
:
&build_caches
paths
:
-
miniconda.sh
-
${CONDA_ROOT}/pkgs/*.tar.bz2
-
${CONDA_ROOT}/pkgs/urls.txt
build_linux
:
<<
:
*build_job
tags
:
-
docker
image
:
continuumio/conda-concourse-ci
cache
:
<<
:
*build_caches
key
:
"
linux-cache"
build_macosx
:
<<
:
*build_job
tags
:
-
macosx
cache
:
<<
:
*build_caches
key
:
"
macosx-cache"
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