You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Bryan Bende <bb...@apache.org> on 2019/08/21 17:55:54 UTC

Apache NiFi Registry 0.5.0 RC1 Release Helper Guide

Hello Apache NiFi community,

Please find the associated guidance to help those interested in
validating/verifying the release so they can vote.

# Download latest KEYS file:
https://dist.apache.org/repos/dist/dev/nifi/KEYS

# Import keys file:
gpg --import KEYS

# [optional] Clear out local maven artifact repository

# Pull down nifi-registry-0.5.0 source release artifacts for review:

wget https://dist.apache.org/repos/dist/dev/nifi/nifi-registry/nifi-registry-0.5.0/nifi-registry-0.5.0-source-release.zip
wget https://dist.apache.org/repos/dist/dev/nifi/nifi-registry/nifi-registry-0.5.0/nifi-registry-0.5.0-source-release.zip.asc
wget https://dist.apache.org/repos/dist/dev/nifi/nifi-registry/nifi-registry-0.5.0/nifi-registry-0.5.0-source-release.zip.sha256
wget https://dist.apache.org/repos/dist/dev/nifi/nifi-registry/nifi-registry-0.5.0/nifi-registry-0.5.0-source-release.zip.sha512

# Verify the signature
gpg --verify -v nifi-registry-0.5.0-source-release.zip.asc

# Verify the hashes (sha256, sha512) match the source and what was
provided in the vote email thread
shasum -a 256 nifi-registry-0.5.0-source-release.zip
shasum -a 512 nifi-registry-0.5.0-source-release.zip

# Unzip nifi-registry-0.5.0-source-release.zip

# Verify the build works including release audit tool (RAT) checks
cd nifi-registry-0.5.0
mvn clean install -Pcontrib-check

Optional - Verify integration tests pass against the supported
databases (requires Docker running)

mvn clean install -Pcontrib-check,integration-tests
-Dspring.profiles.active=postgres
mvn clean install -Pcontrib-check,integration-tests
-Dspring.profiles.active=mysql-56
mvn clean install -Pcontrib-check,integration-tests
-Dspring.profiles.active=mysql-57
mvn clean install -Pcontrib-check,integration-tests
-Dspring.profiles.active=mysql-8

# Verify the contents contain a good README, NOTICE, and LICENSE.

# Verify the git commit ID is correct

# Verify the RC was branched off the correct git commit ID

# Look at the resulting convenience binary as found in
nifi-registry-assembly/target

# Make sure the README, NOTICE, and LICENSE are present and correct

# Run the resulting convenience binary and make sure it works as expected

# Send a response to the vote thread indicating a +1, 0, -1 based on
your findings.

Thank you for your time and effort to validate the release!