Skip to content

Commit

Permalink
Jenkins pipelines: added nodeSelector support for all pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Apr 6, 2023
1 parent 2ece42b commit cbb4ef7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tools/jenkins/midpoint-main-generic-oracle-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def dbprops = '-Dmidpoint.repository.jdbcUrl=jdbc:oracle:thin:@$(cat ../logs-' +
' -Dmidpoint.repository.hibernateHbm2ddl=validate'

podTemplate(
nodeSelector: params.NODE_SELECTOR,
activeDeadlineSeconds: 28800, // 8h total build limit
idleMinutes: 1,
workspaceVolume: dynamicPVC(requestsSize: "20Gi"),
Expand Down
1 change: 1 addition & 0 deletions tools/jenkins/midpoint-main-generic-pg-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
def verbose = params.VERBOSE ?: '0'

podTemplate(
nodeSelector: params.NODE_SELECTOR,
activeDeadlineSeconds: 21600, // 6h total build limit
idleMinutes: 10,
// No need for secret volume, no mvn deploy done here.
Expand Down
1 change: 1 addition & 0 deletions tools/jenkins/midpoint-main-generic-sql-server-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def dbprops = '-Dmidpoint.repository.jdbcUrl=jdbc:sqlserver://localhost:1433\\;d
' -Dmidpoint.repository.hibernateHbm2ddl=validate'

podTemplate(
nodeSelector: params.NODE_SELECTOR,
activeDeadlineSeconds: 21600, // 6h total build limit
idleMinutes: 10,
// No need for secret volume, no mvn deploy done here.
Expand Down
1 change: 1 addition & 0 deletions tools/jenkins/midpoint-main-nativepg-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
def verbose = params.VERBOSE ?: '0'

podTemplate(
nodeSelector: params.NODE_SELECTOR,
activeDeadlineSeconds: 21600, // 6h total build limit
idleMinutes: 10,
// No need for secret volume, no mvn deploy done here.
Expand Down
1 change: 1 addition & 0 deletions tools/jenkins/midpoint-main-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
def verbose = params.VERBOSE ?: '0'

podTemplate(
nodeSelector: params.NODE_SELECTOR,
activeDeadlineSeconds: 21600, // 6h total build limit
idleMinutes: 1,
// Secret volume with maven settings.xml for deploy, see also sim-link in "build" stage.
Expand Down

0 comments on commit cbb4ef7

Please sign in to comment.