sbndaq
Instructions can be found here.
sbndqm
This largely follows the workflow layed out in the offline release management instructions.
Prepare the release
- First build/test locally by setting up a local dev area. If you’re doing this from an offline machine with access to cvmfs, you can use the
sbnbuild/SBN/setup_build_sbndqm.shscript (provide target version and quals as first and second argument). - Pull down
sbndqm:mrb g sbndqm. If you need to make changes tosbndaq_online, then also domrb g sbndaq_online. - In each repo, perform a
gitflow init. Usemainas the ‘production’ branch, but use defaults for all the rest of the prompts. - In each repo, do
git flow release start vXX_YY_ZZwherevXX_YY_ZZis the new version number for this package. This will create arelease/vXX_YY_ZZin this repo based on develop. - Merge any needed additional PRs, and edit
ups/product_depsappropriately to have the new version number and updated dependencies as needed. Build locally and make sure everything builds ok. - Commit all changes and push the release branch(es) to the origin
git push origin release/vXX_YY_ZZfor all the needed repos.
Run build on Jenkins.
- Login to buildmaster.fnal.gov (need to be on VNC and need to have certificate added), and go to the “sbn” tab.
- Click on “sbndqm-release-build” (or just go here: https://buildmaster.fnal.gov/buildmaster/view/sbn/job/sbndqm-release-build/)
- Click on “Build with Parameters” on the left, and modify the parameters as needed:
- “SBNDQM_VERSION” should be the version number of
sbndqmyou are building. - “SBNDQM”,”SBNDAQ_ONLINE” are the tags/branches/commits within those repositories that you want to build. If using the above this would be the appropriate
release/vXX_YY_ZZbranch for that repository.
- “SBNDQM_VERSION” should be the version number of
- Click the “Build” button, and make sure all build configs are successful. If one or more is unsuccessful, investigate by looking at the console output via jenkins webpage. Make updates in the code as necessary (in your local area), and commit/push them back up to the repo.
Finalize the tag.
- In your testing area, in each repo do
git flow release finish. Make sure to include a message for the tag. - Do
git push origin main develop --tagsto push up the changes to main, develop, and the new tag.
Distribute software.
SciSoft:
Fetch results of Jenkins from both e20 and c7 builds by calling source SBN/copyToSciSoft_sbndqm.sh from the parent sbnbuild area.
CVMFS:
- Login to CVMFS:
ssh cvmfssbn@oasiscfs.fnal.gov - Start a server transaction:
cvmfs_server transaction sbn.opensciencegrid.org - Install the new software into cvmfs:
~/sbnbuild/CVMFS/install_on_cvmfs_sbndqm.sh sbndqm-XX.YY.ZZwhereXX.YY.ZZis the sbndqm version number (note dots instead of underscores!) - Publish the changes with a message and a tag:
cvmfs_server publish -m "Published sbndqm XX.YY.ZZ" -a sbndqm.XX.YY.ZZ sbn.opensciencegrid.org
sbndaq_artdaq_core for offline
Contributing to this wiki
The content of this wiki is tracked in a GitHub repository SBNSoftware/SBNSoftware.github.io
under the
sbndaq_wiki
subdirectory. Some details using this particular theme can be found here.