File tree Expand file tree Collapse file tree 2 files changed +33
-1
lines changed
cluster/images/conformance Expand file tree Collapse file tree 2 files changed +33
-1
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ ARCH?=amd64
22
22
OUT_DIR? =_output
23
23
24
24
OUTPUT_PATH =$(shell pwd) /../../../$(OUT_DIR )
25
- BINARY_PATH =$(shell test -d $(OUTPUT_PATH ) /dockerized && echo $(OUTPUT_PATH ) /dockerized || echo $(OUTPUT_PATH ) /local )
25
+ BINARY_PATH =$(shell test -d $(OUTPUT_PATH ) /local && echo $(OUTPUT_PATH ) /local || echo $(OUTPUT_PATH ) /dockerized )
26
26
27
27
GINKGO_BIN? =$(BINARY_PATH ) /bin/linux/$(ARCH ) /ginkgo
28
28
KUBECTL_BIN? =$(BINARY_PATH ) /bin/linux/$(ARCH ) /kubectl
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # Copyright 2018 The Kubernetes Authors.
3
+ #
4
+ # Licensed under the Apache License, Version 2.0 (the "License");
5
+ # you may not use this file except in compliance with the License.
6
+ # You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+
16
+ set -o errexit
17
+ set -o nounset
18
+ set -o pipefail
19
+
20
+ kubectl create -f conformance-e2e.yaml
21
+ while true ; do
22
+ STATUS=$( kubectl -n conformance get pods e2e-conformance-test -o jsonpath=" {.status.phase}" )
23
+ timestamp=$( date +" [%H:%M:%S]" )
24
+ echo " $timestamp Pod status is: ${STATUS} "
25
+ if [[ " $STATUS " == " Succeeded" ]]; then
26
+ echo " $timestamp Done."
27
+ break
28
+ else
29
+ sleep 5
30
+ fi
31
+ done
32
+ echo " Please use 'kubectl logs -n conformance e2e-conformance-test' to view the results"
You can’t perform that action at this time.
0 commit comments