-
Notifications
You must be signed in to change notification settings - Fork 688
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GEODE-9730: release script improvements (#6989)
* add fan-in for rc pipeline * disable parallel when publishing to nexus to avoid possibility of upload getting split into two repos * switch native build from debian to ubuntu for a (less) brittle was to get a recent-enough version of cmake (min 3.12, currently this gets 3.16) * fix to support pinned geode sha, fix for concourse getting confused and seeing the wrong tag * Don't imply there's anything to backport for other native branches unless this is a flagship release * provide instructions to check for and recover from split repo * remind that issues fixed in e.g. 1.13.1 and 1.14.1 should not be closed if 1.13.1 is released first; wait to close until latest release has fix * maintain geode-benchmarks versionNumber, even though it doesn't seem to be used for anything * maintain default benchmark baseline on a new flagship release * tighten expected file sizes * template the contents of the GitHub release description * gpg has been split into two packages * include a reminder to write the releasenotes while the rc pipeline is running before sending the vote email * increase upthewaterspout timeout to 2h after observing it can take longer than 1h * fix benchmark baseline updating and update to the minor for the support branch, unlike develop * improve prompts for creating release on GitHub
- Loading branch information
1 parent
b6fca29
commit 7a03e80
Showing
6 changed files
with
149 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,6 +124,7 @@ echo "============================================================" | |
for DIR in ${GEODE} ${GEODE_EXAMPLES} ${GEODE_NATIVE} ${GEODE_BENCHMARKS} ; do | ||
set -x | ||
cd ${DIR} | ||
git pull -r | ||
git push -u origin | ||
git push origin rel/v${FULL_VERSION} | ||
set +x | ||
|
@@ -137,7 +138,8 @@ echo "============================================================" | |
cd ${GEODE}/../.. | ||
echo "1. In a separate terminal window, ${0%/*}/deploy_rc_pipeline.sh -v ${VERSION_MM}" | ||
echo "2. Monitor https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-support-${VERSION_MM//./-}-rc until all green" | ||
echo "3. Send the following email to announce the RC:" | ||
echo "3. If you haven't already, add a ${VERSION} section to https://cwiki.apache.org/confluence/display/GEODE/Release+Notes" | ||
echo "4. Send the following email to announce the RC:" | ||
echo "To: [email protected]" | ||
echo "Subject: [VOTE] Apache Geode ${FULL_VERSION}" | ||
${0%/*}/print_rc_email.sh -v ${FULL_VERSION} -m ${MAVEN} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,6 +165,7 @@ git clone --single-branch --branch support/${VERSION_MM} [email protected]:apache/g | |
git clone --single-branch --branch support/${VERSION_MM} [email protected]:apache/geode-native.git | ||
git clone --single-branch --branch develop [email protected]:apache/geode-native.git geode-native-develop | ||
git clone --single-branch --branch support/${VERSION_MM} [email protected]:apache/geode-benchmarks.git | ||
git clone --single-branch --branch develop [email protected]:apache/geode-benchmarks.git geode-benchmarks-develop | ||
git clone --single-branch --branch master [email protected]:Homebrew/homebrew-core.git | ||
|
||
svn checkout https://dist.apache.org/repos/dist --depth empty | ||
|
@@ -347,9 +348,10 @@ echo "============================================================" | |
echo "Publishing artifacts to nexus staging manager..." | ||
echo "PLEASE NOTE, the 2nd prompt will be for your apache (not gpg) password. Pay attention as the prompts look very similar." | ||
echo "============================================================" | ||
publishcmd="./gradlew publish --no-parallel -Pversion=${VERSION} -Paskpass -Psigning.keyId=${SIGNING_KEY} -Psigning.secretKeyRingFile=${HOME}/.gnupg/secring.gpg -PmavenUsername=${APACHE_USERNAME}" | ||
set -x | ||
cd ${GEODE} | ||
./gradlew publish -Pversion=${VERSION} -Paskpass -Psigning.keyId=${SIGNING_KEY} -Psigning.secretKeyRingFile=${HOME}/.gnupg/secring.gpg -PmavenUsername=${APACHE_USERNAME} | ||
sh -c "$publishcmd" | ||
set +x | ||
|
||
|
||
|
@@ -360,6 +362,7 @@ echo "============================================================" | |
cd ${GEODE}/../.. | ||
echo "1. Go to https://repository.apache.org, login as ${APACHE_USERNAME}, and click on Staging Repositories" | ||
echo "2. If there is a prior ${VERSION} RC, select it and click Drop." | ||
echo "2b.If publication got split between two staging repos, drop one of them then run: pushd ${GEODE}; $publishcmd; popd" | ||
echo '3. Make a note of the 4-digit ID of the current ("implicitly created") staging repo.' | ||
echo '4. Select the current staging repo and click Close.' | ||
echo '5. Wait ~10 seconds and then refresh the page to confirm that status has become "Closed"' | ||
|
Oops, something went wrong.