This repository was archived by the owner on Sep 15, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed
Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change 11sudo : required
22
3+ env :
4+ - CHANGE_MINIKUBE_NONE_USER=true
5+
36services :
47- docker
58
@@ -8,5 +11,14 @@ install:
811- chmod +x skaffold
912- sudo mv skaffold /usr/local/bin
1013
14+ before_script :
15+ - curl -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.9.0/bin/linux/amd64/kubectl
16+ - chmod +x kubectl && sudo mv kubectl /usr/local/bin/
17+ - curl -Lo minikube https://storage.googleapis.com/minikube/releases/0.25.2/minikube-linux-amd64
18+ - chmod +x minikube && sudo mv minikube /usr/local/bin/
19+ - sudo minikube start --vm-driver=none --kubernetes-version=v1.9.0
20+ - minikube update-context
21+ - JSONPATH='{range .items[*]}{@.metadata.name}:{range @.status.conditions[*]}{@.type}={@.status};{end}{end}'; until kubectl get nodes -o jsonpath="$JSONPATH" 2>&1 | grep -q "Ready=True"; do sleep 1; done
22+
1123script :
1224- cd interoptest && ./build_and_run.sh
Original file line number Diff line number Diff line change @@ -6,11 +6,10 @@ echo "Building containers.."
66skaffold build --profile travis-ci
77
88# Run the containers
9- # [TODO:rghetia] invoke skaffold run after minikube issue is sorted out.
10- # skaffold run
11- # sleep 60
9+ skaffold run
10+ sleep 60
1211
1312# Run tests
14- # cd ./src/testcontroller
15- # sudo pip install -r requirements.txt
16- # python run.py
13+ cd ./src/testcontroller
14+ sudo pip install -r requirements.txt
15+ python run.py
You can’t perform that action at this time.
0 commit comments