blob: 4094e70c581f642cfc2dfdb9e03e41b6bf5e5c34 [file] [log] [blame]
---
apiVersion: v1
kind: ConfigMap
metadata:
name: jenkins-mendel-linux-casc
data:
1-config-as-code.yaml: |
credentials:
system:
domainCredentials:
- credentials:
- googleRobotMetadata:
projectId: "mendel-linux-cloud-infra"
unclassified:
globalLibraries:
libraries:
- name: functions
defaultVersion: master
retriever:
modernSCM:
scm:
git:
remote: https://coral.googlesource.com/gke-jenkins
2-custom-views.yaml: |
jenkins:
views:
- all:
name: "all"
- list:
columns:
- "status"
- "weather"
- "jobName"
- "lastSuccess"
- "lastFailure"
- "lastDuration"
- "buildButton"
description: "All Core Packages"
includeRegex: "^core\\..*"
name: "core"
- list:
columns:
- "status"
- "weather"
- "jobName"
- "lastSuccess"
- "lastFailure"
- "lastDuration"
- "buildButton"
description: "All Enterprise Packages"
includeRegex: "^enterprise\\..*"
name: "enterprise"
3-google-oauth-login.yaml: |
@OAUTH_CREDENTIALS@
---
apiVersion: jenkins.io/v1alpha2
kind: Jenkins
metadata:
name: mendel-linux
spec:
master:
basePlugins:
- name: kubernetes
version: "1.15.7"
- name: workflow-job
version: "2.33"
- name: workflow-aggregator
version: "2.6"
- name: git
version: "3.10.0"
- name: job-dsl
version: "1.74"
- name: configuration-as-code
version: "1.30"
- name: configuration-as-code-support
version: "1.18"
- name: kubernetes-credentials-provider
version: "0.12.1"
- name: repo
version: "1.11.1"
plugins:
- name: copyartifact
version: "1.43"
- name: google-storage-plugin
version: 1.5.1
- name: google-login
version: 1.6
seedJobs:
- id: mendel-linux
targets: "cicd/jobs/*.jenkins"
description: "Mendel Linux Jenkins Repository"
repositoryBranch: master
repositoryUrl: https://coral.googlesource.com/gke-jenkins.git
buildPeriodically: "*/30 * * * *"
configurationAsCode:
configurations:
- name: jenkins-mendel-linux-casc