-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5005 from corda/alex/DA5-15-recurring-merge-2
# Changes - Merge `release/os/5.1` - Bump API version to 25
- Loading branch information
Showing
374 changed files
with
10,508 additions
and
2,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,34 @@ | ||
#! groovy | ||
@Library('[email protected]') _ | ||
|
||
import com.r3.build.agents.KubernetesAgent | ||
import com.r3.build.enums.BuildEnvironment | ||
import com.r3.build.enums.KubernetesCluster | ||
import com.r3.build.utils.PublishingUtils | ||
|
||
int cpus = 1 | ||
BuildEnvironment buildEnvironment = BuildEnvironment.AMD64_LINUX_JAVA17 | ||
/** | ||
* Jenkins Kubernetes agent | ||
*/ | ||
KubernetesAgent k8s = new KubernetesAgent( | ||
BuildEnvironment.AMD64_LINUX_JAVA17, | ||
KubernetesCluster.JenkinsAgents, | ||
1 | ||
) | ||
|
||
PublishingUtils publishingUtils = new PublishingUtils(this) | ||
|
||
pipeline { | ||
agent { | ||
kubernetes { | ||
cloud "eks-e2e" | ||
yaml kubernetesBuildAgentYaml('build', buildEnvironment, cpus) | ||
cloud k8s.buildCluster.cloudName | ||
yaml k8s.JSON | ||
yamlMergeStrategy merge() // important to keep tolerations from the inherited template | ||
idleMinutes 15 | ||
podRetention always() | ||
label ([ | ||
"gradle-build", | ||
"${cpus}cpus", | ||
"${buildEnvironment.jenkinsLabel}" | ||
].join('-')) | ||
nodeSelector k8s.nodeSelector | ||
label k8s.jenkinsLabel | ||
showRawYaml false | ||
defaultContainer 'build' | ||
defaultContainer k8s.defaultContainer.name | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,6 @@ jobs: | |
steps: | ||
- uses: morrisoncole/[email protected] | ||
with: | ||
title-regex: '^((CORDA|EG|ENT|INFRA|CORE|DOC|ES)-\d+)(.*)' | ||
title-regex: '^((CORDA|EG|ENT|INFRA|CORE|DOC|ES|DA5)-\d+)(.*)' | ||
on-failed-regex-comment: "PR title failed to match regex -> `%regex%`" | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Remove stale branches' | ||
on: | ||
schedule: | ||
- cron: '0 0 * * 1-5' | ||
|
||
jobs: | ||
remove-stale-branches: | ||
name: Remove stale branches | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: fpicalausa/[email protected] | ||
with: | ||
dry-run: true | ||
days-before-branch-stale: 30 | ||
days-before-branch-delete: 14 | ||
stale-branch-message: "@{author} The branch [{branchName}]({branchUrl}) hasn't been updated in the last 30 days and is marked as stale. It will be removed in 14 days.\r\nIf you want to keep this branch around, delete this comment or add new commits to this branch." | ||
exempt-protected-branches: true | ||
exempt-branches-regex: "^(release\\/|feature\\/|poc\\/).*" | ||
operations-per-run: 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.