mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
fce16cc33e
In GraphQL, the icon has to be uppercase [1]. However, the builds worker uses the `JobContext.Job.Status` field in the payload [2], where the value is lowercase [3]. Hence, upper-case the value before sending it to the GraphQL API. [1] https://git.sr.ht/~sircmpwn/lists.sr.ht/tree/master/item/api/graph/schema.graphqls#L468-474 [2] https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/triggers.go#L251 [3] https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/triggers.go#L109 |
||
---|---|---|
.. | ||
alembic | ||
blueprints | ||
templates | ||
types | ||
app.py | ||
builds.py | ||
decorators.py | ||
oauth.py | ||
projects.py | ||
services.py | ||
trailers.py |