Skip to content

Commit

Permalink
[I/Y/P-Builds] Restore mount of toolchains.xml in K8 pod definitions
Browse files Browse the repository at this point in the history
Fixes a regression from
#2149
  • Loading branch information
HannesWell committed Jun 25, 2024
1 parent 1fe884b commit 8d1b61a
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions JenkinsJobs/Builds/I_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ spec:
requests:
memory: "6144Mi"
cpu: "2000m"
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "toolchains-xml"
readOnly: true
subPath: "toolchains.xml"
volumes:
- configMap:
items:
- key: "toolchains.xml"
path: "toolchains.xml"
name: "m2-dir"
name: "toolchains-xml"
"""
}
}
Expand Down
12 changes: 12 additions & 0 deletions JenkinsJobs/YBuilds/P_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ spec:
requests:
memory: "6144Mi"
cpu: "2000m"
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "toolchains-xml"
readOnly: true
subPath: "toolchains.xml"
volumes:
- configMap:
items:
- key: "toolchains.xml"
path: "toolchains.xml"
name: "m2-dir"
name: "toolchains-xml"
"""
}
}
Expand Down
12 changes: 12 additions & 0 deletions JenkinsJobs/YBuilds/Y_build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,18 @@ spec:
requests:
memory: "6144Mi"
cpu: "2000m"
volumeMounts:
- mountPath: "/home/jenkins/.m2/toolchains.xml"
name: "toolchains-xml"
readOnly: true
subPath: "toolchains.xml"
volumes:
- configMap:
items:
- key: "toolchains.xml"
path: "toolchains.xml"
name: "m2-dir"
name: "toolchains-xml"
"""
}
}
Expand Down

0 comments on commit 8d1b61a

Please sign in to comment.