Skip to content
Snippets Groups Projects
Commit 55a54595 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

last version of migration

parent 610a79d5
Branches
No related tags found
1 merge request!63Conda package based CI
......@@ -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 = [
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment