forked from jfrog/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (41 loc) · 1.38 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
33
34
35
36
37
38
39
40
41
42
43
44
45
sudo: required
dist: trusty
services:
- docker
jobs:
include:
- stage: lint-scripts
name: "Lint shell scripts"
script:
- echo "Run shell scripts linting!"
- ./test/lint-scripts.sh
- stage: charts-testing
name: "Lint and install charts"
env:
- CHART_TESTING_IMAGE=quay.io/helmpack/chart-testing
- CHART_TESTING_TAG=v2.3.3
- TEST_IMAGE=gcr.io/kubernetes-charts-ci/test-image
- TEST_IMAGE_TAG=v3.3.2
- CHARTS_REPO=https://github.com/jfrog/charts
- K8S_VERSION=v1.14.2
- KIND_VERSION=v0.3.0
- KUBEVAL_VERSION=0.9.2
- HELM_VERSION=v2.14.1
script:
- echo "Run chart-testing linting!"
- ./test/lint-charts.sh || travis_terminate 1
- >
if cat tmp/lint.log | grep "No chart changes detected" > /dev/null; then
echo "No chart changes detected, stopping TravisCI pipeline!"
travis_terminate 0
fi
- echo "Run charts-testing install test!"
# ping stdout every 9 minutes or Travis kills the build
# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
- while sleep 20m; do echo "=====[ $SECONDS seconds still running ]====="; done &
- ./test/e2e-github.sh
stages:
- lint-scripts
- charts-testing
notifications:
email: false