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
GitLab 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
55a54595
Commit
55a54595
authored
7 years ago
by
Amir MOHAMMADI
Browse files
Options
Downloads
Patches
Plain Diff
last version of migration
parent
610a79d5
Branches
Branches containing commit
No related tags found
1 merge request
!63
Conda package based CI
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
conda/migrate.py
+50
-0
50 additions, 0 deletions
conda/migrate.py
conda/migrate.sh
+68
-43
68 additions, 43 deletions
conda/migrate.sh
with
118 additions
and
43 deletions
conda/migrate.py
+
50
−
0
View file @
55a54595
...
...
@@ -90,6 +90,56 @@ RUN_EXPORTS += [
'
- bob.ip.optflow.hornschunck
\n
'
,
'
- bob.ip.optflow.liu
\n
'
,
'
- bob.ip.flandmark
\n
'
,
'
- bob.bio.base
\n
'
,
'
- bob.bio.caffe_face
\n
'
,
'
- bob.bio.face
\n
'
,
'
- bob.bio.gmm
\n
'
,
'
- bob.bio.spear
\n
'
,
'
- bob.bio.video
\n
'
,
'
- bob.db.arface
\n
'
,
'
- bob.db.asvspoof
\n
'
,
'
- bob.db.asvspoof2017
\n
'
,
'
- bob.db.atvskeystroke
\n
'
,
'
- bob.db.avspoof
\n
'
,
'
- bob.db.banca
\n
'
,
'
- bob.db.biosecure
\n
'
,
'
- bob.db.biosecurid.face
\n
'
,
'
- bob.db.casme2
\n
'
,
'
- bob.db.caspeal
\n
'
,
'
- bob.db.cohface
\n
'
,
'
- bob.db.cuhk_cufs
\n
'
,
'
- bob.db.frgc
\n
'
,
'
- bob.db.fv3d
\n
'
,
'
- bob.db.gbu
\n
'
,
'
- bob.db.hci_tagging
\n
'
,
'
- bob.db.ijba
\n
'
,
'
- bob.db.kboc16
\n
'
,
'
- bob.db.lfw
\n
'
,
'
- bob.db.livdet2013
\n
'
,
'
- bob.db.mobio
\n
'
,
'
- bob.db.msu_mfsd_mod
\n
'
,
'
- bob.db.multipie
\n
'
,
'
- bob.db.nist_sre12
\n
'
,
'
- bob.db.pericrosseye
\n
'
,
'
- bob.db.putvein
\n
'
,
'
- bob.db.replay
\n
'
,
'
- bob.db.replaymobile
\n
'
,
'
- bob.db.scface
\n
'
,
'
- bob.db.utfvp
\n
'
,
'
- bob.db.verafinger
\n
'
,
'
- bob.db.voicepa
\n
'
,
'
- bob.db.voxforge
\n
'
,
'
- bob.db.xm2vts
\n
'
,
'
- bob.db.youtube
\n
'
,
'
- bob.ip.caffe_extractor
\n
'
,
'
- bob.ip.facelandmarks
\n
'
,
'
- bob.ip.skincolorfilter
\n
'
,
'
- bob.kaldi
\n
'
,
'
- bob.pad.base
\n
'
,
'
- bob.pad.face
\n
'
,
'
- bob.pad.voice
\n
'
,
'
- bob.rppg.base
\n
'
,
'
- gridtk
\n
'
,
]
BUILD_ONLY_DEPS
=
[
...
...
This diff is collapsed.
Click to expand it.
conda/migrate.sh
+
68
−
43
View file @
55a54595
...
...
@@ -2,64 +2,89 @@
set
-ex
# bob.buildout \
# bob.extension \
# bob.blitz \
# bob.core \
# bob.io.base \
# bob.sp \
# bob.ap \
# bob.bio.base \
# bob.bio.caffe_face \
# bob.bio.face \
# bob.bio.gmm \
# bob.bio.spear \
# bob.bio.video \
# bob.db.arface \
# bob.db.asvspoof \
# bob.db.asvspoof2017 \
# bob.db.atvskeystroke \
# bob.db.avspoof \
# bob.db.banca \
# bob.db.biosecure \
# bob.db.biosecurid.face \
# bob.db.casme2 \
# bob.db.caspeal \
# bob.db.cohface \
# bob.db.cuhk_cufs \
# bob.db.frgc \
# bob.db.fv3d \
# bob.db.gbu \
# bob.db.hci_tagging \
# bob.db.ijba \
# bob.db.kboc16 \
# bob.db.lfw \
# bob.db.livdet2013 \
# bob.db.mobio \
# bob.db.msu_mfsd_mod \
# bob.db.multipie \
# bob.db.nist_sre12 \
# bob.db.pericrosseye \
# bob.db.putvein \
# bob.db.replay \
# bob.db.replaymobile \
# bob.db.scface \
# bob.db.utfvp \
# bob.db.verafinger \
# bob.db.voicepa \
# bob.db.voxforge \
# bob.db.xm2vts \
# bob.db.youtube \
# bob.ip.caffe_extractor \
# bob.ip.facelandmarks \
# bob.ip.skincolorfilter \
# bob.kaldi \
# bob.pad.base \
# bob.pad.face \
# bob.rppg.base \
# gridtk \
for
pkg
in
\
bob.buildout
\
bob.extension
\
bob.blitz
\
bob.core
\
bob.io.base
\
bob.sp
\
bob.ap
\
bob.math
\
bob.measure
\
bob.db.base
\
bob.io.audio
\
bob.io.image
\
bob.io.video
\
bob.io.matlab
\
bob.ip.base
\
bob.ip.color
\
bob.ip.draw
\
bob.ip.gabor
\
bob.learn.activation
\
bob.learn.libsvm
\
bob.learn.linear
\
bob.learn.mlp
\
bob.learn.em
\
bob.learn.boosting
\
bob.db.iris
\
bob.db.wine
\
bob.db.mnist
\
bob.db.atnt
\
bob.ip.facedetect
\
bob.ip.optflow.hornschunck
\
bob.ip.optflow.liu
\
bob.ip.flandmark
\
bob.pad.voice
\
;
do
git clone git@gitlab.idiap.ch:bob/
$pkg
||
true
cd
$pkg
git co
-b
condapackage
||
git co
--
.
&&
git clean
-ffdx
&&
git co master
&&
git pull
--ff-only
&&
git branch
-D
condapackage
&&
git co
-b
condapackage
../migrate.py ../../templates/meta.yaml ../../../bob.conda/
recipes
/
$pkg
/meta.yaml
\
../migrate.py ../../templates/meta.yaml ../../../bob.conda/
new
/
$pkg
/meta.yaml
\
../../gitlab/conda_build_config.yaml
.
cp
../../templates/gitlab-ci.yml .gitlab-ci.yml
echo
"record.txt"
>>
.gitignore
subl conda/meta.yaml
#
subl conda/meta.yaml
export
BOB_PACKAGE_VERSION
=
`
cat
version.txt |
tr
-d
'\n'
`
conda build
-m
../../gitlab/conda_build_config.yaml conda
#
conda build -m ../../gitlab/conda_build_config.yaml conda
git add
-A
git commit
-m
"Migrate to conda based CI"
while
true
;
do
read
-p
"Do you wish to continue?"
yn
case
$yn
in
[
Yy]
*
)
break
;;
[
Nn]
*
)
exit
;;
*
)
echo
"Please answer yes or no."
;;
esac
done
#
while true; do
#
read -p "Do you wish to continue?" yn
#
case $yn in
#
[Yy]* ) break;;
#
[Nn]* ) exit;;
#
* ) echo "Please answer yes or no.";;
#
esac
#
done
git push
-u
--force
origin condapackage
cd
..
done
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