mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 10:10:06 +01:00
feat: add support for nix store paths in variables
by exporting them at runtime and removing them from the pipeline definition itself closes #3
This commit is contained in:
parent
ed80957884
commit
e3b35ec8ae
2 changed files with 28 additions and 1 deletions
|
|
@ -42,9 +42,14 @@
|
|||
when = "delayed";
|
||||
start_in = "1 hour";
|
||||
deps = [pkgs.hello pkgs.curl];
|
||||
variables = {
|
||||
TEST = "test";
|
||||
TEST_WITH_DERIVATION = "${pkgs.hello}/test";
|
||||
};
|
||||
script = [
|
||||
"hello"
|
||||
"curl google.de"
|
||||
"echo $TEST $TEST_WITH_DERIVATION"
|
||||
];
|
||||
};
|
||||
"test-non-nix" = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue