enable parallel job execution

With the use of C3IaaS, resource contention in the main OpenShift project will
be dramatically reduced. This allows jobs to run in paralle, increasing throughput
and reducing lag time for feedback on changes.
This commit is contained in:
Mike Bonnet
2019-10-17 07:07:41 -07:00
parent f86b736c70
commit 78ee32bc83
11 changed files with 6 additions and 12 deletions

View File

@@ -221,7 +221,7 @@ objects:
labels:
app: "${NAME}"
spec:
runPolicy: "Serial"
runPolicy: "Parallel"
completionDeadlineSeconds: 1800
source:
git:

View File

@@ -42,7 +42,6 @@ pipeline {
timestamps()
timeout(time: 120, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr: '10'))
disableConcurrentBuilds()
skipDefaultCheckout()
}
environment {

View File

@@ -1,7 +1,6 @@
// Use scripted syntax because CIBuildTrigger currently doesn't support the declarative syntax
properties([
buildDiscarder(logRotator(numToKeepStr: '10')),
disableConcurrentBuilds(),
pipelineTriggers([
// example: https://github.com/jenkinsci/jms-messaging-plugin/blob/9b9387c3a52f037ba0d019c2ebcf2a2796fc6397/src/test/java/com/redhat/jenkins/plugins/ci/integration/AmqMessagingPluginIntegrationTest.java
[$class: 'CIBuildTrigger',

View File

@@ -72,7 +72,7 @@ objects:
labels:
app: "${NAME}"
spec:
runPolicy: "Serial"
runPolicy: "Parallel"
completionDeadlineSeconds: 1800
source:
git:

View File

@@ -85,7 +85,7 @@ objects:
labels:
app: "${NAME}"
spec:
runPolicy: "Serial" # FIXME: Parallel is supported, but we have limited quota in UpShift.
runPolicy: "Parallel"
completionDeadlineSeconds: 1800
source:
git:

View File

@@ -39,7 +39,6 @@ pipeline {
timestamps()
timeout(time: 30, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr: '10'))
disableConcurrentBuilds()
skipDefaultCheckout()
}
environment {

View File

@@ -99,7 +99,7 @@ objects:
labels:
app: "${NAME}"
spec:
runPolicy: "Serial" # FIXME: Parallel is supported, but we have limited quota in UpShift.
runPolicy: "Parallel"
completionDeadlineSeconds: 1800
source:
git:

View File

@@ -36,7 +36,6 @@ pipeline {
timestamps()
timeout(time: 60, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr: '10'))
disableConcurrentBuilds()
skipDefaultCheckout()
}
environment {

View File

@@ -83,7 +83,7 @@ objects:
labels:
app: "${NAME}"
spec:
runPolicy: "Serial"
runPolicy: "Parallel"
completionDeadlineSeconds: 1800
strategy:
type: JenkinsPipeline
@@ -127,7 +127,6 @@ objects:
timestamps()
timeout(time: 60, unit: 'MINUTES')
buildDiscarder(logRotator(numToKeepStr: '10'))
disableConcurrentBuilds()
skipDefaultCheckout()
}
environment {

View File

@@ -1,7 +1,6 @@
// Use scripted syntax because CIBuildTrigger currently doesn't support the declarative syntax
properties([
buildDiscarder(logRotator(numToKeepStr: '10')),
disableConcurrentBuilds(),
pipelineTriggers([
// example: https://github.com/jenkinsci/jms-messaging-plugin/blob/9b9387c3a52f037ba0d019c2ebcf2a2796fc6397/src/test/java/com/redhat/jenkins/plugins/ci/integration/AmqMessagingPluginIntegrationTest.java
[$class: 'CIBuildTrigger',

View File

@@ -94,7 +94,7 @@ objects:
labels:
app: "${NAME}"
spec:
runPolicy: "Serial"
runPolicy: "Parallel"
completionDeadlineSeconds: 1800
source:
git: