[PATCH builds.sr.ht] contrib/submit_image_build: Make builds public
Export this patch
This patch restores the status quo for the refresh jobs being visible
at https://builds.sr.ht/~sircmpwn/refresh from before builds.sr.ht
gained the concept of job visibility.
---
contrib/submit_image_build | 2 + -
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/submit_image_build b/contrib/submit_image_build
index e3d7137..93b01c2 100755
--- a/contrib/submit_image_build
+++ b/contrib/submit_image_build
@@ -46,7 +46,7 @@ if from_image:
url = f"{url}/query"
query = """
mutation SubmitBuild($manifest: String!, $note: String!, $tags: [String!]!) {
- submit(manifest: $manifest, note: $note, tags: $tags) {
+ submit(manifest: $manifest, note: $note, tags: $tags, visibility: PUBLIC) {
id
}
}
--
2.40.1
Thanks!
To git@git.sr.ht:~sircmpwn/builds.sr.ht
0be575e..5295e2c master -> master
Have you tested this mutation? (Could be done with the GraphQL playground
for instance, or hut(1).)
I would've expected "PUBLIC" to require double-quotes, but maybe I'm
wrong.
builds.sr.ht/patches: FAILED in 5m10s
[contrib/submit_image_build: Make builds public][0] from [Taavi Väänänen][1]
[0]: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/42314
[1]: mailto:hi@taavi.wtf
✓ #1016755 SUCCESS builds.sr.ht/patches/debian.yml https://builds.sr.ht/~sircmpwn/job/1016755
✗ #1016754 FAILED builds.sr.ht/patches/archlinux.yml https://builds.sr.ht/~sircmpwn/job/1016754
✓ #1016753 SUCCESS builds.sr.ht/patches/alpine.yml https://builds.sr.ht/~sircmpwn/job/1016753