-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (41 loc) · 1 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
env:
global:
- GO111MODULE=on
services:
- docker
stages:
- test
- versioning
- release
- chart
jobs:
include:
- stage: versioning
language: node_js
node_js: "10"
install:
- npm install -g semantic-release @semantic-release/release-notes-generator @semantic-release/commit-analyzer @semantic-release/changelog @semantic-release/github @semantic-release/git
if: branch = master
script:
- semantic-release
- stage: chart
language: minimal
if: branch = master
env:
- NAME=konga
- TEAM=ninjaneers-team
- REPOSITORY=charts
- VERSION=1.0.0
before_install:
- curl -L https://git.io/get_helm.sh | bash
- git pull
- helm init --client-only
- VERSION=$(git describe --tags --abbrev=0 | cut -c 2-)
script:
- helm lint .
- helm package . --version=$VERSION
- ./.ci/update_chart.sh
cache:
directories:
- $HOME/gopath/pkg/mod