~sircmpwn/sr.ht-discuss

2 2

Build unable to update git submodule

Details
Message ID
<kcp7icwgpehvyqxacd5dx3f6qfbkeeivosxgqym37ird4g72ci@mel4zeeedub3>
DKIM signature
missing
Download raw message
Hi,

I tried resubmitting the build of my website + capsule, but it fails when 
trying to update git submodules. From the log, my guess is it has something to 
do with SSH. I tried logging in the build environment, but it doesn't have 
~/.ssh directory, so I saw no obvious way to debug.

The log is at:

https://builds.sr.ht/~strahinja/job/1132472


Thanks in advance,
Strahinya
Details
Message ID
<CYHWB92SMEUU.208AABG7FP99C@taiga>
In-Reply-To
<kcp7icwgpehvyqxacd5dx3f6qfbkeeivosxgqym37ird4g72ci@mel4zeeedub3> (view parent)
DKIM signature
pass
Download raw message
You're trying to clone a submodule over SSH:

Submodule 'recnik/src' (git@git.sr.ht:~strahinja/translations) registered for path 'recnik/src'

This will not work unless you add an SSH key to the build environment:

https://man.sr.ht/tutorials/builds.sr.ht/using-build-secrets.md
Details
Message ID
<oynd3st3qm7rlsigax7q2k77mh6lscyvckvoxcmlbi7jgwzdas@t4zv5gdt7tgs>
In-Reply-To
<CYHWB92SMEUU.208AABG7FP99C@taiga> (view parent)
DKIM signature
missing
Download raw message
On 24/01/18 03:19PM, Drew DeVault wrote:
> This will not work unless you add an SSH key to the build environment:
> 
> https://man.sr.ht/tutorials/builds.sr.ht/using-build-secrets.md

Thanks, after adding the SSH key as a "secret", it worked!
Reply to thread Export thread (mbox)