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
|
|
@ -23,7 +23,7 @@ in {
|
|||
}];
|
||||
testScript = ''
|
||||
$kube->waitUntilSucceeds("docker load < ${images.nginx}");
|
||||
$kube->waitUntilSucceeds("kubectl apply -f ${toYAML config.kubernetes.generated}");
|
||||
$kube->waitUntilSucceeds("kubectl apply -f ${config.kubernetes.result}");
|
||||
|
||||
$kube->succeed("kubectl get deployment -n test | grep -i test-nginx");
|
||||
$kube->waitUntilSucceeds("kubectl get deployment -n test -o go-template test-nginx --template={{.status.readyReplicas}} | grep 1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue