-
Notifications
You must be signed in to change notification settings - Fork 30
/
jenkins-x.yml
83 lines (82 loc) · 2.52 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
buildPack: none
noReleasePrepare: true
pipelineConfig:
pipelines:
release:
pipeline:
agent:
image: gcr.io/jenkinsxio/builder-go-maven
stages:
- name: bdd-stage
steps:
- name: upload-binaries
command: make goreleaser
image: gcr.io/jenkinsxio/step-go-releaser:0.0.14
- name: build
command: make bdd
env:
- name: GIT_AUTHOR_NAME
value: jenkins-x-bot
- name: GIT_AUTHOR_EMAIL
value: [email protected]
- name: XDG_CONFIG_HOME
value: "/builder/home"
pullRequest:
pipeline:
agent:
image: gcr.io/jenkinsxio/builder-go-maven
environment:
- name: GIT_AUTHOR_NAME
value: jenkins-x-bot
- name: GIT_AUTHOR_EMAIL
value: [email protected]
- name: GOPROXY
value: http://jenkins-x-athens-proxy:80
- name: GKE_SA
value: /secrets/bdd/sa.json
- name: GH_ACCESS_TOKEN
valueFrom:
secretKeyRef:
name: jenkins-x-versions-bot-test-github
key: password
- name: JENKINS_PASSWORD
valueFrom:
secretKeyRef:
name: test-jenkins-user
key: password
- name: XDG_CONFIG_HOME
value: "/builder/home"
- name: BDD_APPROVER_USERNAME
valueFrom:
secretKeyRef:
name: jenkins-x-bot-test-github
key: username
- name: BDD_APPROVER_ACCESS_TOKEN
valueFrom:
secretKeyRef:
name: jenkins-x-bot-test-github
key: password
stages:
- name: bdd-stage
options:
volumes:
- name: sa
secret:
secretName: bdd-secret
items:
- key: bdd-credentials.json
path: bdd/sa.json
containerOptions:
resources:
limits:
cpu: 4
memory: 6144Mi
requests:
cpu: 1
memory: 2048Mi
volumeMounts:
- mountPath: /secrets
name: sa
steps:
- name: run-bdd
command: jx/bdd/ci.sh