mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
ci: Moved niv-cron from trusted.
This commit is contained in:
parent
ce7863f7af
commit
5da8bd2221
3 changed files with 158 additions and 4 deletions
|
|
@ -6,14 +6,14 @@
|
|||
export START_DIR="$PWD"
|
||||
cd ${toString ./.}
|
||||
export NF_CONFIG_ROOT=${toString ./.}/ci
|
||||
NF_CONFIG_FILES=($NF_CONFIG_ROOT/hosts.nix)
|
||||
NF_CONFIG_FILES=($NF_CONFIG_ROOT/{hosts,niv-cron}.nix)
|
||||
for f in "''${NF_CONFIG_FILES[@]}"; do
|
||||
echo $f
|
||||
nix run --arg config $f ci.run.gh-actions-generate
|
||||
done
|
||||
cd ${toString ./trusted}
|
||||
export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci
|
||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/{hosts,niv-cron}.nix)
|
||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||
echo $f
|
||||
nix run --arg config $f ci.run.gh-actions-generate
|
||||
|
|
@ -24,14 +24,14 @@
|
|||
export START_DIR="$PWD"
|
||||
cd ${toString ./.}
|
||||
export NF_CONFIG_ROOT=${toString ./.}/ci
|
||||
NF_CONFIG_FILES=($NF_CONFIG_ROOT/hosts.nix)
|
||||
NF_CONFIG_FILES=($NF_CONFIG_ROOT/{hosts,niv-cron}.nix)
|
||||
for f in "''${NF_CONFIG_FILES[@]}"; do
|
||||
echo $f
|
||||
nix run --arg config $f ci.test
|
||||
done
|
||||
cd ${toString ./trusted}
|
||||
export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci
|
||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/{hosts,niv-cron}.nix)
|
||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||
echo $f
|
||||
nix run --arg config $f ci.test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue