diff --git a/.forgejo/workflows/action.yml b/.forgejo/workflows/action.yml new file mode 100644 index 0000000..4aac00e --- /dev/null +++ b/.forgejo/workflows/action.yml @@ -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!" \ No newline at end of file diff --git a/clan.nix b/clan.nix index a98aab0..72e7e8c 100644 --- a/clan.nix +++ b/clan.nix @@ -6,10 +6,26 @@ }; inventory.machines = { - m1 = {}; - c1 = {}; - c2 = {}; - c3 = {}; + m1 = { + name = "Management node 1"; + machineClass = "nixos"; + 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