-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjcs.yaml
126 lines (126 loc) · 6.22 KB
/
jcs.yaml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
JCasC:
enabled: true
configScripts:
mavenSlave: |
jenkins:
clouds:
- kubernetes:
name: kubernetes
serverUrl: "https://kubernetes.default"
namespace: "default"
jenkinsUrl: "http://dev8-jenkins:8080/jenkins"
jenkinsTunnel: "dev8-jenkins-agent:50000"
templates:
- name: "default"
label: "jenkins-jenkins-slave"
nodeUsageMode: EXCLUSIVE
containers:
- name: jnlp
image: "jenkins/jnlp-slave:3.27-1"
alwaysPullImage: false
command: ""
args: "^${computer.jnlpmac} ^${computer.name}"
workingDir: "/home/jenkins"
envVars:
- envVar:
key: "JENKINS_URL"
value: "http://dev8-jenkins.cicd.svc.dev8:8080"
- name: "maven"
label: "maven"
nodeUsageMode: EXCLUSIVE
inheritFrom: "default"
containers:
- name: jnlp
image: "meetveracity/jenkins-slave-maven"
alwaysPullImage: true
workingDir: ""
command: ""
args: ""
- name: "helm"
label: "helm"
nodeUsageMode: EXCLUSIVE
inheritFrom: "default"
containers:
- name: jnlp
image: "meetveracity/jenkins-slave-helm"
alwaysPullImage: true
workingDir: ""
command: ""
args: ""
serviceAccount: jenkins-helm
- name: "docker"
label: "docker"
nodeUsageMode: EXCLUSIVE
inheritFrom: "default"
containers:
- name: jnlp
image: "meetveracity/jenkins-slave-docker"
alwaysPullImage: true
workingDir: ""
command: ""
args: ""
envVars:
- envVar:
key: "DOCKER_REGISTRY_URL"
value: "https://container-registry.dev8.bip.va.gov"
- envVar:
key: "DOCKER_CREDENTIAL_ID"
value: "docker-registry"
- envVar:
key: "DOCKER_HOST"
value: "tcp://localhost:2375"
- name: dind
image: "docker:18.05-dind"
alwaysPullImage: true
workingDir: ""
command: ""
args: ""
privileged: true
volumes:
- emptyDirVolume:
mountPath: /var/lib/docker
memory: false
- configMapVolume:
mountPath: /etc/docker/certs.d/container-registry.dev8.bip.va.gov
configMapName: docker-registry-ca
credentials: |
credentials:
system:
domainCredentials:
- credentials:
- usernamePassword:
scope: GLOBAL
id: github
username: ${GIT_USER:-jasonluck}
password: ${GIT_ACCESS_TOKEN}
description: github
- usernamePassword:
scope: GLOBAL
id: nexus-login
username: admin
password: admin123
description: nexus-login
- usernamePassword:
scope: GLOBAL
id: docker-registry
username: docker
password: docker
description: docker-registry
globalLibrary: |
unclassified:
globalLibraries:
libraries:
- name: "jenkins-library"
defaultVersion: "promotion"
implicit: true
retriever:
modernSCM:
scm:
github:
repoOwner: "department-of-veterans-affairs"
repository: "os-svc-jenkins-lib"
credentialsId: "github"
traits:
- gitHubBranchDiscovery
- originPullRequestDiscoveryTrait
- gitHubForkDiscovery