1-click deployer for Spinnaker to Cloud Foundry for Cloud Foundry
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.mvn/wrapper
src
.gitignore
.jdk8
CODE_OF_CONDUCT.adoc
CONTRIBUTING.adoc
LICENSE
README.adoc
bower.json
circle.yml
deploy
mvnw
mvnw.cmd
package.json
pom.xml
settings.xml
webpack.config.js

README.adoc

CircleCI

Stories in Ready

Warning
This experimental project has been paused. All issues are disabled (for now).

Spring Cloud Spinnaker

Spring Cloud Spinnaker is a Spring Boot web application used to deploy all the parts of Spinnaker to a pre-selected space in PCF.

Running Spring Cloud Spinnaker

To run the app locally on your machine, you have to follow a few steps.

Requirements:

  • Either a Mac or Unix based system. (Building the Spinnaker components on Windows won’t work, and Cygwin has yet to be tested)

  • Java 8 SDK

  • git

  • 8GB of RAM + 4GB of disk when running on CF

Building Spinnaker

  1. Run ./mvnw clean package

  2. Run cf push spinnaker-deployer -p target/spring-cloud-spinnaker-<version>.jar

Now you can point your browser at the deployment site of the Spinnaker Deployer, fill outs its settings, and install Spinnaker anywhere!

Visit https://cloud.spring.io/spring-cloud-spinnaker and navigate to the reference docs to use this app.

Releasing Spring Cloud Spinnaker

Snapshots are automatically published via Jenkins by effectively doing this…​

$ USERNAME=<user> PASSWORD=<enc artifactory password> ./mvnw -Pdistribute,snapshot,docs clean deploy
Note
CI builds don’t sign artifacts with GPG

To do a release (.RELEASE, .RC?, .M?):

  1. Check in all changes and ensure there are no edited files.

  2. Bump up the version in pom.xml to the desired version and commit the change.

  3. git tag <version> (like v1.0.0.M1)

  4. Execute a maven deploy.

    • For a milestone: USERNAME=<user> PASSWORD=<enc artifactory password> ./mvnw -Pdistribute,gpg,milestone,docs clean deploy

    • For a release: USERNAME=<user> PASSWORD=<enc artifactory password> ./mvnw -Pdistribute,gpg,release,docs clean deploy

    • For a release to maven central: USERNAME=<user> PASSWORD=<password> ./mvnw -Pdistribute,gpg,central,docs clean deploy -s settings.xml

  5. Bump up the version in pom.xml again to the next BUILD-SNAPSHOT, and update application.yml as well for each uber JAR to BUILD-SNAPSHOT.

  6. Commit the change.

  7. git push

  8. Inspect handiwork at https://repo.spring.io/ or https://oss.sonatype.org/#stagingRepositories

Note
A word about reference documentation. Based upon this, the distribute profile contains an artifactory property that is applied to the ZIP file generated by the docs profile. A CRON job will scoop up the zipped up docs and unpack them inside the target location.