Commit b5e8040f authored by Valentin Reis's avatar Valentin Reis
Browse files

CI Deployment fix.

parent f7f893cf
No preview for this file type
......@@ -6,8 +6,6 @@
with lib;
let
cfg = config.services.gitlab-runner2;
setupContainer = pkgs.writeScriptBin "setup-container" ''
'';
in
{
options.services.gitlab-runner2 = {
......@@ -82,8 +80,7 @@ in
--non-interactive=true \
--name gitlab-runner \
--executor "shell" \
--env "PATH=/home/fre/bin:/run/wrappers/bin:/etc/profiles/per-user/fre/bin:/home/fre/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin" \
--pre-build-script "${setupContainer}/bin/setup-container" \
--tag-list "integration" \
'';
ExecStart = ''${cfg.package.bin}/bin/gitlab-runner run \
--working-directory ${cfg.workDir} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment