forked from jenkins-x/jenkins-x-versions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jenkins-x-gitops.yml
48 lines (48 loc) · 1.36 KB
/
jenkins-x-gitops.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
buildPack: none
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: 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
agent:
image: gcr.io/jenkinsxio/builder-go-nodejs:2.0.1275-613
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:
- command: jx/bdd/gitops/ci.sh
name: runci