Skip to content

Commit

Permalink
Updating travis env variable and adding docker version info
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkrout committed May 4, 2020
1 parent 3d7212b commit 798b7c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@ sudo: required

language: go

env:
global:
- MINIKUBE_WANTUPDATENOTIFICATION=false
- MINIKUBE_WANTREPORTERRORPROMPT=false
- MINIKUBE_HOME=$HOME
- CHANGE_MINIKUBE_NONE_USER=true
- KUBECONFIG=$HOME/.kube/config
jobs:
include:
# YAML alias, for settings shared across the tests
Expand Down Expand Up @@ -173,6 +166,12 @@ jobs:
- <<: *base-test
stage: test
name: "devfile catalog, watch command integration tests on kubernetes cluster"
env:
- MINIKUBE_WANTUPDATENOTIFICATION=false
- MINIKUBE_WANTREPORTERRORPROMPT=false
- MINIKUBE_HOME=$HOME
- CHANGE_MINIKUBE_NONE_USER=true
- KUBECONFIG=$HOME/.kube/config
before_script:
# Download kubectl, a cli tool for accessing Kubernetes cluster
- curl -sLo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
Expand Down
3 changes: 3 additions & 0 deletions scripts/oc-cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ sudo cat /etc/default/docker
sudo service docker start
sudo service docker status

# Docker version that oc cluster up uses
docker version

## download oc binaries
sudo wget $OPENSHIFT_CLIENT_BINARY_URL -O /tmp/openshift-origin-client-tools.tar.gz 2> /dev/null > /dev/null

Expand Down

0 comments on commit 798b7c4

Please sign in to comment.