WORK IN PROGRESS
Based on: https://github.com/pndurette/spinnaker-playground
TL:DR; Set up your MAC to quickly test any modification to Spinnaker Code.
It Involves:
- Installing a k3s cluster in a Multipass instance.
- Installing a fake-oauth2 server for Spinnaker authentication.
- Installing a docker registry to push your Spinnaker modified images.
- Install Spinnaker using the new images you modified and defaulting to the public ones.
Dependencies:
- Docker
- Multipass
- jq
- internet connectivity during installation. If you intend to run this from behind a corporate proxy, you may be unable to pull the required images for k3s or Spinnaker. Also you may need to disable any desktop firewalls which are running whilst you perform the installation.
Steps
- Install Multipass.
brew cask install multipass
- Run
make
for the available options.
- Install and configure local docker registry
- Configure custom roles and users for testing.
- Reduce local dependencies list.