Skip to content

Creating a Mu2e TDAQ software release

eflumerf edited this page Dec 17, 2024 · 8 revisions

This page lists the steps necessary for creating and deploying a new release of the Mu2e TDAQ software.

  1. Prepare a Mu2e software area with all TDAQ packages checked out: mu2e-quick-spack-start.sh --develop --all-packages
    • Make sure that you have repositories checked out read-write (git remote set-url origin [email protected]:Mu2e/pkg.git)
  2. Tag each package with the release version, merge into stable branch: vi CMakeLists.txt;git commit -am"Update package version";git checkout stable;git merge develop;git tag v3_03_00
  3. Edit the Spack package configuration file in this repository. Add a version(v3_03_00, commit="") block, using the commit hash from git show
    • Make sure to commit and push the changes to mu2e-spack
  4. Add a when("@v3_03_00") block to https://github.com/Mu2e/mu2e-spack/blob/main/packages/mu2e-tdaq-suite/package.py
  5. Set the "Target Version" for any completed Issues and PRs on this project https://github.com/orgs/Mu2e/projects/6 to "Next Release"
  6. Go to the Project properties, change "Next Release" to the new version (e.g. "v3_03_00")
  7. Create a new "Target Version" tag, called "Next Release", and move it to the top of the list
  8. Duplicate the most recent "Release" view, rename to current release and edit the filter to show "target-version: v3_03_00" (corresponding to the new release, of course)
  9. Create Github Releases for each tagged package, using the auto-generated release notes
  10. If needed, deploy driver upgrades to nodes
Clone this wiki locally