2018-06-27 16:26:49 +02:00
|
|
|
jenkins:
|
|
|
|
Master:
|
|
|
|
HostName: jenkins.molgenis.org
|
|
|
|
ServiceType: ClusterIP
|
|
|
|
InstallPlugins:
|
|
|
|
- kubernetes:1.8.4
|
|
|
|
- workflow-aggregator:2.5
|
|
|
|
- workflow-job:2.21
|
|
|
|
- credentials-binding:1.16
|
|
|
|
- git:3.9.1
|
2018-06-29 00:15:41 +02:00
|
|
|
- github-branch-source:2.3.6
|
|
|
|
- kubernetes-credentials-provider:0.9
|
2018-07-03 23:44:36 +02:00
|
|
|
- blueocean:1.6.2
|
|
|
|
- github-oauth:0.29
|
2018-07-19 21:24:53 +02:00
|
|
|
- gogs-webhook:1.0.14
|
2018-07-03 23:44:36 +02:00
|
|
|
Security:
|
|
|
|
UseGitHub: false
|
|
|
|
GitHub:
|
|
|
|
ClientID: ""
|
|
|
|
ClienSecret: ""
|
2018-06-27 16:26:49 +02:00
|
|
|
Jobs: |-
|
|
|
|
molgenis: |-
|
|
|
|
<?xml version='1.1' encoding='UTF-8'?>
|
2018-06-29 00:15:41 +02:00
|
|
|
<jenkins.branch.OrganizationFolder plugin="branch-api@2.0.20">
|
|
|
|
<actions/>
|
|
|
|
<description></description>
|
|
|
|
<properties>
|
|
|
|
<org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig plugin="pipeline-model-definition@1.3.1">
|
|
|
|
<dockerLabel></dockerLabel>
|
|
|
|
<registry plugin="docker-commons@1.13"/>
|
|
|
|
</org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig>
|
|
|
|
<jenkins.branch.NoTriggerOrganizationFolderProperty>
|
|
|
|
<branches>.*</branches>
|
|
|
|
</jenkins.branch.NoTriggerOrganizationFolderProperty>
|
|
|
|
</properties>
|
|
|
|
<folderViews class="jenkins.branch.OrganizationFolderViewHolder">
|
|
|
|
<owner reference="../.."/>
|
|
|
|
</folderViews>
|
|
|
|
<healthMetrics>
|
|
|
|
<com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric plugin="cloudbees-folder@6.5.1">
|
|
|
|
<nonRecursive>false</nonRecursive>
|
|
|
|
</com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric>
|
|
|
|
</healthMetrics>
|
|
|
|
<icon class="jenkins.branch.MetadataActionFolderIcon">
|
|
|
|
<owner class="jenkins.branch.OrganizationFolder" reference="../.."/>
|
|
|
|
</icon>
|
|
|
|
<orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder@6.5.1">
|
|
|
|
<pruneDeadBranches>true</pruneDeadBranches>
|
|
|
|
<daysToKeep>-1</daysToKeep>
|
|
|
|
<numToKeep>-1</numToKeep>
|
|
|
|
</orphanedItemStrategy>
|
|
|
|
<triggers>
|
|
|
|
<com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger plugin="cloudbees-folder@6.5.1">
|
|
|
|
<spec>H H * * *</spec>
|
|
|
|
<interval>86400000</interval>
|
|
|
|
</com.cloudbees.hudson.plugins.folder.computed.PeriodicFolderTrigger>
|
|
|
|
</triggers>
|
|
|
|
<disabled>false</disabled>
|
|
|
|
<navigators>
|
|
|
|
<org.jenkinsci.plugins.github__branch__source.GitHubSCMNavigator plugin="github-branch-source@2.3.6">
|
|
|
|
<repoOwner>molgenis</repoOwner>
|
|
|
|
<credentialsId>molgenis-jenkins-github-secret</credentialsId>
|
|
|
|
<traits>
|
|
|
|
<org.jenkinsci.plugins.github__branch__source.BranchDiscoveryTrait>
|
|
|
|
<strategyId>1</strategyId>
|
|
|
|
</org.jenkinsci.plugins.github__branch__source.BranchDiscoveryTrait>
|
|
|
|
<org.jenkinsci.plugins.github__branch__source.OriginPullRequestDiscoveryTrait>
|
|
|
|
<strategyId>1</strategyId>
|
|
|
|
</org.jenkinsci.plugins.github__branch__source.OriginPullRequestDiscoveryTrait>
|
|
|
|
<org.jenkinsci.plugins.github__branch__source.ForkPullRequestDiscoveryTrait>
|
|
|
|
<strategyId>1</strategyId>
|
|
|
|
<trust class="org.jenkinsci.plugins.github_branch_source.ForkPullRequestDiscoveryTrait$TrustPermission"/>
|
|
|
|
</org.jenkinsci.plugins.github__branch__source.ForkPullRequestDiscoveryTrait>
|
|
|
|
</traits>
|
|
|
|
</org.jenkinsci.plugins.github__branch__source.GitHubSCMNavigator>
|
|
|
|
</navigators>
|
|
|
|
<projectFactories>
|
|
|
|
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProjectFactory plugin="workflow-multibranch@2.19">
|
|
|
|
<scriptPath>Jenkinsfile</scriptPath>
|
|
|
|
</org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProjectFactory>
|
|
|
|
</projectFactories>
|
|
|
|
<buildStrategies/>
|
|
|
|
</jenkins.branch.OrganizationFolder>
|
2018-07-19 19:16:21 +02:00
|
|
|
molgenis-ops-docker-httpd: |-
|
2018-06-30 17:14:20 +02:00
|
|
|
<?xml version='1.1' encoding='UTF-8'?>
|
|
|
|
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch@2.19">
|
|
|
|
<actions/>
|
|
|
|
<description>HTTPD server that can be used for redirection and proxieing</description>
|
|
|
|
<displayName>molgenis-ops-docker-httpd</displayName>
|
|
|
|
<properties>
|
|
|
|
<org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig plugin="pipeline-model-definition@1.3.1">
|
|
|
|
<dockerLabel></dockerLabel>
|
|
|
|
<registry plugin="docker-commons@1.13"/>
|
|
|
|
</org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig>
|
|
|
|
</properties>
|
|
|
|
<folderViews class="jenkins.branch.MultiBranchProjectViewHolder" plugin="branch-api@2.0.20">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</folderViews>
|
|
|
|
<healthMetrics>
|
|
|
|
<com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric plugin="cloudbees-folder@6.5.1">
|
|
|
|
<nonRecursive>false</nonRecursive>
|
|
|
|
</com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric>
|
|
|
|
</healthMetrics>
|
|
|
|
<icon class="jenkins.branch.MetadataActionFolderIcon" plugin="branch-api@2.0.20">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</icon>
|
|
|
|
<orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder@6.5.1">
|
|
|
|
<pruneDeadBranches>true</pruneDeadBranches>
|
|
|
|
<daysToKeep>-1</daysToKeep>
|
|
|
|
<numToKeep>-1</numToKeep>
|
|
|
|
</orphanedItemStrategy>
|
|
|
|
<triggers/>
|
|
|
|
<disabled>false</disabled>
|
|
|
|
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api@2.0.20">
|
|
|
|
<data>
|
|
|
|
<jenkins.branch.BranchSource>
|
|
|
|
<source class="jenkins.plugins.git.GitSCMSource" plugin="git@3.9.1">
|
|
|
|
<id>a756941d-6c9d-4492-bcf9-327041764be6</id>
|
|
|
|
<remote>https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-httpd.git</remote>
|
2018-07-19 12:37:11 +02:00
|
|
|
<credentialsId>molgenis-jenkins-gogs-secret</credentialsId>
|
2018-06-30 17:14:20 +02:00
|
|
|
<traits>
|
|
|
|
<jenkins.plugins.git.traits.BranchDiscoveryTrait/>
|
|
|
|
</traits>
|
|
|
|
</source>
|
|
|
|
<strategy class="jenkins.branch.DefaultBranchPropertyStrategy">
|
|
|
|
<properties class="empty-list"/>
|
|
|
|
</strategy>
|
|
|
|
</jenkins.branch.BranchSource>
|
|
|
|
</data>
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</sources>
|
|
|
|
<factory class="org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
<scriptPath>Jenkinsfile</scriptPath>
|
|
|
|
</factory>
|
|
|
|
</org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject>
|
|
|
|
molgenis-ops-docker-maven: |-
|
|
|
|
<?xml version='1.1' encoding='UTF-8'?>
|
|
|
|
<org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject plugin="workflow-multibranch@2.19">
|
|
|
|
<actions/>
|
|
|
|
<description></description>
|
|
|
|
<properties>
|
|
|
|
<org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig plugin="pipeline-model-definition@1.3.1">
|
|
|
|
<dockerLabel></dockerLabel>
|
|
|
|
<registry plugin="docker-commons@1.13"/>
|
|
|
|
</org.jenkinsci.plugins.pipeline.modeldefinition.config.FolderConfig>
|
|
|
|
</properties>
|
|
|
|
<folderViews class="jenkins.branch.MultiBranchProjectViewHolder" plugin="branch-api@2.0.20">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</folderViews>
|
|
|
|
<healthMetrics>
|
|
|
|
<com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric plugin="cloudbees-folder@6.5.1">
|
|
|
|
<nonRecursive>false</nonRecursive>
|
|
|
|
</com.cloudbees.hudson.plugins.folder.health.WorstChildHealthMetric>
|
|
|
|
</healthMetrics>
|
|
|
|
<icon class="jenkins.branch.MetadataActionFolderIcon" plugin="branch-api@2.0.20">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</icon>
|
|
|
|
<orphanedItemStrategy class="com.cloudbees.hudson.plugins.folder.computed.DefaultOrphanedItemStrategy" plugin="cloudbees-folder@6.5.1">
|
|
|
|
<pruneDeadBranches>true</pruneDeadBranches>
|
|
|
|
<daysToKeep>-1</daysToKeep>
|
|
|
|
<numToKeep>-1</numToKeep>
|
|
|
|
</orphanedItemStrategy>
|
|
|
|
<triggers/>
|
|
|
|
<disabled>false</disabled>
|
|
|
|
<sources class="jenkins.branch.MultiBranchProject$BranchSourceList" plugin="branch-api@2.0.20">
|
|
|
|
<data>
|
|
|
|
<jenkins.branch.BranchSource>
|
|
|
|
<source class="jenkins.plugins.git.GitSCMSource" plugin="git@3.9.1">
|
|
|
|
<id>4702479a-6988-4a85-b4b7-e77fa2d05ffa</id>
|
2018-07-19 12:37:11 +02:00
|
|
|
<remote>https://git.webhosting.rug.nl/molgenis/molgenis-ops-docker-maven.git</remote>
|
|
|
|
<credentialsId>molgenis-jenkins-gogs-secret</credentialsId>
|
2018-06-30 17:14:20 +02:00
|
|
|
<traits>
|
|
|
|
<jenkins.plugins.git.traits.BranchDiscoveryTrait/>
|
|
|
|
</traits>
|
|
|
|
</source>
|
|
|
|
<strategy class="jenkins.branch.DefaultBranchPropertyStrategy">
|
|
|
|
<properties class="empty-list"/>
|
|
|
|
</strategy>
|
|
|
|
</jenkins.branch.BranchSource>
|
|
|
|
</data>
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
</sources>
|
|
|
|
<factory class="org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory">
|
|
|
|
<owner class="org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject" reference="../.."/>
|
|
|
|
<scriptPath>Jenkinsfile</scriptPath>
|
|
|
|
</factory>
|
|
|
|
</org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject>
|
2018-06-27 16:26:49 +02:00
|
|
|
# Kubernetes secret that contains a 'credentials.xml' for Jenkins
|
|
|
|
# CredentialsXmlSecret: jenkins-credentials
|
|
|
|
# Kubernetes secret that contains files to be put in the Jenkins 'secrets' directory,
|
|
|
|
# useful to manage encryption keys used for credentials.xml for instance (such as
|
|
|
|
# master.key and hudson.util.Secret)
|
|
|
|
# SecretsFilesSecret: jenkins-secrets
|
2018-06-27 16:54:50 +02:00
|
|
|
CustomConfigMap: true
|
2018-06-27 16:26:49 +02:00
|
|
|
rbac:
|
2018-06-27 17:59:04 +02:00
|
|
|
install: true
|
2018-06-29 12:34:52 +02:00
|
|
|
Pods:
|
2018-06-29 15:21:00 +02:00
|
|
|
molgenis:
|
|
|
|
Label: molgenis
|
2018-06-29 12:34:52 +02:00
|
|
|
NodeUsageMode: NORMAL
|
|
|
|
volumes:
|
|
|
|
- type: HostPath
|
|
|
|
hostPath: "/var/run/docker.sock"
|
|
|
|
mountPath: "/var/run/docker.sock"
|
|
|
|
- type: Secret
|
|
|
|
secretName: molgenis-pipeline-file-secret
|
|
|
|
mountPath: "/root/.m2"
|
|
|
|
Containers:
|
|
|
|
maven:
|
2018-06-29 14:53:09 +02:00
|
|
|
Image: "registry.webhosting.rug.nl/molgenis/maven"
|
2018-06-29 23:37:47 +02:00
|
|
|
Command: cat
|
2018-06-29 15:09:15 +02:00
|
|
|
TTY: true
|
2018-07-02 12:34:37 +02:00
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: "1"
|
|
|
|
memory: "4Gi"
|
2018-06-29 12:34:52 +02:00
|
|
|
alpine:
|
|
|
|
Image: "spotify/alpine"
|
2018-06-29 23:37:47 +02:00
|
|
|
Command: cat
|
2018-06-29 15:09:15 +02:00
|
|
|
TTY: true
|
2018-06-29 12:34:52 +02:00
|
|
|
EnvVars:
|
|
|
|
- type: Secret
|
|
|
|
key: PGP_PASSPHRASE
|
|
|
|
secretName: molgenis-pipeline-env-secret
|
|
|
|
secretKey: pgpPassphrase
|
|
|
|
- type: KeyValue
|
|
|
|
key: PGP_SECRETKEY
|
|
|
|
value: "keyfile:/root/.m2/key.asc"
|
2018-06-29 19:26:30 +02:00
|
|
|
- type: KeyValue
|
|
|
|
key: npm_config_registry
|
2018-06-30 21:25:49 +02:00
|
|
|
value: "http://nexus.molgenis-nexus:8081/repository/npm-central/"
|
2018-06-29 12:34:52 +02:00
|
|
|
- type: Secret
|
|
|
|
key: SONAR_TOKEN
|
|
|
|
secretName: molgenis-pipeline-env-secret
|
|
|
|
secretKey: sonarToken
|
|
|
|
- type: Secret
|
|
|
|
key: CODECOV_TOKEN
|
|
|
|
secretName: molgenis-pipeline-env-secret
|
|
|
|
secretKey: codecovToken
|
|
|
|
- type: Secret
|
|
|
|
key: GITHUB_TOKEN
|
|
|
|
secretName: molgenis-pipeline-env-secret
|
|
|
|
secretKey: githubToken
|
2018-07-16 12:57:59 +02:00
|
|
|
NodeSelector: {}
|
|
|
|
molgenis-it:
|
|
|
|
InheritFrom: molgenis
|
|
|
|
Label: molgenis-it
|
|
|
|
NodeUsageMode: EXCLUSIVE
|
|
|
|
Containers:
|
|
|
|
elasticsearch:
|
|
|
|
Image: docker.elastic.co/elasticsearch/elasticsearch
|
|
|
|
ImageTag: 5.5.3
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: "100m"
|
|
|
|
memory: "1Gi"
|
|
|
|
limits:
|
|
|
|
cpu: "1"
|
|
|
|
memory: "1500Mi"
|
|
|
|
EnvVars:
|
|
|
|
- type: KeyValue
|
|
|
|
key: ES_JAVA_OPTS
|
|
|
|
value: "-Xms512m -Xmx512m"
|
|
|
|
- type: KeyValue
|
|
|
|
key: cluster.name
|
|
|
|
value: molgenis
|
|
|
|
- type: KeyValue
|
|
|
|
key: bootstrap.memory_lock
|
|
|
|
value: "true"
|
|
|
|
- type: KeyValue
|
|
|
|
key: xpack.security.enabled
|
|
|
|
value: "false"
|
|
|
|
- type: KeyValue
|
|
|
|
key: discovery.type
|
|
|
|
value: single-node
|
|
|
|
postgres:
|
|
|
|
Image: postgres
|
|
|
|
ImageTag: 9.6-alpine
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: "100m"
|
|
|
|
memory: "250Mi"
|
|
|
|
limits:
|
|
|
|
cpu: "1"
|
|
|
|
memory: "250Mi"
|
|
|
|
EnvVars:
|
|
|
|
- type: KeyValue
|
|
|
|
key: POSTGRES_USER
|
|
|
|
value: molgenis
|
|
|
|
- type: KeyValue
|
|
|
|
key: POSTGRES_PASSWORD
|
|
|
|
value: molgenis
|
|
|
|
- type: KeyValue
|
|
|
|
key: POSTGRES_DB
|
|
|
|
value: molgenis
|
|
|
|
opencpu:
|
|
|
|
Image: molgenis/opencpu
|
|
|
|
AlwaysPullImage: true
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
cpu: "100m"
|
|
|
|
memory: "256Mi"
|
|
|
|
limits:
|
|
|
|
cpu: "1"
|
|
|
|
memory: "512Mi"
|
2018-06-29 14:53:09 +02:00
|
|
|
NodeSelector: {}
|
2018-06-28 09:25:27 +02:00
|
|
|
PipelineSecrets:
|
|
|
|
Env:
|
2018-06-28 11:51:51 +02:00
|
|
|
# Set to false to keep existing secret
|
|
|
|
Replace: true
|
2018-06-28 13:09:13 +02:00
|
|
|
# Passphrase for the pgp private key file, prefixed with literal:
|
|
|
|
PGPPassphrase: literal:xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
# Token for codecov.io service
|
2018-06-28 12:04:46 +02:00
|
|
|
CodecovToken: xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
# Token for github bot account
|
2018-06-29 12:58:45 +02:00
|
|
|
GitHubToken: xxxx
|
2018-06-29 23:30:38 +02:00
|
|
|
# Token for github bot account
|
|
|
|
GogsToken: xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
# Token for sonarcloud.io
|
2018-06-28 12:04:46 +02:00
|
|
|
SonarToken: xxxx
|
2018-06-29 23:02:57 +02:00
|
|
|
# Password Local NEXUS
|
|
|
|
NexusPassword: xxxx
|
2018-07-02 20:13:01 +02:00
|
|
|
# Password hub.docker.com
|
|
|
|
DockerHubPassword: xxxx
|
2018-06-28 09:25:27 +02:00
|
|
|
File:
|
2018-06-28 11:51:51 +02:00
|
|
|
# Set to false to keep existing secret
|
|
|
|
Replace: true
|
2018-06-28 09:25:27 +02:00
|
|
|
# PGP Private key in ascii format used to sign artifacts
|
|
|
|
PGPPrivateKeyAsc: |-
|
|
|
|
-----BEGIN PGP PRIVATE KEY BLOCK-----
|
|
|
|
xxxxx
|
|
|
|
-----END PGP PRIVATE KEY BLOCK-----
|
|
|
|
# maven.settings file
|
|
|
|
MavenSettingsXML: |-
|
|
|
|
<settings>
|
|
|
|
<localRepository>${user.home}/.mvnrepository</localRepository>
|
|
|
|
<interactiveMode>false</interactiveMode>
|
|
|
|
<mirrors>
|
|
|
|
<mirror>
|
|
|
|
<id>nexus</id>
|
|
|
|
<mirrorOf>external:*</mirrorOf>
|
2018-06-29 19:26:30 +02:00
|
|
|
<url>http://nexus.molgenis-nexus:8081/repository/maven-central/</url>
|
2018-06-28 09:25:27 +02:00
|
|
|
</mirror>
|
|
|
|
</mirrors>
|
|
|
|
<servers>
|
2018-06-28 13:09:13 +02:00
|
|
|
<!-- for snapshot builds of the master -->
|
|
|
|
<server>
|
|
|
|
<id>sonatype-nexus-staging</id>
|
|
|
|
<username>molgenis</username>
|
|
|
|
<password>xxxx</password>
|
|
|
|
</server>
|
2018-06-28 09:25:27 +02:00
|
|
|
<server>
|
|
|
|
<id>local-nexus</id>
|
2018-06-29 19:26:30 +02:00
|
|
|
<url>http://nexus.molgenis-nexus:8081/repository/maven-snapshots/</url>
|
2018-06-28 09:25:27 +02:00
|
|
|
<username>admin</username>
|
|
|
|
<password>xxxxx</password>
|
|
|
|
</server>
|
2018-06-28 13:09:13 +02:00
|
|
|
<!-- for docker images-->
|
2018-06-28 09:25:27 +02:00
|
|
|
<server>
|
2018-06-28 13:09:13 +02:00
|
|
|
<id>registry.molgenis.org</id>
|
|
|
|
<username>admin</username>
|
|
|
|
<password>xxxx</password>
|
2018-06-28 09:25:27 +02:00
|
|
|
</server>
|
|
|
|
</servers>
|
|
|
|
</settings>
|