GTrunSec
d1e09b972b
fix generated
2022-04-02 15:17:23 -07:00
GTrunSec
c08c408bce
1.23
2022-04-02 15:09:21 -07:00
GTrunSec
bc5c70db39
fmt
2022-04-02 14:42:22 -07:00
GTrunSec
836fe9abd0
only x86_64-linux
2022-04-02 14:41:57 -07:00
GTrunSec
e7227cfe8c
WIP: IFD issue
2022-04-02 14:07:05 -07:00
GTrunSec
e823a93100
fix test
2022-04-02 13:46:23 -07:00
GTrunSec
6a720a257e
statix fix
2022-04-02 13:43:57 -07:00
GTrunSec
890b84be5e
deadnix check
2022-04-02 13:41:07 -07:00
GTrunSec
e0d7a66cdc
fix CI
2022-04-02 13:32:40 -07:00
GTrunSec
164beed30d
example fix
2022-04-02 13:28:07 -07:00
GTrunSec
2f2a3be87d
Update
2022-04-02 13:18:09 -07:00
GTrunSec
60592d3096
fmt
2022-04-02 12:40:35 -07:00
David Arnold
a0ce293db8
fix: ensure e2e tests are collected in order
2021-06-01 10:28:53 -05:00
David Arnold
806a3d759e
ref: throwError -> doThrowError
...
Follow somewhat the nixpkgs conventions for bool flags
2021-06-01 10:00:15 -05:00
David Arnold
b29d3a11b2
testing: rename defaults to common options
...
They are technically no defaults and competing declarations cause a
module error
2021-05-31 22:36:11 -05:00
David Arnold
557cc48a0a
style: simplify example & tests top level invokation
2021-05-31 22:35:41 -05:00
David Arnold
0c99276b50
fix: test kubernetes manifest
...
nix-repl> test-nginx = g.config.testing.testsByName.nginx-deployment.evaled.config.kubernetes.resources.deployments.nginx
nix-repl> test-nginx.spec.template.spec.containers.nginx.image
"nginx:dy4y4j45arjj9sgyjb90sv035sxglpv8"
vs
nix-repl> nginx = g.config.kubernetes.resources.deployments.nginx
nix-repl> nginx.spec.template.spec.containers.nginx.image
"docker.io/gatehub/nginx:dy4y4j45arjj9sgyjb90sv035sxglpv8"
2021-05-31 21:46:13 -05:00
David Arnold
80d3a595f5
imp: add some provenance info on defaults
2021-05-31 21:21:48 -05:00
David Arnold
39badb2084
fixup tests
2021-05-31 21:14:39 -05:00
David Arnold
bf231d19fa
ref: move generators into jobs & improvements
...
- format generated files with nixpkgs-fmt
Also unrelatedly embellish flake.nix
2021-05-31 17:25:07 -05:00
David Arnold
348d922b18
style: fmt
2021-05-31 17:25:07 -05:00
David Arnold
e575c23570
rm: fix nixosPath
...
nixosPath would get reified in the nix store as /nix/store/<hash>-nixos
which breakes any referenced from within ./nixpkgs/nixos to ../lib or
../pkgs
2021-05-31 17:25:06 -05:00
David Arnold
8f9729870f
rm: defunct kubconfig template
2021-05-31 17:25:06 -05:00
David Arnold
09e268920b
ref: move source code to ./src (clean top level)
2021-05-31 17:25:06 -05:00
David Arnold
6ae1e2eb15
rm: drop legacy "ci" implementation
2021-05-31 17:25:05 -05:00
David Arnold
ee9b4adfc8
ref: non-flake compatibility
...
since this is purely a legacy concern (both default.nix and shell.nix),
we avoid to include the flake-compat as a flake input.
(even though unused inputs are lazily fetched - for style & clarity)
2021-05-31 17:25:05 -05:00
David Arnold
ded0db9e3f
ref: rename default.nix -> kubenix.nix it's one (1) package of this repo
2021-05-31 17:25:04 -05:00
David Arnold
59da5c1698
ref: don't expose upstreamable lib a second time as kubenix.lib
...
It is already overlayd onto pkgs.lib in the context of kubenix'
evalModules
2021-05-31 17:25:04 -05:00
David Arnold
9d006f39fc
ref: streamline extra lib
2021-05-31 17:24:59 -05:00
David Arnold
69e57de48b
fix: add kubernetes & kubectl pkg to pakgs output
2021-05-28 16:20:19 -05:00
David Arnold
fc47e41697
ref: streamline kubenix pkg
2021-05-28 16:20:18 -05:00
David Arnold
caafa96bd3
rm: legacy support for buildResources
2021-05-28 16:19:10 -05:00
David Arnold
bf64929797
ref: organize lib folder
2021-05-28 16:19:03 -05:00
David Arnold
7b057d8c0f
adapt remaining tests to kubetest
2021-05-13 22:58:11 -04:00
David Arnold
8a20c93b21
add nixos-k8s runtime & rmove k3s runtime
2021-05-13 20:42:56 -04:00
David Arnold
70d249aaff
move past legacy compat
2021-05-13 19:45:26 -04:00
David Arnold
d1ad09a897
enhance github workflow
2021-05-13 17:34:13 -04:00
David Arnold
db6d83c61e
fmt
2021-05-13 17:33:58 -04:00
GTrunSec
c3fa598922
enhance nix-shell and add CI
2021-05-13 17:08:41 -04:00
David Arnold
ffaa63af55
ref: reuse upstream k8s testing infra as much as possible
2021-05-12 22:35:22 -04:00
David Arnold
0abb1adb9b
wip: strip down local runtime options
2021-05-12 18:16:35 -04:00
David Arnold
4707557ba3
fix: config tests without script
...
some tests only assert correct configuration generation, let's call
them "config tests" as opposed to "runtime tests"/"e2e tests".
Those configuration tests, don't expose a runtime script. So they
should not be taken into account for any orchestrated runtime script.
2021-05-10 14:59:04 -04:00
Thomas Bereknyei
a3464f6857
add kubetest derivation from pypi
2021-05-08 13:05:06 -04:00
David Arnold
1bd3fe4d4e
fixups
2021-05-06 16:07:24 -04:00
Jaka Hudoklin
bbc5e3d477
WIP: test refactoring
2021-05-05 22:49:54 -04:00
David Arnold
8ad3b90a52
deactivate legacy + flaky tests
2021-05-05 22:33:09 -04:00
David Arnold
9759a318f5
expose cluster & fix flaky test image
2021-05-05 22:33:08 -04:00
David Arnold
2026496ea0
inaugurate decent devshell
2021-04-29 17:13:33 -05:00
David Arnold
be58b0e94e
fix helm test
2021-04-29 16:25:04 -05:00
David Arnold
1cc28e4602
bump: k8s version
2021-04-29 16:23:20 -05:00