Release IdP 4.1.6
Basics
Logistics
Basics
Logistics
Description
Environment
None
Activity
Philip Smart
March 31, 2022 at 9:30 PM
Site is done
export GPG_TTY=$(tty)
# somewhere to store a tmp maven repo
export REPO=/tmp/philsrepo
cd /tmp
git clone git@git.shibboleth.net:java-identity-provider
cd java-identity-provider/idp-parent
git checkout 4.1.6
# push to a file for now. Until parent 11.2.2.
mvn -Dmaven.repo.local=$REPO -DskipTests -DstagingDirectory=/home/user/java-identity-provider-4.1.6 site site:stage
cd /home/user/
zip -r java-identity-provider-4.1.6.zip java-identity-provider-4.1.6/
scp java-identity-provider-4.1.6.zip javasites@shibboleth.net:~/staging/
## On shibboleth.net as javasites user
mv java-identity-provider-4.1.6.zip java-identity-provider/
Unzip java-identity-provider-4.1.6.zip
mv java-identity-provider-4.1.6 4.1.6
rm java-identity-provider-4.1.6.zip
## On shibboleth.net as normal user
# copy release site to releases
sudo /usr/local/sbin/deploy-java-site.sh java-identity-provider 4.1.6
# purge releases from staging.
sudo /usr/local/sbin/purge-released-sites.sh
Rod Widdowson
March 31, 2022 at 6:19 PM
Build ```
cd java-identity-provider\idp-installer\src\main\wix jetty commons-daemon-1.2.4-bin-windows.zip jetty-distribution-9.4.44.v20210927.zip idp shibboleth-identity-provider-4.1.6.zip idp-jetty-base-for-9.4.44-WINDOWS-LOGBACK-1.2.10.zip
Smoke Test
Sign & checksum
openssl sha256 shibboleth-identity-provider-4.1.6-x64.msi > shibboleth-identity-provider-4.1.6-x64.msi.sha256 gpg -s -b -a shibboleth-identity-provider-4.1.6-x64.msi
add keys and tag
git tag -s -m "Tag Windows Installer for Build 4.1.6.0" 4.1.6.0
git push origin 4.1.6.0
Transfer to
shibbloleth.net:~rdw\shibboleth-identity-provider-4.1.6-x64\*
ETA 14:30 ECT
Philip Smart
March 31, 2022 at 5:07 PM
Move IdP into hidden download directory
VERSION=4.1.6
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/idp-distribution/$VERSION/idp-distribution-$VERSION.tar.gz shibboleth-identity-provider-$VERSION.tar.gz
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/idp-distribution/$VERSION/idp-distribution-$VERSION.tar.gz.asc shibboleth-identity-provider-$VERSION.tar.gz.asc
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/idp-distribution/$VERSION/idp-distribution-$VERSION.zip shibboleth-identity-provider-$VERSION.zip
cp -v /home/nexus/sonatype-work/nexus/storage/releases/net/shibboleth/idp/idp-distribution/$VERSION/idp-distribution-$VERSION.zip.asc shibboleth-identity-provider-$VERSION.zip.asc
sha256sum shibboleth-identity-provider-$VERSION.tar.gz > shibboleth-identity-provider-$VERSION.tar.gz.sha256
sha256sum shibboleth-identity-provider-$VERSION.zip > shibboleth-identity-provider-$VERSION.zip.sha256
sha256sum -c shibboleth-identity-provider-$VERSION.tar.gz.sha256
sha256sum -c shibboleth-identity-provider-$VERSION.zip.sha256
sudo mkdir -v -p /home/shibwww/html/downloads/identity-provider/.$VERSION
sudo cp -v -p shibboleth-identity-provider-$VERSION* /home/shibwww/html/downloads/identity-provider/.$VERSION/
sudo chown -v -R shibwww:shibwww /home/shibwww/html/downloads/identity-provider/.$VERSION
Philip Smart
March 31, 2022 at 5:03 PM
Release and deploy IdP 4.1.6
# for interactive passphrase entry (maybe not required for others)
export GPG_TTY=$(tty)
# somewhere to store a tmp maven repo
export REPO=/tmp/philsrepo
cd /tmp
git clone git@git.shibboleth.net:java-identity-provider
cd java-identity-provider/idp-parent
git checkout maint-4.1
mvn -Dmaven.repo.local=$REPO -Prelease clean verify
mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=4.1.6 versions:set
# Edit pom.xml, bump dependency versions to release
vim pom.xml
# Be sure there are not SNAPSHOT deps in any pom (from base dir).
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;
# If the output contains SNAPSHOTs change to release
mvn -Dmaven.repo.local=$REPO -Prelease clean verify
git add -A
git commit -m 'Update files to be tagged for release'
git tag -s -m 'Tag 4.1.6 release' 4.1.6
mvn -Dmaven.repo.local=$REPO -DgenerateBackupPoms=false -DnewVersion=4.1.7-SNAPSHOT versions:set
# Do not bump or unlocked dependency versions
# Be sure there are SNAPSHOTs in the right places.
find . -name 'pom.xml' -exec grep SNAPSHOT {} \;
git add -A
git commit -m 'Bump version after release'
git push
git push origin 4.1.6
git checkout 4.1.6
mvn -Dmaven.repo.local=$REPO -Prelease,sign clean verify
# check libs
ls -l ../idp-distribution/target/shibboleth-identity-provider-4.1.6/webapp/WEB-INF/lib
mvn -Dmaven.repo.local=$REPO -DskipTests -DdeployAtEnd=true -Prelease,sign deploy
Rod Widdowson
March 31, 2022 at 4:04 PM
I’ll start on the MSI build in a couple of hours.
Completed
Details
Details
Assignee
Philip Smart
Philip SmartReporter
Philip Smart
Philip SmartCreated March 31, 2022 at 12:42 PM
Updated April 1, 2022 at 8:01 AM
Resolved April 1, 2022 at 8:01 AM
Tasks related to the release of IdP 4.1.6:
Release java-identity-provider 4.1.6 (Phil)
Build Windows Installer (Rod)
Stage IdP downloads (Phil)
Announce (Scott)
Update Home, ReleaseNotes, SecurityAdvisories pages (Scott)
Site upload (Phil)