Using Github Artifacts as a Pipeline Trigger
Enable the Artifacts feature in
features: artifacts: enabled: true
- Configure a Github Artifact account in
config/clouddriver-local.yml. You’ll need a Github Personal Access Token so that Clouddriver can fetch artifacts stored in your repositories. Most users have a bot account that they can use for automation like this. If you already have one, feel free to use it instead of creating a new one.
my-github-accountcan be changed as you see fit. If you have multiple Github artifact accounts, it’s best to use an identifiable name.
artifacts: github: enabled: true accounts: - name: my-github-account # this will be the name of the artifact account within Spinnaker username: <YOUR_ACCOUNT_USERNAME> token: <YOUR_PERSONAL_ACCESS_TOKEN>
Redeploy Armory Spinnaker
Configure a Github webhook using this documentation. If you have a lot of repositories, you can setup an Organization level webhook.
- Configure your Github artifacts and pipeline triggers following this documentation.