feat(infra): Add checks for meta
All checks were successful
Check meta / check_meta (push) Successful in 26s
Check meta / check_dns (push) Successful in 50s
build configuration / build_vault01 (push) Successful in 1m11s
build configuration / build_storage01 (push) Successful in 1m14s
build configuration / build_compute01 (push) Successful in 1m17s
build configuration / build_web02 (push) Successful in 55s
lint / check (push) Successful in 22s
build configuration / build_web01 (push) Successful in 1m34s
build configuration / build_rescue01 (push) Successful in 50s
All checks were successful
Check meta / check_meta (push) Successful in 26s
Check meta / check_dns (push) Successful in 50s
build configuration / build_vault01 (push) Successful in 1m11s
build configuration / build_storage01 (push) Successful in 1m14s
build configuration / build_compute01 (push) Successful in 1m17s
build configuration / build_web02 (push) Successful in 55s
lint / check (push) Successful in 22s
build configuration / build_web01 (push) Successful in 1m34s
build configuration / build_rescue01 (push) Successful in 50s
This commit is contained in:
parent
fdd4f4b443
commit
e9c6f0a2b6
22
.forgejo/workflows/check-meta.yaml
Normal file
22
.forgejo/workflows/check-meta.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Check meta
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- 'meta/*'
|
||||
|
||||
jobs:
|
||||
check_meta:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Check the validity of meta options
|
||||
run: nix-build meta/verify.nix -A meta
|
||||
|
||||
check_dns:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Check the validity of the DNS configuration
|
||||
run: nix-build meta/verify.nix -A dns --no-out-link
|
|
@ -3,6 +3,20 @@
|
|||
let
|
||||
sources = import ../npins;
|
||||
pkgs = import sources.nixpkgs { };
|
||||
|
||||
dns = import sources."dns.nix";
|
||||
|
||||
lib = import sources.nix-lib {
|
||||
inherit (pkgs) lib;
|
||||
|
||||
keysRoot = ../keys;
|
||||
};
|
||||
in
|
||||
|
||||
builtins.deepSeq ((import ./.) pkgs.lib) { }
|
||||
{
|
||||
meta = builtins.deepSeq ((import ./.) pkgs.lib) { };
|
||||
|
||||
dns = dns.util.${builtins.currentSystem}.writeZone "dgnum.eu" (
|
||||
pkgs.lib.recursiveUpdate { SOA.serial = 0; } (import ./dns.nix { inherit dns lib; })
|
||||
);
|
||||
}
|
||||
|
|
|
@ -52,6 +52,19 @@
|
|||
"url": "https://api.github.com/repos/nix-community/disko/tarball/v1.4.1",
|
||||
"hash": "1hm5fxpbbmzgl3qfl6gfc7ikas4piaixnav27qi719l73fnqbr8x"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"liminix": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in a new issue