mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
CI - Move cron to 1 per day
This commit is contained in:
parent
6efdd26c56
commit
b204b47974
3 changed files with 6 additions and 6 deletions
2
.github/workflows/niv-update.yml
vendored
2
.github/workflows/niv-update.yml
vendored
|
|
@ -100,4 +100,4 @@ name: niv-update
|
||||||
- ci/niv-cron.nix
|
- ci/niv-cron.nix
|
||||||
- .github/workflows/niv-update.yml
|
- .github/workflows/niv-update.yml
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 */6 * * *
|
- cron: 0 0 * * *
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ with lib; {
|
||||||
inherit paths;
|
inherit paths;
|
||||||
};
|
};
|
||||||
schedule = [ {
|
schedule = [ {
|
||||||
cron = "0 */6 * * *";
|
cron = "0 0 * * *";
|
||||||
} ];
|
} ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,8 @@
|
||||||
echo $f
|
echo $f
|
||||||
nix run --arg config $f ci.run.gh-actions-generate
|
nix run --arg config $f ci.run.gh-actions-generate
|
||||||
done
|
done
|
||||||
cd ${toString ./trusted}
|
cd ${toString ./config/trusted}
|
||||||
export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci
|
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
||||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
||||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||||
echo $f
|
echo $f
|
||||||
|
|
@ -29,8 +29,8 @@
|
||||||
echo $f
|
echo $f
|
||||||
nix run --arg config $f ci.test
|
nix run --arg config $f ci.test
|
||||||
done
|
done
|
||||||
cd ${toString ./trusted}
|
cd ${toString ./config/trusted}
|
||||||
export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci
|
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
||||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
||||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||||
echo $f
|
echo $f
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue