mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 10:10:06 +01:00
chore(cilib_test) Improved tests for generating cache settings
Changed tests for generating cache configurations to consider single settings for ci.
This commit is contained in:
parent
8487c78246
commit
fc79dd5120
1 changed files with 14 additions and 14 deletions
|
|
@ -57,10 +57,10 @@
|
|||
{
|
||||
name = "jobPatched nix disabled";
|
||||
expected = {
|
||||
cache = [{
|
||||
cache = {
|
||||
name = "some";
|
||||
paths = [ "this" ];
|
||||
}];
|
||||
};
|
||||
variables = {
|
||||
BASH = toString pkgs.bash;
|
||||
TEST = "work";
|
||||
|
|
@ -70,10 +70,10 @@
|
|||
key = "test";
|
||||
pipelineName = "test";
|
||||
job = {
|
||||
cache = [{
|
||||
cache = {
|
||||
name = "some";
|
||||
paths = [ "this" ];
|
||||
}];
|
||||
};
|
||||
variables = {
|
||||
BASH = toString pkgs.bash;
|
||||
TEST = "work";
|
||||
|
|
@ -100,10 +100,10 @@
|
|||
key = "test";
|
||||
pipelineName = "test";
|
||||
job = {
|
||||
cache = [{
|
||||
cache = {
|
||||
name = "some";
|
||||
paths = [ "this" ];
|
||||
}];
|
||||
};
|
||||
variables = {
|
||||
BASH = toString pkgs.bash;
|
||||
TEST = "work";
|
||||
|
|
@ -137,10 +137,10 @@
|
|||
key = "test";
|
||||
pipelineName = "test";
|
||||
job = {
|
||||
cache = [{
|
||||
cache = {
|
||||
name = "some";
|
||||
paths = [ "this" ];
|
||||
}];
|
||||
};
|
||||
variables = {
|
||||
BASH = toString pkgs.bash;
|
||||
TEST = "work";
|
||||
|
|
@ -206,10 +206,10 @@
|
|||
before_script = [ "./init" ];
|
||||
script = [ "echo Hello World!" ];
|
||||
after_script = [ "./clean" ];
|
||||
cache = [{
|
||||
cache = {
|
||||
key = "simple";
|
||||
paths = [ "~/random/" ];
|
||||
}];
|
||||
};
|
||||
variables = {
|
||||
SAMPLE = "working";
|
||||
HELLO = toString pkgs.hello;
|
||||
|
|
@ -230,10 +230,10 @@
|
|||
before_script = [ "./init" ];
|
||||
script = [ "echo Hello World!" ];
|
||||
after_script = [ "./clean" ];
|
||||
cache = [{
|
||||
cache = {
|
||||
key = "simple";
|
||||
paths = [ "~/random/" ];
|
||||
}];
|
||||
};
|
||||
variables = {
|
||||
SAMPLE = "working";
|
||||
HELLO = toString pkgs.hello;
|
||||
|
|
@ -287,10 +287,10 @@
|
|||
before_script = [ "./init" ];
|
||||
script = [ "echo Hello World!" ];
|
||||
after_script = [ "./clean" ];
|
||||
cache = [{
|
||||
cache = {
|
||||
key = "simple";
|
||||
paths = [ "~/random/" ];
|
||||
}];
|
||||
};
|
||||
variables = {
|
||||
SAMPLE = "working";
|
||||
HELLO = toString pkgs.hello;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue