- Look at maven for each project and update libraries for any vulnerabilities
Look at owasp dependency check goal
mvn -f grouper-parent site
- See the jenkins security report (change version in URL)
- Look at the jiras for the stable branch and make sure all commits are cherry picked back
- See if there is an updated Tomee Webprofile version
- If so, get the tomee tar.gz to the webprod3 server in the proper directory
- Adjust the tomee version in GrouperInstaller.java
- Run "ant build" in grouper-client, make sure it compiles
- If there are DDL changes make sure theres not an index longer than expected 768
- Check unit tests (email with CI test results (summary))
- Tag as GROUPER_RELEASE_x.y.z in grouper git
- In Internet2 build git, branch as x.y.z.
- Branch from the latest commit in the proper branch (check the network graph if unclear)
git checkout 2.5.62
git checkout -b 2.5.63 - Check out the latest 2.5.x and 2.6.x to see if there is anything needing to be cherry-picked (Note: might need to change java version in jenkinsfile)
git pull
git diff origin/2.5.62..origin/2.6.9 Create an empty commit so it triggers a build
git commit --allow-empty -m "build 2.5.63"- Push to remote
- Branch from the latest commit in the proper branch (check the network graph if unclear)
- Wait 15 minutes build to finish (old: for build to finish)
- Go to: https://oss.sonatype.org/#stagingRepositories
- Select the x.y.z version and click "Release"
(ok to leave checked "automatically drop") - Browse public repositories, Navigate the folder structure to /edu/internet2/middleware/grouper/grouper to make sure the new version is there
- Select the x.y.z version and click "Release"
- In the docker_grouper project
- remove any patches
- make an x.y.z branch if not already there
- Make sure docker unit test count matches the number of changed unit tests in grouperContainerUnitTest.sh
have there been any new tests (assert*) since the last release? If so, update grouperContainerUnitTest.sh by incrementing expectedSuccesses by the number of new tests
git log -p 2.5.62.. -- container_files/tier-support/test/grouperContainerUnitTestUi.sh container_files/tier-support/test/grouperContainerUnitTest.sh
- Change the Dockerfile to x.y.z in one place (or two for 2.5), commit and push
- Wait 15 minutes
- Wait until build is done
- Check build output for conflicting jars
- Run the container unit tests. Link to Grouper dockerhub
Container mysql replicate (if build error)
- Use the installer to install the container against a mysql from docker (case sensitive)
- jdbc:mysql://docker.for.win.localhost:3306/grouper_v2_5?useSSL=false
- Upgrade the demo server
Adjust the version of apache/shib/java/tomcat in the release notes
v4docker run --rm i2incommon/grouper:2.5.xx bash -c "java -version && httpd -v && /usr/sbin/shibd -v && grep 'Apache Tomcat Version' /opt/tomcat/RELEASE-NOTES"
v5
docker run --rm i2incommon/grouper:2.5.xx bash -c "java -version && grep 'Apache Tomcat Version' /opt/tomcat/RELEASE-NOTES"
- Adjust the SHA in release notes
- docker image inspect i2incommon/grouper:2.5.xx --format '{{ .RepoDigests }}'
After stable
- When the release has been used for a few days and no issues, then mark as stable
- Update this page too: InCommon Trusted Access Platform Release
See Also