forked from jenkins-x/jenkins-x-boot-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins-x-bdd-vault.yml
52 lines (52 loc) · 1.5 KB
/
jenkins-x-bdd-vault.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
pipelineConfig:
pipelines:
pullRequest:
pipeline:
options:
containerOptions:
resources:
limits:
cpu: 4
memory: 6144Mi
requests:
cpu: 1
memory: 2048Mi
environment:
- name: GOPROXY
value: http://jenkins-x-athens-proxy:80
- name: GKE_SA
value: /secrets/bdd/sa.json
- name: DOMAIN_ROTATION
value: "false"
- name: GH_ACCESS_TOKEN
valueFrom:
secretKeyRef:
name: jenkins-x-bot-test-github
key: password
- name: JENKINS_PASSWORD
valueFrom:
secretKeyRef:
name: test-jenkins-user
key: password
agent:
image: gcr.io/jenkinsxio/builder-go-maven
stages:
- name: ci
options:
volumes:
- name: sa
secret:
secretName: bdd-secret
items:
- key: bdd-credentials.json
path: bdd/sa.json
containerOptions:
volumeMounts:
- mountPath: /secrets
name: sa
steps:
- name: verify-fmt
command: make verify-fmt
- name: run-bdd
command: bdd/bdd.sh
args: ['bdd/boot-vault', 'bdd-config']