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
e446cfc9
Commit
e446cfc9
authored
7 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
Add a template file
parent
c797a803
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!63
Conda package based CI
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
templates/README.md
+4
-4
4 additions, 4 deletions
templates/README.md
templates/gitlab-ci.yml
+1
-1
1 addition, 1 deletion
templates/gitlab-ci.yml
templates/meta.yaml
+56
-0
56 additions, 0 deletions
templates/meta.yaml
with
61 additions
and
5 deletions
templates/README.md
+
4
−
4
View file @
e446cfc9
...
...
@@ -46,10 +46,10 @@ You also need to enable the following options on your project:
1.
In the project "Settings" page, make sure builds are enabled
2.
If you have a private project, check the package settings and make sure that
the "Deploy Keys" for our builders (
all
`conda-*`
related servers) are
enabled
3.
Visit the "Runners" section of your package settings and enable all
conda
runners, for linux
and macosx
variants
the "Deploy Keys" for our builders (
`runner/beat-macosx `
and
`bpr-
facedemo`
) are
enabled
.
3.
Visit the "Runners" section of your package settings and enable all
runners
with the
`docker`
and
`
macosx
`
tags.
4.
Go into the "Variables" section of your package setup and
**
add common
variables
**
corresponding to the usernames and passwords for uploading
wheels and documentation tar balls to our (web DAV) server, as well as PyPI
...
...
This diff is collapsed.
Click to expand it.
templates/gitlab-ci.yml
+
1
−
1
View file @
e446cfc9
...
...
@@ -55,7 +55,7 @@ stages:
-
_ci/
-
${CONDA_ENVS_PATH}/osx-64/*.tar.bz2
tags
:
-
conda-
macosx
-
macosx
variables
:
&macosx_variables
CONDA_FOLDER
:
"
${CI_PROJECT_DIR}/${CONDA_ENVS_PATH}"
cache
:
...
...
This diff is collapsed.
Click to expand it.
templates/meta.yaml
0 → 100644
+
56
−
0
View file @
e446cfc9
{
%
set name = environ.get('CI_PROJECT_NAME'
,
'
<PACKAGE>'
) %
}
package
:
name
:
{{
name
}}
version
:
{{
environ.get('BOB_PACKAGE_VERSION'
,
'
0.0.1'
)
}}
build
:
number
:
{{
environ.get('BOB_BUILD_NUMBER'
,
0)
}}
script
:
-
cd {{ environ.get('CI_PROJECT_DIR', environ.get('RECIPE_DIR') + '/..') }}
{
%
if environ.get('BUILD_EGG') %
}
-
python setup.py sdist --formats=zip
{
%
endif %
}
-
pip install .
-
sphinx-build -W doc $PREFIX/docs/{{ name }}
requirements
:
build
:
-
python
-
setuptools
-
toolchain {{ toolchain }}
-
sphinx
-
sphinx_rtd_theme
# place extra build dependencies below this line:
-
<BUILD_DEPS>
run
:
-
python
-
setuptools
# place runtime dependencies below this line:
-
<RUN_DEPS>
test
:
imports
:
-
{{
name
}}
commands
:
-
nosetests --with-coverage -sv {{ name }}
# The doctests will run only if "CI_PROJECT_DIR" is available as an
# environment variable. If you are testing locally, you can set it to the
# root of your project.
-
sphinx-build -b doctest {{ environ.get('CI_PROJECT_DIR') }}/doc sphinx
requires
:
-
nose
-
coverage
-
sphinx
-
sphinx_rtd_theme
# place extra test requirements below this line:
-
<TEST_DEPS>
about
:
home
:
https://www.idiap.ch/software/bob/
license
:
<LICENSE>
summary
:
<SHORT_DESCRIPTION>
license_family
:
<LICENSE_FAMILY>
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