ci: Add gitlab runner configuration

- Useful for setting up a new gitlab runner that helps in running functional
tests.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-10-14 08:09:25 -07:00 committed by Veiko Aasa
parent 82f4b70999
commit 2e25bcac4f
No known key found for this signature in database
GPG Key ID: 478539CAE680674E

View File

@ -0,0 +1,21 @@
concurrent = 1
check_interval = 0
[[runners]]
name = "freedombox-functional"
url = "https://salsa.debian.org"
token = "<insert-server-provided-token-here>"
executor = "custom"
builds_dir = "/freedombox"
cache_dir = "/cache"
[runners.custom]
prepare_exec = "/var/lib/fbx-functional/bin/prepare.sh"
prepare_exec_timeout = 1200
run_exec = "/var/lib/fbx-functional/bin/run.sh"
cleanup_exec = "/var/lib/fbx-functional/bin/cleanup.sh"
cleanup_exec_timeout = 1200
graceful_kill_timeout = 200
force_kill_timeout = 200