848 B
848 B
CI/CD Runner
Host
TODO: Should we have a dedicated runner server?
sls-vserv-bd-01-dev
Setup
<install command>
sudo su svcusr-sls2hla
...
mkdir ~/.local/bin
# Install Node -- required for actions like repo checkout
cd /tmp
curl -LO https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.xz
tar -xf node-v20.11.1-linux-x64.tar.xz --strip-components=2 -C ~/.local/bin/ node-v20.11.1-linux-x64/bin/
rm node-v20.11.1-linux-x64.tar.xz
Launch the runner
sudo su svcusr-sls2hla
/usr/local/bin/act_runner daemon
User
The gitea actions run as user svcusr-sls2hla
Auth
#TODO: this is a temporary workaround
I created an ssh key on sls-vserv-bd-hla01-dev (where the runner runs), and added the public key to my
gitea profile ssh keys. That way the svcusr can clone the repos I can clone.