Skip to content

Commit

Permalink
Updating travis env vaiable 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 8f38f15 commit 6038070
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
14 changes: 6 additions & 8 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 @@ -154,11 +147,16 @@ jobs:
- travis_wait make test-cmd-docker-devfile-url
- travis_wait make test-cmd-docker-devfile-catalog


# Run devfile integration test on Kubernetes cluster
- <<: *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 6038070

Please sign in to comment.