armory / dinghy

Pipelines as code for Spinnaker
Apache License 2.0
31 stars 12 forks source link

Enabling dinghy for PRs validation in GH. #140

Closed luboszk closed 3 years ago

luboszk commented 3 years ago

I've used documentation specified here: https://docs.armory.io/docs/armory-admin/dinghy-enable/ to enable and configure dinghy in my Spinnaker installation. It successfully loads code from the PR and runs validation on the dinghyfile but it does not produce any data in the PR. In the dinghy logs I can see errors like that: level=error msg="[POST https://api.github.com/repos/MY_ORG/MY_REPO/statuses/SOME_UUID: 404 Not Found []]" Does the account which is used configured in dinghy need some extra set of privileges to fully work? As specified in the docs I've configured a webhook to publish push messages and the account has access to the repo in the token settings.

I'm using dinghy docker.io/armory/dinghy:2.23.8.

luboszk commented 3 years ago

Solved. My account had read-only access to the repository.