~sircmpwn/sr.ht-discuss

3 3

hut fails to upload artifact in build pipeline

Details
Message ID
<YnQNUM4jU/W5I+T4@gpanders.com>
DKIM signature
pass
Download raw message
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!
Details
Message ID
<Rbiym5HUHsqykxAC8_xyi-RVJzzjN2K134z82lBQoVAZ58WDDa_YuWnZ8BJDxZZT0_kxF2DS9hdVfzbVHkM5XyzBIMUDnKsvGABoknbxZyM=@emersion.fr>
In-Reply-To
<YnQNUM4jU/W5I+T4@gpanders.com> (view parent)
DKIM signature
pass
Download raw message
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.
Details
Message ID
<CJSMIJD602JT.3JBWAYQG1D92X@taiga>
In-Reply-To
<Rbiym5HUHsqykxAC8_xyi-RVJzzjN2K134z82lBQoVAZ58WDDa_YuWnZ8BJDxZZT0_kxF2DS9hdVfzbVHkM5XyzBIMUDnKsvGABoknbxZyM=@emersion.fr> (view parent)
DKIM signature
pass
Download raw message
Done.
Details
Message ID
<YnVmc7JmV5ldxQAu@gpanders.com>
In-Reply-To
<CJSMIJD602JT.3JBWAYQG1D92X@taiga> (view parent)
DKIM signature
pass
Download raw message
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
Reply to thread Export thread (mbox)