forked from carvel-dev/kapp-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest-examples.sh
executable file
·30 lines (20 loc) · 897 Bytes
/
test-examples.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
set -e -x -u
kapp deploy -y -a rbac -f examples/rbac/
time kapp deploy -y -a simple-app -f examples/simple-app-git/1.yml
time kapp deploy -y -a simple-app -f examples/simple-app-git/2.yml
time kapp delete -y -a simple-app
## requires multiple node cluster
# time kapp deploy -y -a consul-image-helm -f examples/consul-image-helm.yml
# time kapp delete -y -a consul-image-helm
## requires multiple node cluster
# time kapp deploy -y -a istio-knative -f examples/istio-knative.yml
# time kapp delete -y -a istio-knative
time kapp deploy -y -a nginx-helm-git -f examples/nginx-helm-git.yml
time kapp delete -y -a nginx-helm-git
time kapp deploy -y -a redis-helm -f examples/redis-helm.yml
time kapp delete -y -a redis-helm
time kapp deploy -y -a simple-app-http -f examples/simple-app-http.yml
time kapp delete -y -a simple-app-http
kapp delete -y -a rbac
echo EXTERNAL SUCCESS