You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: prow/setup/sail-operator-setup.sh
+20-13
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,7 @@
18
18
# install and another is with cleanup. On install script is used to convert istio in-cluster operator config to sail operator config and install istiod, istio-cni and gateways.
19
19
# On cleanup istiod, istio-cni, istio-ingressgateway and istio-engressgateway are cleaned
20
20
# The output log of this script is printed under working directory set by: --istio.test.work_dir/sail-operator-setup.log
21
+
# Upstream WoW to call this script is documented in here: https://github.com/openshift-service-mesh/istio/tree/master/tests/integration#running-tests-on-custom-deployment
21
22
22
23
exec>>(tee -a "$2"/sail-operator-setup.log)2>&1
23
24
# Exit immediately for non zero status
@@ -26,6 +27,8 @@ set -e
26
27
set -u
27
28
# Print commands
28
29
set -x
30
+
# fail if any command in the pipeline fails
31
+
set -o pipefail
29
32
30
33
functionusage() {
31
34
echo"Usage: $0 <install|cleanup> <input_yaml>"
@@ -53,31 +56,32 @@ PROW="$(dirname "$WD")"
53
56
ROOT="$(dirname "$PROW")"
54
57
55
58
WORKDIR="$2"
59
+
# iop.yaml is the static file name for istiod config created by upstream integration test runtime
0 commit comments