From c750270100756fed6157f1ae4ac54d2213ac2225 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Thu, 4 May 2017 15:39:35 +0200 Subject: [PATCH] #50 - Added required infrastructure information to readme. --- release-tools/readme.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/release-tools/readme.md b/release-tools/readme.md index b3cc1a4..ddbe5eb 100644 --- a/release-tools/readme.md +++ b/release-tools/readme.md @@ -1,4 +1,11 @@ -1. Add an `application-local.properties` to the project root and add the following properties: +1. Infrastructure requirements + +- Pivotal VPN account +- User account (for SCP access) on `docs.af.pivotal.io`. Needs to be registered within local `settings.xml` for a server named `static-dot-s2`. +- Credentials for `buildmaster` accounts on https://repo.spring.io. +- Credentials for https://oss.sonatype.org (to deploy and promote GA and service releases, need deployment permissions for `org.springframework.data`) in `settings.xml` for server with id `sonatype`. + +2. Add an `application-local.properties` to the project root and add the following properties: - `git.username` - Your GitHub username. - `git.password` - Your GitHub password or API key. @@ -8,4 +15,17 @@ - `deployment.api-key` - The API key to use for artifact promotion. - `deployment.password` - The password of the deployment user (buildmaster). -2. Run `mvn package appassembler:assemble && sh target/appassembler/bin/spring-data-release-shell` +3. Run `mvn package appassembler:assemble && sh target/appassembler/bin/spring-data-release-shell` + +4. Commands to execute + +``` +$ release prepare $trainIteration +$ release build $trainIteration +$ release conclude $trainIteration +$ git push $trainIteration +$ git push $trainIteration --tags +$ release distribute $trainIteration +$ git backport changelog $trainIteration --target $targets +$ foreach $target -> git push $target +```