diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 9484e3a88c..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,33 +0,0 @@ -language: go - -services: - - docker - -before_install: - - export GLIDE_VERSION=v0.12.3 - - ls $GOPATH/src/ - - wget "https://github.com/Masterminds/glide/releases/download/$GLIDE_VERSION/glide-$GLIDE_VERSION-linux-amd64.tar.gz" - - mkdir -p $HOME/bin - - tar -vxz -C $HOME/bin --strip=1 -f glide-$GLIDE_VERSION-linux-amd64.tar.gz - - export PATH="$HOME/bin:$PATH" GLIDE_HOME="$HOME/.glide" - -install: - - cd $GOPATH/src/ - - mkdir k8s.io && cd k8s.io - - git clone https://github.com/kubernetes/helm - - cd helm && make bootstrap build - - mv bin/helm $HOME/bin - -script: - - cd $TRAVIS_BUILD_DIR - - bash travis-ci/kubeadm_setup.sh - - $GOPATH/src/k8s.io/helm/bin/tiller & - - export HELM_HOST=localhost:44134 - - helm init --client-only - - helm version - - helm serve & - - sleep 1m - - helm repo add local http://localhost:8879/charts - - helm repo update - - make - - bash travis-ci/charts_dry_run.sh diff --git a/travis-ci/charts_dry_run.sh b/travis-ci/charts_dry_run.sh deleted file mode 100644 index f03e3861fd..0000000000 --- a/travis-ci/charts_dry_run.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -# Copyright 2017 The Openstack-Helm Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -for chart in *.tgz; do - echo "Running helm install --dry-run --debug on $chart"; - helm install --dry-run --debug local/$chart; -done diff --git a/travis-ci/kubeadm_setup.sh b/travis-ci/kubeadm_setup.sh deleted file mode 100644 index a1c9d63b83..0000000000 --- a/travis-ci/kubeadm_setup.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# Copyright 2017 The Openstack-Helm Authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -docker run -it -e quay.io/attcomdev/kubeadm-ci:v1.1.0 --name kubeadm-ci --privileged=true -d --net=host --security-opt seccomp:unconfined --cap-add=SYS_ADMIN -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/run/docker.sock:/var/run/docker.sock quay.io/attcomdev/kubeadm-ci:v1.1.0 /sbin/init - -docker exec kubeadm-ci kubeadm.sh