chore(infra): Remove remnants of dgn-dns
This commit is contained in:
parent
76ec967fba
commit
ce0dfe5431
6 changed files with 0 additions and 33 deletions
|
@ -3,7 +3,6 @@
|
||||||
lib.extra.mkConfig {
|
lib.extra.mkConfig {
|
||||||
enabledModules = [
|
enabledModules = [
|
||||||
# List of modules to enable
|
# List of modules to enable
|
||||||
"dgn-dns"
|
|
||||||
"dgn-fail2ban"
|
"dgn-fail2ban"
|
||||||
"dgn-web"
|
"dgn-web"
|
||||||
];
|
];
|
||||||
|
|
|
@ -29,8 +29,6 @@ builtins.mapAttrs mkNode {
|
||||||
};
|
};
|
||||||
|
|
||||||
compute01 = {
|
compute01 = {
|
||||||
deployment.tags = [ "dns" ];
|
|
||||||
|
|
||||||
stateVersion = "23.05";
|
stateVersion = "23.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,6 @@
|
||||||
"dgn-access-control"
|
"dgn-access-control"
|
||||||
"dgn-acme"
|
"dgn-acme"
|
||||||
"dgn-console"
|
"dgn-console"
|
||||||
"dgn-dns"
|
|
||||||
"dgn-fail2ban"
|
"dgn-fail2ban"
|
||||||
"dgn-hardware"
|
"dgn-hardware"
|
||||||
"dgn-network"
|
"dgn-network"
|
||||||
|
|
|
@ -40,19 +40,6 @@
|
||||||
"url": "https://api.github.com/repos/nix-community/disko/tarball/v1.3.0",
|
"url": "https://api.github.com/repos/nix-community/disko/tarball/v1.3.0",
|
||||||
"hash": "1lrnvgd5w41wrgidp3vwv2ahpvl0a61c2lai6qs16ri71g00kqn0"
|
"hash": "1lrnvgd5w41wrgidp3vwv2ahpvl0a61c2lai6qs16ri71g00kqn0"
|
||||||
},
|
},
|
||||||
"dns.nix": {
|
|
||||||
"type": "GitRelease",
|
|
||||||
"repository": {
|
|
||||||
"type": "Git",
|
|
||||||
"url": "https://git.hubrecht.ovh/hubrecht/dns.nix"
|
|
||||||
},
|
|
||||||
"pre_releases": false,
|
|
||||||
"version_upper_bound": null,
|
|
||||||
"version": "v1.2.1",
|
|
||||||
"revision": "66979725afe2164491be38ffff78460cc9b0ffd7",
|
|
||||||
"url": null,
|
|
||||||
"hash": "1bashjbh71dqs32yld7ihw2vz0vrad73pc35crf3qck8ssgpzv7d"
|
|
||||||
},
|
|
||||||
"linkal": {
|
"linkal": {
|
||||||
"type": "Git",
|
"type": "Git",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -24,10 +24,7 @@ let
|
||||||
|
|
||||||
scripts = [
|
scripts = [
|
||||||
"check-deployment"
|
"check-deployment"
|
||||||
"ns-update"
|
|
||||||
"launch-vm"
|
"launch-vm"
|
||||||
# "mk-backup-key"
|
|
||||||
# "wg-setup"
|
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
|
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
#!@bash@/bin/bash
|
|
||||||
|
|
||||||
cd "$(@git@/bin/git rev-parse --show-toplevel)"
|
|
||||||
|
|
||||||
SERIAL=$(@coreutils@/bin/cat modules/dgn-dns/serial.nix)
|
|
||||||
T_SERIAL="$(@coreutils@/bin/date +'%Y%m%d')00"
|
|
||||||
|
|
||||||
N_SERIAL=$(( ( SERIAL >= T_SERIAL ? SERIAL : T_SERIAL ) + 1 ))
|
|
||||||
|
|
||||||
echo "New SOA serial: $N_SERIAL"
|
|
||||||
echo -n "$N_SERIAL" > modules/dgn-dns/serial.nix
|
|
||||||
|
|
||||||
@colmena@/bin/colmena apply --on @dns
|
|
Loading…
Reference in a new issue