forked from helm/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
49 lines (49 loc) · 1.04 KB
/
config.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
46
47
48
49
version: 2
jobs:
lint-scripts:
docker:
- image: koalaman/shellcheck-alpine
steps:
- checkout
- run:
name: lint
command: |
shellcheck -x test/build.sh
shellcheck -x test/e2e.sh
shellcheck -x test/helm-test-e2e.sh
shellcheck -x test/repo-sync.sh
lint-charts:
docker:
- image: gcr.io/kubernetes-charts-ci/test-image:v3.3.2
steps:
- checkout
- run:
name: lint
command: |
git remote add k8s https://github.com/helm/charts
git fetch k8s master
ct lint --config test/ct.yaml
sync:
docker:
- image: google/cloud-sdk
steps:
- checkout
- run:
name: sync
command: test/repo-sync.sh
workflows:
version: 2
lint:
jobs:
- lint-scripts
- lint-charts
sync:
triggers:
- schedule:
cron: "23,53 * * * *"
filters:
branches:
only:
- master
jobs:
- sync