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
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
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
09e268920b
ref: move source code to ./src (clean top level)
2021-05-31 17:25:06 -05:00
David Arnold
9d006f39fc
ref: streamline extra lib
2021-05-31 17:24:59 -05:00
David Arnold
bf64929797
ref: organize lib folder
2021-05-28 16:19:03 -05: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
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
9759a318f5
expose cluster & fix flaky test image
2021-05-05 22:33:08 -04:00
David Arnold
1cc28e4602
bump: k8s version
2021-04-29 16:23:20 -05:00
David Arnold
52c6472e90
fix tests
2021-04-28 19:25:09 -05:00
Xavier Zwirtz
0f8a36710c
wip k3s support
2021-04-28 14:28:44 -05:00
David Arnold
7a93fdce23
fix test executability
2021-04-28 13:43:24 -05:00
GTrunSec
8f0e518bc0
compat nixpkgs and change to testing-python.nix
2021-04-03 22:37:13 -07:00
Jaka Hudoklin
3534f5fc61
feat(k8s): deprecate createCustomTypesFromCRDs, only support in legacy
2020-04-04 18:26:11 +07:00
Jaka Hudoklin
13e47144fd
feat(k8s): support for k8s 1.16 -> 1.17, deprecate 1.7
2020-04-04 18:25:04 +07:00
Jaka Hudoklin
493d7e04df
fix(modules): use _m instead of _module as _module is removed in eval
2020-04-04 18:23:25 +07:00
Jaka Hudoklin
962106fa22
fix(helm): fix issue regarding empty helm.instances
2020-01-21 15:42:07 +00:00
Jaka Hudoklin
13e5edd9f9
fix regressions due updates in nixpkgs
2020-01-15 12:22:47 +00:00
Jaka Hudoklin
ba26ce8e60
Merge branch 'kubenix-2.0' of github.com:xtruder/kubenix into kubenix-2.0
2020-01-15 08:50:32 +00:00
Jaka Hudoklin
3f3b925f96
fix(generators/k8s): prefer beta resources over alpha
2020-01-15 08:50:04 +00:00
Jaka Hudoklin
48d5b9e157
feat(k8s): apply unique on defaults
2020-01-14 20:44:30 +00:00
Jaka Hudoklin
80f4aa5a5c
feat(k8s): output kubernetes version in generated output
2020-01-14 19:14:14 +00:00
Jaka Hudoklin
80cb43fcea
feat(k8s): create kubernetes.result output that output json file
2020-01-14 19:12:35 +00:00
Jaka Hudoklin
a8830c97c6
fix(k8s): fix kubernetes.resources to support multiple resources of same kind in different modules
2020-01-14 19:10:50 +00:00
Jaka Hudoklin
d14392d623
feat(k8s): add support for k8s v1.14 and v1.15
2020-01-14 16:24:42 +00:00
Jaka Hudoklin
26d0351eb8
feat(legacy): improve CRD support
2019-10-21 13:47:21 +02:00
Jaka Hudoklin
29b1140178
feat(legacy): improve legacy support, add more tests
2019-10-21 12:51:46 +02:00
Jaka Hudoklin
086780088c
feat(k8s): allow to define customTypes from CRDs
2019-10-20 13:48:48 +02:00
Jaka Hudoklin
baea3cc3b3
feat(submodules): allow to match defaults by module version
2019-10-12 15:22:38 +02:00
Jaka Hudoklin
28d2b4baac
fix tests
2019-10-10 13:28:48 +02:00
Jaka Hudoklin
9ca9c44c92
feat(submodules): add support for submodule exports
2019-10-10 13:00:52 +02:00
Jaka Hudoklin
accd2dec1b
fix: minor fixes
2019-10-06 21:44:00 +02:00
Jaka Hudoklin
9f05cd56b1
feat(legacy): refactor legacy kubenix support
2019-10-06 21:43:57 +02:00