Tom Hubrecht
accf643294
All checks were successful
Check meta / check_dns (pull_request) Successful in 20s
Check meta / check_meta (pull_request) Successful in 20s
Check workflows / check_workflows (pull_request) Successful in 26s
Build all the nodes / ap01 (pull_request) Successful in 1m16s
Build all the nodes / netcore02 (pull_request) Successful in 48s
Build all the nodes / bridge01 (pull_request) Successful in 1m50s
Build all the nodes / geo01 (pull_request) Successful in 2m7s
Build all the nodes / geo02 (pull_request) Successful in 2m1s
Build all the nodes / compute01 (pull_request) Successful in 2m36s
Build all the nodes / storage01 (pull_request) Successful in 2m8s
Build all the nodes / rescue01 (pull_request) Successful in 2m18s
Build all the nodes / vault01 (pull_request) Successful in 1m52s
Run pre-commit on all files / pre-commit (pull_request) Successful in 35s
Build all the nodes / web02 (pull_request) Successful in 1m50s
Build all the nodes / web03 (pull_request) Successful in 1m46s
Build all the nodes / web01 (pull_request) Successful in 2m24s
Check meta / check_dns (push) Successful in 17s
Check meta / check_meta (push) Successful in 18s
Check workflows / check_workflows (push) Successful in 22s
Build all the nodes / ap01 (push) Successful in 1m4s
Build all the nodes / bridge01 (push) Successful in 1m45s
Build all the nodes / geo01 (push) Successful in 1m43s
Build all the nodes / compute01 (push) Successful in 2m11s
Build all the nodes / netcore02 (push) Successful in 29s
Build all the nodes / geo02 (push) Successful in 1m30s
Build all the nodes / rescue01 (push) Successful in 2m5s
Build all the nodes / vault01 (push) Successful in 2m1s
Build all the nodes / storage01 (push) Successful in 2m2s
Build all the nodes / web01 (push) Successful in 2m19s
Run pre-commit on all files / pre-commit (push) Successful in 35s
Build all the nodes / web02 (push) Successful in 1m34s
Build all the nodes / web03 (push) Successful in 1m39s
36 lines
788 B
Nix
36 lines
788 B
Nix
# SPDX-FileCopyrightText: 2024 Tom Hubrecht <tom.hubrecht@dgnum.eu>
|
|
#
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
{ lib }:
|
|
|
|
let
|
|
inherit (lib) attrNames genAttrs;
|
|
|
|
nodes = attrNames (import ../meta/nodes);
|
|
in
|
|
|
|
{
|
|
name = "Build all the nodes";
|
|
on = {
|
|
pull_request.branches = [ "main" ];
|
|
push.branches = [ "main" ];
|
|
};
|
|
|
|
jobs = genAttrs nodes (node: {
|
|
runs-on = "nix";
|
|
steps = [
|
|
{ uses = "actions/checkout@v3"; }
|
|
{
|
|
name = "Build and cache ${node}";
|
|
run = "nix-shell -A eval-nodes --run cache-node";
|
|
env = {
|
|
STORE_ENDPOINT = "https://tvix-store.dgnum.eu/infra-signing/";
|
|
STORE_USER = "admin";
|
|
STORE_PASSWORD = "\${{ secrets.STORE_PASSWORD }}";
|
|
BUILD_NODE = node;
|
|
};
|
|
}
|
|
];
|
|
});
|
|
}
|