Wercker is a cloud CI system, which can be enabled within Spinnaker as a pipeline trigger and also as a pipeline stage. The setup required is described below.
To enable Wercker integration in Spinnaker, you will need to have:
A “master” is a connection to Wercker from Spinnaker. It consists of the Wercker URL and credentials.
First, make sure that the Wercker CI integration is enabled:
hal config ci wercker enable
If you’re using Spinnaker 1.19 or earlier, enable the Wercker stage by adding the following to your Deck custom profile :
window.spinnakerSettings.feature.wercker = true;
Next, add a Wercker master i.e. a connection to Wercker from Spinnaker.
hal config ci wercker master add mywercker1 --address https://app.wercker.com/ --user myuserid --token
Apply your changes:
hal deploy apply
When configuring a Spinnaker Pipeline, Wercker is available as one of the automated trigger type options. You can select a Wercker master that you configured earlier, and then choose from the applications and pipelines available for the configured master’s credentials. When the selected Wercker pipeline completes, it will trigger the Spinnaker pipeline.