Compare commits

...

2 commits

Author SHA1 Message Date
clan-tool
a3987254f0
add initial action
All checks were successful
Test action / Print hello world (push) Successful in 1s
2025-09-03 17:26:50 +02:00
clan-tool
218eb0ea42
add inventory metadata 2025-09-03 17:26:40 +02:00
2 changed files with 36 additions and 4 deletions

View file

@ -0,0 +1,16 @@
name: Test action
on:
workflow_dispatch:
push:
branches:
- main
jobs:
hello:
name: Print hello world
runs-on: default
steps:
- name: Echo
run: |
echo "Hello, world!"

View file

@ -6,10 +6,26 @@
}; };
inventory.machines = { inventory.machines = {
m1 = {}; m1 = {
c1 = {}; name = "Management node 1";
c2 = {}; machineClass = "nixos";
c3 = {}; tags = [ "cloud:amarth" "region:oss" "nodeType:management" "criticallity: medium" "" ];
};
c1 = {
name = "Compute node 1";
machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
};
c2 = {
name = "Compute node 2";
machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
};
c3 = {
name = "Compute node 3";
machineClass = "nixos";
tags = [ "cloud:amarth" "region:oss" "nodeType:compute" "criticallity: medium" "" ];
};
}; };
# Docs: See https://docs.clan.lol/reference/clanServices # Docs: See https://docs.clan.lol/reference/clanServices