mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
CI hosts -> nodes
This commit is contained in:
parent
f918267d68
commit
81d5278809
3 changed files with 145 additions and 145 deletions
|
|
@ -1,10 +1,124 @@
|
||||||
env:
|
env:
|
||||||
CI_ALLOW_ROOT: '1'
|
CI_ALLOW_ROOT: '1'
|
||||||
CI_CONFIG: ./ci/hosts.nix
|
CI_CONFIG: ./ci/nodes.nix
|
||||||
CI_PLATFORM: gh-actions
|
CI_PLATFORM: gh-actions
|
||||||
jobs:
|
jobs:
|
||||||
|
athame:
|
||||||
|
name: nodes-athame
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- id: checkout
|
||||||
|
name: git clone
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
submodules: false
|
||||||
|
- id: nix-install
|
||||||
|
name: nix install
|
||||||
|
uses: arcnmx/ci/actions/nix/install@master
|
||||||
|
- id: ci-setup
|
||||||
|
name: nix setup
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.athame.run.bootstrap
|
||||||
|
quiet: false
|
||||||
|
- id: ci-dirty
|
||||||
|
name: nix test dirty
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.athame.run.test
|
||||||
|
command: ci-build-dirty
|
||||||
|
quiet: false
|
||||||
|
stdout: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
- id: ci-test
|
||||||
|
name: nix test build
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.athame.run.test
|
||||||
|
command: ci-build-realise
|
||||||
|
ignore-exit-code: true
|
||||||
|
quiet: false
|
||||||
|
stdin: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
- env:
|
||||||
|
CI_EXIT_CODE: ${{ steps.ci-test.outputs.exit-code }}
|
||||||
|
id: ci-summary
|
||||||
|
name: nix test results
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.athame.run.test
|
||||||
|
command: ci-build-summarise
|
||||||
|
quiet: false
|
||||||
|
stdin: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
stdout: ${{ runner.temp }}/ci.build.cache
|
||||||
|
- env:
|
||||||
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
id: ci-cache
|
||||||
|
if: always()
|
||||||
|
name: nix test cache
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.athame.run.test
|
||||||
|
command: ci-build-cache
|
||||||
|
quiet: false
|
||||||
|
stdin: ${{ runner.temp }}/ci.build.cache
|
||||||
|
beltane:
|
||||||
|
name: nodes-beltane
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- id: checkout
|
||||||
|
name: git clone
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
with:
|
||||||
|
submodules: false
|
||||||
|
- id: nix-install
|
||||||
|
name: nix install
|
||||||
|
uses: arcnmx/ci/actions/nix/install@master
|
||||||
|
- id: ci-setup
|
||||||
|
name: nix setup
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.beltane.run.bootstrap
|
||||||
|
quiet: false
|
||||||
|
- id: ci-dirty
|
||||||
|
name: nix test dirty
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.beltane.run.test
|
||||||
|
command: ci-build-dirty
|
||||||
|
quiet: false
|
||||||
|
stdout: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
- id: ci-test
|
||||||
|
name: nix test build
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.beltane.run.test
|
||||||
|
command: ci-build-realise
|
||||||
|
ignore-exit-code: true
|
||||||
|
quiet: false
|
||||||
|
stdin: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
- env:
|
||||||
|
CI_EXIT_CODE: ${{ steps.ci-test.outputs.exit-code }}
|
||||||
|
id: ci-summary
|
||||||
|
name: nix test results
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.beltane.run.test
|
||||||
|
command: ci-build-summarise
|
||||||
|
quiet: false
|
||||||
|
stdin: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
stdout: ${{ runner.temp }}/ci.build.cache
|
||||||
|
- env:
|
||||||
|
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
||||||
|
id: ci-cache
|
||||||
|
if: always()
|
||||||
|
name: nix test cache
|
||||||
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
|
with:
|
||||||
|
attrs: ci.job.beltane.run.test
|
||||||
|
command: ci-build-cache
|
||||||
|
quiet: false
|
||||||
|
stdin: ${{ runner.temp }}/ci.build.cache
|
||||||
ci-check:
|
ci-check:
|
||||||
name: hosts check
|
name: nodes check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- id: checkout
|
- id: checkout
|
||||||
|
|
@ -25,11 +139,11 @@ jobs:
|
||||||
name: gh-actions compare
|
name: gh-actions compare
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
args: -u .github/workflows/hosts.yml .ci/workflow.yml
|
args: -u .github/workflows/nodes.yml .ci/workflow.yml
|
||||||
attrs: nixpkgs.diffutils
|
attrs: nixpkgs.diffutils
|
||||||
command: diff
|
command: diff
|
||||||
host-athame:
|
ostara:
|
||||||
name: hosts-host-athame
|
name: nodes-ostara
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- id: checkout
|
- id: checkout
|
||||||
|
|
@ -44,13 +158,13 @@ jobs:
|
||||||
name: nix setup
|
name: nix setup
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-athame.run.bootstrap
|
attrs: ci.job.ostara.run.bootstrap
|
||||||
quiet: false
|
quiet: false
|
||||||
- id: ci-dirty
|
- id: ci-dirty
|
||||||
name: nix test dirty
|
name: nix test dirty
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-athame.run.test
|
attrs: ci.job.ostara.run.test
|
||||||
command: ci-build-dirty
|
command: ci-build-dirty
|
||||||
quiet: false
|
quiet: false
|
||||||
stdout: ${{ runner.temp }}/ci.build.dirty
|
stdout: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
|
@ -58,7 +172,7 @@ jobs:
|
||||||
name: nix test build
|
name: nix test build
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-athame.run.test
|
attrs: ci.job.ostara.run.test
|
||||||
command: ci-build-realise
|
command: ci-build-realise
|
||||||
ignore-exit-code: true
|
ignore-exit-code: true
|
||||||
quiet: false
|
quiet: false
|
||||||
|
|
@ -69,7 +183,7 @@ jobs:
|
||||||
name: nix test results
|
name: nix test results
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-athame.run.test
|
attrs: ci.job.ostara.run.test
|
||||||
command: ci-build-summarise
|
command: ci-build-summarise
|
||||||
quiet: false
|
quiet: false
|
||||||
stdin: ${{ runner.temp }}/ci.build.dirty
|
stdin: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
|
@ -81,12 +195,12 @@ jobs:
|
||||||
name: nix test cache
|
name: nix test cache
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-athame.run.test
|
attrs: ci.job.ostara.run.test
|
||||||
command: ci-build-cache
|
command: ci-build-cache
|
||||||
quiet: false
|
quiet: false
|
||||||
stdin: ${{ runner.temp }}/ci.build.cache
|
stdin: ${{ runner.temp }}/ci.build.cache
|
||||||
host-beltane:
|
samhain:
|
||||||
name: hosts-host-beltane
|
name: nodes-samhain
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- id: checkout
|
- id: checkout
|
||||||
|
|
@ -101,13 +215,13 @@ jobs:
|
||||||
name: nix setup
|
name: nix setup
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-beltane.run.bootstrap
|
attrs: ci.job.samhain.run.bootstrap
|
||||||
quiet: false
|
quiet: false
|
||||||
- id: ci-dirty
|
- id: ci-dirty
|
||||||
name: nix test dirty
|
name: nix test dirty
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-beltane.run.test
|
attrs: ci.job.samhain.run.test
|
||||||
command: ci-build-dirty
|
command: ci-build-dirty
|
||||||
quiet: false
|
quiet: false
|
||||||
stdout: ${{ runner.temp }}/ci.build.dirty
|
stdout: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
|
@ -115,7 +229,7 @@ jobs:
|
||||||
name: nix test build
|
name: nix test build
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-beltane.run.test
|
attrs: ci.job.samhain.run.test
|
||||||
command: ci-build-realise
|
command: ci-build-realise
|
||||||
ignore-exit-code: true
|
ignore-exit-code: true
|
||||||
quiet: false
|
quiet: false
|
||||||
|
|
@ -126,7 +240,7 @@ jobs:
|
||||||
name: nix test results
|
name: nix test results
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-beltane.run.test
|
attrs: ci.job.samhain.run.test
|
||||||
command: ci-build-summarise
|
command: ci-build-summarise
|
||||||
quiet: false
|
quiet: false
|
||||||
stdin: ${{ runner.temp }}/ci.build.dirty
|
stdin: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
|
@ -138,12 +252,12 @@ jobs:
|
||||||
name: nix test cache
|
name: nix test cache
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-beltane.run.test
|
attrs: ci.job.samhain.run.test
|
||||||
command: ci-build-cache
|
command: ci-build-cache
|
||||||
quiet: false
|
quiet: false
|
||||||
stdin: ${{ runner.temp }}/ci.build.cache
|
stdin: ${{ runner.temp }}/ci.build.cache
|
||||||
host-ostara:
|
yule:
|
||||||
name: hosts-host-ostara
|
name: nodes-yule
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- id: checkout
|
- id: checkout
|
||||||
|
|
@ -158,13 +272,13 @@ jobs:
|
||||||
name: nix setup
|
name: nix setup
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-ostara.run.bootstrap
|
attrs: ci.job.yule.run.bootstrap
|
||||||
quiet: false
|
quiet: false
|
||||||
- id: ci-dirty
|
- id: ci-dirty
|
||||||
name: nix test dirty
|
name: nix test dirty
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-ostara.run.test
|
attrs: ci.job.yule.run.test
|
||||||
command: ci-build-dirty
|
command: ci-build-dirty
|
||||||
quiet: false
|
quiet: false
|
||||||
stdout: ${{ runner.temp }}/ci.build.dirty
|
stdout: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
|
@ -172,7 +286,7 @@ jobs:
|
||||||
name: nix test build
|
name: nix test build
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-ostara.run.test
|
attrs: ci.job.yule.run.test
|
||||||
command: ci-build-realise
|
command: ci-build-realise
|
||||||
ignore-exit-code: true
|
ignore-exit-code: true
|
||||||
quiet: false
|
quiet: false
|
||||||
|
|
@ -183,7 +297,7 @@ jobs:
|
||||||
name: nix test results
|
name: nix test results
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-ostara.run.test
|
attrs: ci.job.yule.run.test
|
||||||
command: ci-build-summarise
|
command: ci-build-summarise
|
||||||
quiet: false
|
quiet: false
|
||||||
stdin: ${{ runner.temp }}/ci.build.dirty
|
stdin: ${{ runner.temp }}/ci.build.dirty
|
||||||
|
|
@ -195,125 +309,11 @@ jobs:
|
||||||
name: nix test cache
|
name: nix test cache
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
uses: arcnmx/ci/actions/nix/run@master
|
||||||
with:
|
with:
|
||||||
attrs: ci.job.host-ostara.run.test
|
attrs: ci.job.yule.run.test
|
||||||
command: ci-build-cache
|
command: ci-build-cache
|
||||||
quiet: false
|
quiet: false
|
||||||
stdin: ${{ runner.temp }}/ci.build.cache
|
stdin: ${{ runner.temp }}/ci.build.cache
|
||||||
host-samhain:
|
name: nodes
|
||||||
name: hosts-host-samhain
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- id: checkout
|
|
||||||
name: git clone
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
with:
|
|
||||||
submodules: false
|
|
||||||
- id: nix-install
|
|
||||||
name: nix install
|
|
||||||
uses: arcnmx/ci/actions/nix/install@master
|
|
||||||
- id: ci-setup
|
|
||||||
name: nix setup
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-samhain.run.bootstrap
|
|
||||||
quiet: false
|
|
||||||
- id: ci-dirty
|
|
||||||
name: nix test dirty
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-samhain.run.test
|
|
||||||
command: ci-build-dirty
|
|
||||||
quiet: false
|
|
||||||
stdout: ${{ runner.temp }}/ci.build.dirty
|
|
||||||
- id: ci-test
|
|
||||||
name: nix test build
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-samhain.run.test
|
|
||||||
command: ci-build-realise
|
|
||||||
ignore-exit-code: true
|
|
||||||
quiet: false
|
|
||||||
stdin: ${{ runner.temp }}/ci.build.dirty
|
|
||||||
- env:
|
|
||||||
CI_EXIT_CODE: ${{ steps.ci-test.outputs.exit-code }}
|
|
||||||
id: ci-summary
|
|
||||||
name: nix test results
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-samhain.run.test
|
|
||||||
command: ci-build-summarise
|
|
||||||
quiet: false
|
|
||||||
stdin: ${{ runner.temp }}/ci.build.dirty
|
|
||||||
stdout: ${{ runner.temp }}/ci.build.cache
|
|
||||||
- env:
|
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
|
||||||
id: ci-cache
|
|
||||||
if: always()
|
|
||||||
name: nix test cache
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-samhain.run.test
|
|
||||||
command: ci-build-cache
|
|
||||||
quiet: false
|
|
||||||
stdin: ${{ runner.temp }}/ci.build.cache
|
|
||||||
host-yule:
|
|
||||||
name: hosts-host-yule
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- id: checkout
|
|
||||||
name: git clone
|
|
||||||
uses: actions/checkout@v1
|
|
||||||
with:
|
|
||||||
submodules: false
|
|
||||||
- id: nix-install
|
|
||||||
name: nix install
|
|
||||||
uses: arcnmx/ci/actions/nix/install@master
|
|
||||||
- id: ci-setup
|
|
||||||
name: nix setup
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-yule.run.bootstrap
|
|
||||||
quiet: false
|
|
||||||
- id: ci-dirty
|
|
||||||
name: nix test dirty
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-yule.run.test
|
|
||||||
command: ci-build-dirty
|
|
||||||
quiet: false
|
|
||||||
stdout: ${{ runner.temp }}/ci.build.dirty
|
|
||||||
- id: ci-test
|
|
||||||
name: nix test build
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-yule.run.test
|
|
||||||
command: ci-build-realise
|
|
||||||
ignore-exit-code: true
|
|
||||||
quiet: false
|
|
||||||
stdin: ${{ runner.temp }}/ci.build.dirty
|
|
||||||
- env:
|
|
||||||
CI_EXIT_CODE: ${{ steps.ci-test.outputs.exit-code }}
|
|
||||||
id: ci-summary
|
|
||||||
name: nix test results
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-yule.run.test
|
|
||||||
command: ci-build-summarise
|
|
||||||
quiet: false
|
|
||||||
stdin: ${{ runner.temp }}/ci.build.dirty
|
|
||||||
stdout: ${{ runner.temp }}/ci.build.cache
|
|
||||||
- env:
|
|
||||||
CACHIX_SIGNING_KEY: ${{ secrets.CACHIX_SIGNING_KEY }}
|
|
||||||
id: ci-cache
|
|
||||||
if: always()
|
|
||||||
name: nix test cache
|
|
||||||
uses: arcnmx/ci/actions/nix/run@master
|
|
||||||
with:
|
|
||||||
attrs: ci.job.host-yule.run.test
|
|
||||||
command: ci-build-cache
|
|
||||||
quiet: false
|
|
||||||
stdin: ${{ runner.temp }}/ci.build.cache
|
|
||||||
name: hosts
|
|
||||||
'on':
|
'on':
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{ lib, channels, env, ... }: with lib; {
|
{ lib, channels, env, ... }: with lib; {
|
||||||
name = "hosts";
|
name = "nodes";
|
||||||
ci.gh-actions.enable = true;
|
ci.gh-actions.enable = true;
|
||||||
ci.gh-actions.export = true;
|
ci.gh-actions.export = true;
|
||||||
channels.nixfiles.path = ../.;
|
channels.nixfiles.path = ../.;
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
targets = main.deploy.targets;
|
targets = main.deploy.targets;
|
||||||
enabledTargets = filterAttrs (_: v: v.enable) main.deploy.targets;
|
enabledTargets = filterAttrs (_: v: v.enable) main.deploy.targets;
|
||||||
enabledHosts = concatLists (mapAttrsToList (targetName: target: target.nodeNames) enabledTargets);
|
enabledHosts = concatLists (mapAttrsToList (targetName: target: target.nodeNames) enabledTargets);
|
||||||
in mapAttrs' (k: nameValuePair "host-${k}") (genAttrs enabledHosts (host: {
|
in mapAttrs' (k: nameValuePair "${k}") (genAttrs enabledHosts (host: {
|
||||||
tasks.${host}.inputs = channels.nixfiles.network.nodes.${host}.deploy.system;
|
tasks.${host}.inputs = channels.nixfiles.network.nodes.${host}.deploy.system;
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
@ -26,14 +26,14 @@
|
||||||
export START_DIR="$PWD"
|
export START_DIR="$PWD"
|
||||||
cd ${toString ./.}
|
cd ${toString ./.}
|
||||||
export NF_CONFIG_ROOT=${toString ./.}/ci
|
export NF_CONFIG_ROOT=${toString ./.}/ci
|
||||||
NF_CONFIG_FILES=($NF_CONFIG_ROOT/{hosts,niv-cron}.nix)
|
NF_CONFIG_FILES=($NF_CONFIG_ROOT/{nodes,niv-cron}.nix)
|
||||||
for f in "''${NF_CONFIG_FILES[@]}"; do
|
for f in "''${NF_CONFIG_FILES[@]}"; do
|
||||||
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 ./config/trusted}
|
cd ${toString ./config/trusted}
|
||||||
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
||||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/nodes.nix)
|
||||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||||
echo $f
|
echo $f
|
||||||
nix run --arg config $f ci.run.gh-actions-generate
|
nix run --arg config $f ci.run.gh-actions-generate
|
||||||
|
|
@ -44,14 +44,14 @@
|
||||||
export START_DIR="$PWD"
|
export START_DIR="$PWD"
|
||||||
cd ${toString ./.}
|
cd ${toString ./.}
|
||||||
export NF_CONFIG_ROOT=${toString ./.}/ci
|
export NF_CONFIG_ROOT=${toString ./.}/ci
|
||||||
NF_CONFIG_FILES=($NF_CONFIG_ROOT/{hosts,niv-cron}.nix)
|
NF_CONFIG_FILES=($NF_CONFIG_ROOT/{nodes,niv-cron}.nix)
|
||||||
for f in "''${NF_CONFIG_FILES[@]}"; do
|
for f in "''${NF_CONFIG_FILES[@]}"; do
|
||||||
echo $f
|
echo $f
|
||||||
nix run --arg config $f ci.test
|
nix run --arg config $f ci.test
|
||||||
done
|
done
|
||||||
cd ${toString ./config/trusted}
|
cd ${toString ./config/trusted}
|
||||||
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci
|
||||||
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix)
|
TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/nodes.nix)
|
||||||
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
for f in "''${TRUSTED_CONFIG_FILES[@]}"; do
|
||||||
echo $f
|
echo $f
|
||||||
nix run --arg config $f ci.test
|
nix run --arg config $f ci.test
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue