From 2e25bcac4f45deac8e5d03b0aab1c788f1184f6b Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Mon, 14 Oct 2024 08:09:25 -0700 Subject: [PATCH] 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 Reviewed-by: Veiko Aasa --- .ci/gitlab-runner/config.toml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .ci/gitlab-runner/config.toml diff --git a/.ci/gitlab-runner/config.toml b/.ci/gitlab-runner/config.toml new file mode 100644 index 000000000..35d887456 --- /dev/null +++ b/.ci/gitlab-runner/config.toml @@ -0,0 +1,21 @@ +concurrent = 1 +check_interval = 0 + +[[runners]] + name = "freedombox-functional" + url = "https://salsa.debian.org" + token = "" + 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