Refactor:

- Support for module features
- Remove kubenix.module and rather use explicit modules
- Make tests framework independent of k8s module
- Remove metacontroller submodule, which will go to kubenix-modules
- Improved submodule propagation and passthru
- Added additional test for k8s-submodule
This commit is contained in:
Jaka Hudoklin 2019-03-12 20:33:56 +01:00
parent b670139906
commit 6183fcc190
No known key found for this signature in database
GPG key ID: 6A08896BFD32BD95
30 changed files with 513 additions and 508 deletions

View file

@ -13,19 +13,20 @@ kubernetes resources very easyly.
### Building tests
```shell
nix-build release.nix -A tests.results --show-trace
nix-build release.nix -A tests-results --show-trace
```
**Building single e2e test**
```
nix-build release.nix -A tests.tests.v1_10.testing.testsByName.<name>.script
cd tests
nix-build release.nix -A tests.k8s-1_10.testsByName.<test-name>.test
```
**Debugging e2e test**
```
nix-build release.nix -A tests.tests.v1_10.testing.testsByName.<name>.script.driver
nix-build release.nix -A tests.k8s-1_10.testsByName.<test-name>.test.driver
resut/bin/nixos-test-driver
testScript;
```