Commit graph

77 commits

Author SHA1 Message Date
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
Jaka Hudoklin
a8dcc69d54
feat(submodules): support for submodule passthru 2019-10-06 21:43:53 +02:00
Jaka Hudoklin
7afbc91301
feat: make propagation independent of submodules 2019-10-06 21:43:49 +02:00
Jaka Hudoklin
bdc145e2bb
feat(k8s): expose attrName in list of kubernetes types 2019-10-06 21:43:42 +02:00
Jaka Hudoklin
ff59c7d905
feat: initial back compatibility for kubenix 1.0 2019-09-27 18:29:54 +02:00
Jaka Hudoklin
ec3f7ecb10
feat(k8s): improve aliased resource naming 2019-09-27 18:28:24 +02:00
Jaka Hudoklin
3d149d6101
feat(k8s): improvements
- format k8s generated files with nixfmt
- improve k8s module true and mount resources at `kubernetes.api.resources`
- create alias `kubernetes.resources` to `kubernetes.api.resources`
- rename from `kubernetes.api.resources` to `kubernetes.api.types`
- rename from `kubernetes.customResources` to `kubernetes.customTypes`
2019-09-25 01:03:01 +02:00
Jaka Hudoklin
7e7eb19e94
improve testing 2019-05-05 11:55:19 +02:00
Jaka Hudoklin
e4493addd8
pass nixos path explicitly 2019-05-03 23:37:20 +02:00
Jaka Hudoklin
db856b3b02
fix(k8s): use resource name instead of alias for customResources 2019-04-05 20:28:42 +02:00
Jaka Hudoklin
5e29229879
feat(k8s): support for yaml/json imports 2019-04-05 20:27:47 +02:00
Jaka Hudoklin
db5ee88274
feat(submodule): pass submodule args as argument to submodule modules 2019-03-20 21:07:49 +01:00
Jaka Hudoklin
dad2915c44
feat(submodules): alias submodule args to 2019-03-20 20:54:24 +01:00
Jaka Hudoklin
50abd446c4
refactor(submodules): evaledSubmodule should not expose config direclty 2019-03-20 20:52:59 +01:00
Jaka Hudoklin
6d6c4c2106
fix(k8s): custom resources without module 2019-03-13 18:04:22 +01:00
Jaka Hudoklin
afeef341a2
feat(k8s): allow custom resources without module definition 2019-03-13 18:04:02 +01:00