Connect Spinnaker to Travis CI
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 https://api.travis-ci.org --base-url https://travis-ci.org --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
Finally…
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.
Feedback
Was this page helpful?
Thank you for letting us know!
Sorry to hear that. Please tell us how we can improve.
Last modified April 12, 2021: (8405118)