This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
jenkins-x-arcalos.yml
81 lines (81 loc) · 2.62 KB
/
jenkins-x-arcalos.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
buildPack: none
pipelineConfig:
pipelines:
pullRequest:
pipeline:
agent:
image: gcr.io/jenkinsxio/sac:0.0.66
options:
timeout:
time: 90
unit: minutes
environment:
- name: APS_ENVIRONMENT
valueFrom:
configMapKeyRef:
name: arcalos-config
key: aps_environment
- name: SEGMENT_WRITE_KEY
valueFrom:
secretKeyRef:
name: arcalos-alpha-prod-secret
key: segment_write_key
- name: DOMAIN_ISSUER_PASSWORD
valueFrom:
secretKeyRef:
name: arcalos-alpha-prod-secret
key: domain_issuer_password
- name: DOMAIN_ISSUER_USERNAME
valueFrom:
secretKeyRef:
name: arcalos-alpha-prod-secret
key: domain_issuer_username
- name: PIPELINE_GITHUB_USER
value: "arcalos-staging[bot]"
- name: PIPELINE_GITHUB_TOKEN
value: "A000000000000000000000000000000000000000"
- name: PIPELINE_GITHUB_EMAIL
valueFrom:
secretKeyRef:
name: arcalos-alpha-prod-secret
key: pipeline_github_email
- name: BDD_GITHUB_USER
valueFrom:
secretKeyRef:
name: arcalos-alpha-prod-secret
key: pipeline_github_user
- name: BDD_GITHUB_TOKEN
valueFrom:
secretKeyRef:
name: arcalos-alpha-prod-secret
key: pipeline_github_token
- name: DEFAULT_ORGANISATION
value: arcalos-environments
- name: USER
value: jxaas
stages:
- name: create
options:
volumes:
- name: arcalos-alpha-prod-sa
secret:
secretName: arcalos-alpha-prod-secret
items:
- key: arcalos_prod_sa
path: ci_bot.json
- name: datadog-dogrc-secret
secret:
secretName: datadog-dogrc-secret
items:
- key: .dogrc
path: .dogrc
containerOptions:
volumeMounts:
- name: arcalos-alpha-prod-sa
mountPath: /secret/arcalos-producer-prod-sa
- mountPath: /datadog/
name: datadog-dogrc-secret
steps:
- name: ci
command: ./ci.sh
args: ['${BRANCH_NAME}-${BUILD_NUMBER}abc']