[x] Create the image with ./cea-5.0-5.0/bin/casa_distro_admin create_user_image version=5.0.3 container_type=singularity distro=brainvisa
[x] Verify that the image works
Install the image
Use it to run AimsFileInfo, anatomist, brainvisa
[x] Publish the image on the BrainVISA web site
ova image for the brainvisa distro
[x] Create the image with ./brainvisa-5.0-5.0/bin/casa_distro_admin create_user_image version=5.0.3 base_directory=/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.0-5.0 install=no container_type=vbox base_image=/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/casa-run-5.0-2.ova
[x] Verify that the image works
Install the image
Use it to run AimsFileInfo, anatomist, brainvisa
[x] Publish the image on the BrainVISA web site
sif image for the cea distro
[x] Create the image with ./cea-5.0-5.0/bin/casa_distro_admin create_user_image version=5.0.3 name=brainvisa-cea-5.0.3 container_type=singularity distro=cea
ova image for the cea distro
[x] Create the image with casa_distro_admin create_user_image (beware to name it brainvisa-cea- and not just cea-)
[x] Create tags with bv_tag_release.py
[x] Create svn project (datamind, snapbase) tags using command (replace with project name) svn copy https://bioproj.extra.cea.fr/neurosvn/brainvisa/<project>/branches/5.0 https://bioproj.extra.cea.fr/neurosvn/brainvisa/<project>/tags/5.0.3
[x] Edit the website to announce the new release
[x] web project sources (on bioproj, cf also changelog item above)
[x] log on the web server, rebuild the web site in the casa-distro installed there: ssh web, then in the server:
[x] web_build/bin/bv bv_maker
[x] publish the web site using the publish script: ./web-build/src/communication/web/5.0/scripts/bv_publish_web /var/www/html/brainvisa.info
[x] Deploy the cea release:
[x] Copy brainvisa-cea-*.sif and the associated .json into /i2bm/brainvisa and set their permissions (chmod 444)
[x] Create a new directory /i2bm/brainvisa/brainvisa-cea-x.y.z and install the Singularity release in there (singularity run --bind ...)
[x] Remove the home directory to enable per-user home: rm -r /i2bm/brainvisa/brainvisa-cea-x.y.z/home/
[x] Edit /i2bm/brainvisa/brainvisa-cea-x.y.z/conf/casa_distro.json and add "container_failure_message": "Singularity could not start. BrainVISA needs singularity version %(singularity_version)s or later. You can install it (as admin) by typing in a terminal:\n. /etc/os-release && sudo dpkg -i /i2bm/brainvisa/singularity-latest-${ID}-${VERSION_ID}_$(dpkg --print-architecture).deb"
[x] By the way, check that the /i2bm/brainvisa/singularity-latest* symlinks are working and up-to-date
[x] Verify that the deployment works (use it to launch AimsFileInfo --info, anatomist, brainvisa...)
[x] Make it the default version: ln -sfT brainvisa-cea-x.y.z/ /i2bm/brainvisa/brainvisa
[x] Copy brainvisa-cea-*.ova and the associated .json into /i2bm/brainvisa and set their permissions (chmod 444)
[ ] Install the ova on a non-Linux machine and verify that it works (use it to launch AimsFileInfo --info, anatomist, brainvisa...)
Release check-list
[x] Check that all projects have the correct version in their sources:
bv_tag_release.py --fix-source-version-numbers
[x] Check that tests are successful on https://brainvisa.info/builds/
[x] Update changelogs and the list of known issues (https://github.com/brainvisa/brainvisa.github.io/issues/54)
[x] Run a last build to update the changelogs
bv_maker sources doc
in thebrainvisa
distrobv_maker sources doc
in thecea
distro[x] Create, test, and publish/deploy the images
sif
image for thebrainvisa
distro[x] Create the image with
./cea-5.0-5.0/bin/casa_distro_admin create_user_image version=5.0.3 container_type=singularity distro=brainvisa
[x] Verify that the image works
AimsFileInfo
,anatomist
,brainvisa
[x] Publish the image on the BrainVISA web site
ova
image for thebrainvisa
distro[x] Create the image with
./brainvisa-5.0-5.0/bin/casa_distro_admin create_user_image version=5.0.3 base_directory=/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/brainvisa-5.0-5.0 install=no container_type=vbox base_image=/volatile/a-sac-ns-brainvisa/bbi-brainvisa-5.0/casa-run-5.0-2.ova
[x] Verify that the image works
AimsFileInfo
,anatomist
,brainvisa
[x] Publish the image on the BrainVISA web site
sif
image for thecea
distro[x] Create the image with
./cea-5.0-5.0/bin/casa_distro_admin create_user_image version=5.0.3 name=brainvisa-cea-5.0.3 container_type=singularity distro=cea
ova
image for thecea
distro[x] Create the image with
casa_distro_admin create_user_image
(beware to name itbrainvisa-cea-
and not justcea-
)[x] Create tags with
bv_tag_release.py
[x] Create svn project (datamind, snapbase) tags using command (replace with project name)
svn copy https://bioproj.extra.cea.fr/neurosvn/brainvisa/<project>/branches/5.0 https://bioproj.extra.cea.fr/neurosvn/brainvisa/<project>/tags/5.0.3
[x] Edit the website to announce the new release
ssh web
, then in the server:web_build/bin/bv bv_maker
./web-build/src/communication/web/5.0/scripts/bv_publish_web /var/www/html/brainvisa.info
[x] Deploy the
cea
release:brainvisa-cea-*.sif
and the associated.json
into/i2bm/brainvisa
and set their permissions (chmod 444
)/i2bm/brainvisa/brainvisa-cea-x.y.z
and install the Singularity release in there (singularity run --bind ...
)rm -r /i2bm/brainvisa/brainvisa-cea-x.y.z/home/
/i2bm/brainvisa/brainvisa-cea-x.y.z/conf/casa_distro.json
and add"container_failure_message": "Singularity could not start. BrainVISA needs singularity version %(singularity_version)s or later. You can install it (as admin) by typing in a terminal:\n. /etc/os-release && sudo dpkg -i /i2bm/brainvisa/singularity-latest-${ID}-${VERSION_ID}_$(dpkg --print-architecture).deb"
/i2bm/brainvisa/singularity-latest*
symlinks are working and up-to-dateAimsFileInfo --info
,anatomist
,brainvisa
...)ln -sfT brainvisa-cea-x.y.z/ /i2bm/brainvisa/brainvisa
brainvisa-cea-*.ova
and the associated.json
into/i2bm/brainvisa
and set their permissions (chmod 444
)ova
on a non-Linux machine and verify that it works (use it to launchAimsFileInfo --info
,anatomist
,brainvisa
...)[x] Open a new GitHub issue for known issues
[x] Close the old GitHub known issues
[x] Make an announcement on the GitHub discussions
[x] If the releases has significant new features, announce it on the mailing list