mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
fix tests and examples
This commit is contained in:
parent
80cb43fcea
commit
acd93f0748
8 changed files with 20 additions and 16 deletions
|
|
@ -10,7 +10,7 @@ with lib;
|
|||
description = "Test testing nginx deployment";
|
||||
testScript = ''
|
||||
$kube->waitUntilSucceeds("docker load < ${config.docker.images.nginx.image}");
|
||||
$kube->waitUntilSucceeds("kubectl apply -f ${toYAML config.kubernetes.generated}");
|
||||
$kube->waitUntilSucceeds("kubectl apply -f ${config.kubernetes.result}");
|
||||
|
||||
$kube->succeed("kubectl get deployment | grep -i nginx");
|
||||
$kube->waitUntilSucceeds("kubectl get deployment -o go-template nginx --template={{.status.readyReplicas}} | grep 10");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue