-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
32 lines (29 loc) · 1.12 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo: required
env:
global:
- CHANGE_MINIKUBE_NONE_USER=true
- K8S_VERSION="v1.19.0"
- KUBEVAL_VERSION="0.15.0"
- HELM_VERSION="v3.2.1"
- CHART_TESTING_IMAGE="quay.io/helmpack/chart-testing"
- CHART_TESTING_TAG="v3.3.1"
- CHARTS_REPO="https://github.com/storageos/charts"
before_install:
- |
if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md)|(\.MD)|(\.png)|(\.pdf)|^(doc/)|^(MAINTAINERS)|^(LICENSE)'; then
echo "Only doc files were updated, not running the CI."
exit
fi
- curl -Lo yq https://github.com/mikefarah/yq/releases/download/2.3.0/yq_linux_amd64 && chmod +x yq && sudo mv yq /usr/local/bin/
# Disabling this for kind. This should be run inside the kind environment.
# - docker run -d -p 2399:2399 quay.io/coreos/etcd:v3.3.10 /usr/local/bin/etcd -advertise-client-urls http://0.0.0.0:2399 -listen-client-urls http://0.0.0.0:2399
jobs:
include:
- script: ./test/e2e.sh
- stage: release
script: skip
deploy:
provider: script
script: bash scripts/release.sh
on:
branch: helm2