I am trying to use hut to upload a build artifact to a git ref. My build manifest is here: https://git.sr.ht/~gpanders/ijq/tree/hut/item/.build.yml The build fails with the error "2022/05/05 17:39:29 no instance for git.sr.ht found". Here is the link to the build: https://builds.sr.ht/~gpanders/job/751900 I SSH'd into the build to take a look at the hut config file on the build runner and noticed that it's missing an entry for the "git" service: https://paste.sr.ht/~gpanders/d61ce325b6eeccdace2be2f647a565eb4f08d07c I'm not sure if this is a misconfiguration on my end or a bug, so I wanted to bring it to the attention of the staff. Thanks!
This is due to a [git.sr.ht] section missing from /etc/sr.ht/config.ini on this build machine (cirno1). It may also be missing from other build machines. This is the only missing section AFAIK. Drew, can you add that section and make sure it's on all build machines? That may also require a build worker restart to pick up the new config.
On Fri, 06 May 2022 12:57 +0200, Drew DeVault wrote: >Done. Thanks, it is working now. For anyone following along, I ended up needing the following oauth scopes: oauth: git.sr.ht/OBJECTS:RW git.sr.ht/REPOSITORIES:RO git.sr.ht/PROFILE:RO