Skip to content

Commit

Permalink
Add @enabled tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Albin Vass committed Apr 20, 2024
1 parent 4bdaa51 commit 4d82380
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ jobs:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}

- name: Provision Servers
run: nix develop --command -- deploy-colmena apply
run: nix develop --command -- deploy-colmena apply --on @enabled
env:
SOPS_AGE_KEY: ${{ secrets.SOPS_AGE_KEY }}
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
targetHost = "nixos-1.dev.albinvass.se";
targetUser = "root";
tags = [
"enabled"
"pulumi:vm:server_type:cpx21"
"pulumi:volume:size:20"
];
Expand Down Expand Up @@ -83,6 +84,7 @@
buildOnTarget = true;
sshOptions = ["-o ProxyCommand=cloudflared access ssh --hostname %h"];
tags = [
"enabled"
"pulumi:state:enabled:false"
];
keys = {
Expand Down Expand Up @@ -115,6 +117,7 @@
targetHost = "${name}.dev.albinvass.se";
targetUser = "avass";
tags = [
"disabled"
"pulumi:state:enabled:false"
"pulumi:vm:server_type:cx41"
"pulumi:volume:size:100"
Expand Down

0 comments on commit 4d82380

Please sign in to comment.