Once a release candidate has been staged to https://dist.apache.org/repos/dist/dev/incubator/edgent it must be validated and voted on in order to proceed.
Team members must do the following. Only the Release Manager need perform the items tagged with '[RM]' though all are encouraged to.
- download staged artifacts. Check their signature and hashes.
cd ~/tmp
.../buildTools/download_edgent_asf.sh 1.2.0 1 # <version> <rc-num>
- [RM] verify the reported signature is for an "apache.org" address ("gpg: Good signature from ...")
- extract src bundle
cd downloaded-edgent-1.2.0rc1
tar zxf 1.2.0-incubating/rc1/apache-edgent-1.2.0-incubating-source-release.tar.gz
[RM] verify the bundle names have "incubating" in them
- [RM] verify the staged source README, RELEASE_NOTE files correspond to those in the extracted source bundle
- note: download_edgent_asf.sh verified the zip and tar.gz bundles have the same content
- staged src bundle items: content, can compile & test
cd apache-edgent-1.2.0-incubating
- check DISCLAIMER, LICENSE, NOTICE, README, RELEASE_NOTES
- ... build from directions in README – SKIP TESTS for this step
- [RM] review target/rat.txt (though the build should fail if RAT constraints aren't met)
- review for B (binary) content:
grep " B " target/rat.txt
- review for B (binary) content:
./mvnw install --fail-at-end # run the tests too
- the tests should all pass, except for possible "timing sensitive" tests
- NOTE: can't do this in a source-bundle (only in a repo) ./mvnw site:site # generate reports
- the tests should all pass, except for possible "timing sensitive" tests
- skipped tests should only include: Kafka connectors, and on OSX testDirectoryWatcherOrderWithDelete
- review the test report to verify
build/distributions/reports/tests/index.html
- TODO: staged jars/wars in Nexus - see EDGENT-440
- [RM] We're currently lacking a way to download all of the staged jars to verify them. For now, verify the jars that were uploaded from the management clone used to create the RC
- cd mgmt-edgent-X.Y.Z; buildTools/check_jars.sh --findmode build-release X.Y.Z target/checkout
- [RM] We're currently lacking a way to download all of the staged jars to verify them. For now, verify the jars that were uploaded from the management clone used to create the RC
- run samples via the scripts, including one that supports the Edgent console
- follow the directions in incubator-edgent-samples/README.md and
- clone
- check / adjust the pom for this new Edgent version
- update-samples-version.sh --edgent-version X.Y.Z # (QUESTION: how to force it to use the staged RC's repository/jars?)
- update-samples-version.sh --edgent-version X.Y.Z # (QUESTION: how to force it to use the staged RC's repository/jars?)
- build
- run HelloEdgent
- then...
- cd incubator-edgent-samples
- (cd topology; ./run-sample.sh SensorsAggregates) # has Edgent console. verify it can be started and looks sensible and metric charts are updating
- [RM] should run most/all other samples
- follow the directions in incubator-edgent-samples/README.md and