Connect Spinnaker to Travis CI

Use Halyard to configure Spinnaker to access to your Travic CI instance.

Overview of connecting Spinnaker to Travis

Before you can make use of Travis CI in Spinnaker, you’ll need to configure access to your Travis masters.

Configuring Travis in your Spinnaker instance with Halyard is pretty easy, but there are a few “gotchas” to watch out for.

Add Travis to Spinnaker

First, configure your Travis master:

hal config ci travis master add Travis --address --base-url --github-token

(If you’re using a private Travis account, change the addresses appropriately)

For reference, you can look at the Spinnaker docs

Enable Travis support

Next, enable Travis with Halyard:

hal config ci travis enable

Enable Travis Stages

If you want to be able to run Travis jobs as a stage in your pipeline, you’ll need to enable the stage as well:

hal config features edit --travis true


Now you should be able to hal deploy apply and when your services have restarted, you should be able to trigger pipelines off Travis builds, and see a Travis stage option in your pipelines.

Last modified April 12, 2022: (24a04f9a)