stealthybox / container-builder-github-ci-status

Google Cloud Function responds to PubSub events on the cloud-builds topic to update GitHub CI status.
MIT License
23 stars 4 forks source link

Build Context now includes verbose tags from container builder #6

Closed stealthybox closed 6 years ago

stealthybox commented 6 years ago

Container Builder now adds extra tags to a build object for:

Before, if I tagged my build ["api","lint"], it would show up as:

api/lint

These new tags result in undesirably long build names in GitHub like so:

api/lint/event-6e95f97a-8aec-4a02-8e1e-727b99d68487/trigger-8821e898-f023-4dd4-b70e-20c03260c5c9/eval-9c1cc2da-a3ac-496c-9f9a-46ee8cd2c787/invocation-2a23b401-cde5-45b1-8330-1e4ef4ed08ab

I can think of two solutions:

stealthybox commented 6 years ago

The uniqueness of these ID's also prevents rerunning a build from updating previous status checks since all builds now have unique check names.