Compare commits
2 commits
ccad6b4798
...
a3987254f0
Author | SHA1 | Date | |
---|---|---|---|
|
a3987254f0 | ||
|
218eb0ea42 |
2 changed files with 36 additions and 4 deletions
16
.forgejo/workflows/action.yml
Normal file
16
.forgejo/workflows/action.yml
Normal 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!"
|
24
clan.nix
24
clan.nix
|
@ -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
|
||||||
|
|
Reference in a new issue