-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathjenkins-x.yml
executable file
·32 lines (31 loc) · 1 KB
/
jenkins-x.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
buildPack: none
dockerRegistryOwner: jenkinsxio-labs
pipelineConfig:
pipelines:
pullRequest:
pipeline:
stages:
- agent:
image: golang:1.13
name: cli
steps:
- name: test
command: make test
release:
pipeline:
stages:
- agent:
image: gcr.io/jenkinsxio/builder-go
name: cli
steps:
- name: release-binary
command: make release
image: golang:1.13
- name: changelog
command: jx step changelog --verbose --header-file=hack/changelog-header.md --version=$VERSION --rev=$PULL_BASE_SHA --output-markdown=changelog.md --update-release=false
- name: upload-binaries
command: make goreleaser
image: gcr.io/jenkinsxio-labs/go-releaser:0.0.18
- command: ./promote.sh
dir: /workspace/source
name: promote-release