Skip to content

Commit

Permalink
Updating travis env variable and adding docker version info (#3068)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkrout authored Jun 10, 2020
1 parent 5043f4b commit d04fb14
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 @@ -176,6 +169,12 @@ jobs:
- <<: *base-test
stage: test
name: "devfile catalog, watch, push and delete 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 -Lo kubectl https://storage.googleapis.com/kubernetes-release/release/v1.16.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/docker/daemon.json
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 d04fb14

Please sign in to comment.