Files
hla_framework_bd/docs/cicd_runner.md
T
Benjamin Labrecque 86c61d56fe
Deploy bin / deploy (push) Successful in 2s
Deploy service MASTER / deploy (push) Failing after 4s
docs: svcusr permissions to clone repos
2026-07-06 14:30:46 +02:00

41 lines
848 B
Markdown

# CI/CD Runner
## Host
TODO: Should we have a dedicated runner server?
sls-vserv-bd-01-dev
## Setup
```shell
<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
```shell
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.