mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 17:50:08 +01:00
fix(module): fix before_script not getting appended if it exists
[skip ci]
This commit is contained in:
parent
f460960ce6
commit
b1117dd620
2 changed files with 6 additions and 5 deletions
|
|
@ -121,6 +121,8 @@
|
|||
};
|
||||
};
|
||||
in {
|
||||
setup-script = setupScript "# extra_setup";
|
||||
finalize-script = finalizeScript "true # push_command";
|
||||
image = mkImage [
|
||||
(setupScript ''
|
||||
echo "No caching configured, to enable caching use the respective container image tag"
|
||||
|
|
|
|||
|
|
@ -162,11 +162,10 @@
|
|||
(prependToBeforeScript [
|
||||
"source setup_nix_ci ${key}"
|
||||
]
|
||||
job)
|
||||
// (prependToAfterScript [
|
||||
(prependToAfterScript [
|
||||
"finalize_nix_ci"
|
||||
]
|
||||
job)
|
||||
job))
|
||||
// lib.optionalAttrs job.nix {
|
||||
image = job.image;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue