Toolkit Release process
The following steps should be followed to generate a new release:
- In your local workspace, run
git flow release start vX.Y.Z
(assuming git-flow is installed)- You should now be in the
release/vX.Y.Z
branch
- You should now be in the
- Change
KAFKA_BASE_TAG
variable incom.ibm.streamsx.messagehub/build.gradle
to the Kafka toolkit tag that should be the base for this version of the toolkit. - Bump
com.ibm.streamsx.messagehub/info.xml
version number - Generate a release by running
gradle release
- Run a greenthread test against the release (not the toolkit in your git repo)
- Extract the generated release in
/tmp
- Pick one of the samples and update the
toolkitPath
variable inbuild.gradle
to point to/tmp/com.ibm.streamsx.messagehub
- Set the app config or update the
/etc/messagehub.json
file - Run
gradle build
to build the sample - Run the sample:
streamtool submitjob output/<sample_name>/<sample_name>.sab
- DELETE the toolkit from
/tmp
- Extract the generated release in
- Merge
release/vX.Y.Z
intodevelop
:gradle clean
git add com.ibm.streamsx.messagehub/info.xml com.ibm.streamsx.messagehub/build.gradle
git commit -m "Update version to vX.Y.Z"
git flow release finish vX.Y.Z
- Push
develop
to Github repo:git push
- Push the tag to the Github repo:
git push --tags
- Generate SPLDocs
- DONE!