/spinnaker-config-deb

Example repo showing how to create a configuration Debian package

Primary LanguageShellApache License 2.0Apache-2.0

Spinnaker Config Debian Example

This project is an example of a Spinnaker configuration that is bundled and distributed as a Debian package. The build file is based on Gradle Linux Packaging Plugin.

There's native support for Jenkins by using the Jenkinsfile and bintray. You'll need change the ./bin/push.sh for it to work.

Notable files & directories

./bin/build.sh - The build script that will create the Debian package using ./gradlew

./bin/push.sh - The script used to push to your artifact repository, includes an example to push to bintray and deb-s3.

./build/distributions/ - Contains Debian that is ready for distribution or installation. You'll want to want upload this to your central repository such as Artifactory

./build.gradle - Describes how the Debian package will be created.

./deb-config/ - All the files and scripts that will be packaged up as part of the Debian process

./deb-config/scripts - Post/Pre install/un-install scripts to further customize your Debian installation

There are many examples in the Nebula Plugins repository demonstrating how to extend this example.