forked from apache/geode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GEODE-7716: geode-benchmarks src should be included in release artifa…
…cts (apache#4604)
- Loading branch information
1 parent
c7ed5e1
commit e1467e5
Showing
7 changed files
with
83 additions
and
15 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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
This directory contains scripts to help create a release of geode. | ||
|
||
Most of the release steps are documented in the wiki. | ||
See https://cwiki.apache.org/confluence/display/GEODE/Releasing+Apache+Geode | ||
Not all release steps have scripts. Please follow all instructions as documented in the wiki: | ||
https://cwiki.apache.org/confluence/display/GEODE/Releasing+Apache+Geode | ||
|
||
Scripts | ||
prepare_rc.sh: Checks out the various geode repos, builds a release candidate, and publishes to nexus staging repo | ||
commit_rc.sh: Pushes the tags and artifacts staged by prepare_rc.sh and then runs print_rc_email.sh | ||
commit_rc.sh: Pushes the tags and artifacts staged by prepare_rc.sh and then runs print_rc_email.sh | ||
print_rc_email.sh: Generates an email to send to the dev list announcing a release candidate | ||
promote_rc.sh: Makes an RC the final release and starts the mirroring process | ||
finalize_release.sh: Makes the docker and brew releases, etc | ||
promote_rc.sh: Tags an RC as the final release, builds docker images, and starts the mirroring and brew processes | ||
finalize_release.sh: merges to master and cleans up pipelines and branches |
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
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 |
---|---|---|
|
@@ -99,6 +99,7 @@ GEODE=$WORKSPACE/geode | |
GEODE_DEVELOP=$WORKSPACE/geode-develop | ||
GEODE_EXAMPLES=$WORKSPACE/geode-examples | ||
GEODE_NATIVE=$WORKSPACE/geode-native | ||
GEODE_BENCHMARKS=$WORKSPACE/geode-benchmarks | ||
BREW_DIR=$WORKSPACE/homebrew-core | ||
SVN_DIR=$WORKSPACE/dist/dev/geode | ||
set +x | ||
|
@@ -123,6 +124,7 @@ git clone --branch release/${VERSION} [email protected]:apache/geode.git | |
git clone --branch develop [email protected]:apache/geode.git geode-develop | ||
git clone --branch release/${VERSION} [email protected]:apache/geode-examples.git | ||
git clone --branch release/${VERSION} [email protected]:apache/geode-native.git | ||
git clone --branch release/${VERSION} [email protected]:apache/geode-benchmarks.git | ||
git clone --branch master [email protected]:Homebrew/homebrew-core.git | ||
|
||
svn checkout https://dist.apache.org/repos/dist --depth empty | ||
|
@@ -204,11 +206,36 @@ ${SHASUM} ${SHASUM_OPTS} ${NCTAR} > ${NCTAR}.sha512 | |
set +x | ||
|
||
|
||
echo "" | ||
echo "============================================================" | ||
echo "Building geode-benchmarks..." | ||
echo "============================================================" | ||
set -x | ||
cd ${GEODE_BENCHMARKS} | ||
BMDIR=apache-geode-benchmarks-${VERSION}-src | ||
BMTAR=${BMDIR}.tgz | ||
git clean -dxf | ||
mkdir ../${BMDIR} | ||
cp -r .travis.yml * ../${BMDIR} | ||
tar czf ${BMTAR} -C .. ${BMDIR} | ||
rm -Rf ../${BMDIR} | ||
gpg --armor -u ${SIGNING_KEY} -b ${BMTAR} | ||
if which shasum >/dev/null; then | ||
SHASUM=shasum | ||
SHASUM_OPTS="-a 256" | ||
else | ||
SHASUM=sha256sum | ||
SHASUM_OPTS="" | ||
fi | ||
${SHASUM} ${SHASUM_OPTS} ${BMTAR} > ${BMTAR}.sha256 | ||
set +x | ||
|
||
|
||
echo "" | ||
echo "============================================================" | ||
echo "Tagging the release candidate in each repository. The tags will not be pushed yet..." | ||
echo "============================================================" | ||
for DIR in ${GEODE} ${GEODE_EXAMPLES} ${GEODE_NATIVE} ; do | ||
for DIR in ${GEODE} ${GEODE_EXAMPLES} ${GEODE_NATIVE} ${GEODE_BENCHMARKS} ; do | ||
set -x | ||
cd ${DIR} | ||
git tag -s -u ${SIGNING_KEY} rel/v${FULL_VERSION} -m "Release candidate ${FULL_VERSION}" | ||
|
@@ -228,6 +255,7 @@ mkdir ${FULL_VERSION} | |
cp ${GEODE}/geode-assembly/build/distributions/* ${FULL_VERSION} | ||
cp ${GEODE_EXAMPLES}/build/distributions/* ${FULL_VERSION} | ||
cp ${GEODE_NATIVE}/build/apache-geode-native-${VERSION}* ${FULL_VERSION} | ||
cp ${GEODE_BENCHMARKS}/apache-geode-benchmarks-${VERSION}* ${FULL_VERSION} | ||
set +x | ||
|
||
# verify all files are signed. sometimes gradle "forgets" to make the .asc file | ||
|
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