TeamCity: add mac/arm64 build and use DelveBot account (#2368)
This commit is contained in:
parent
62d52e78d4
commit
3088b8b579
16
.teamcity/patches/buildTypes/AggregatorBuild.kts
vendored
16
.teamcity/patches/buildTypes/AggregatorBuild.kts
vendored
@ -1,16 +0,0 @@
|
|||||||
package patches.buildTypes
|
|
||||||
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.*
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.*
|
|
||||||
|
|
||||||
/*
|
|
||||||
This patch script was generated by TeamCity on settings change in UI.
|
|
||||||
To apply the patch, change the buildType with id = 'AggregatorBuild'
|
|
||||||
accordingly, and delete the patch script.
|
|
||||||
*/
|
|
||||||
changeBuildType(RelativeId("AggregatorBuild")) {
|
|
||||||
vcs {
|
|
||||||
remove(DslContext.settingsRoot.id!!)
|
|
||||||
add(RelativeId("GoDelveDelve1"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
23
.teamcity/patches/vcsRoots/GoDelveDelve1.kts
vendored
23
.teamcity/patches/vcsRoots/GoDelveDelve1.kts
vendored
@ -1,23 +0,0 @@
|
|||||||
package patches.vcsRoots
|
|
||||||
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.*
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.ui.*
|
|
||||||
import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot
|
|
||||||
|
|
||||||
/*
|
|
||||||
This patch script was generated by TeamCity on settings change in UI.
|
|
||||||
To apply the patch, create a vcsRoot with id = 'GoDelveDelve1'
|
|
||||||
in the root project, and delete the patch script.
|
|
||||||
*/
|
|
||||||
create(DslContext.projectId, GitVcsRoot({
|
|
||||||
id("GoDelveDelve1")
|
|
||||||
name = "go-delve/delve (1)"
|
|
||||||
url = "https://github.com/go-delve/delve"
|
|
||||||
branch = "refs/heads/master"
|
|
||||||
branchSpec = "+:refs/heads/feature-*"
|
|
||||||
authMethod = password {
|
|
||||||
userName = "DelveBot"
|
|
||||||
password = "credentialsJSON:ae622caf-644c-4e69-bba8-2bea3e677ae9"
|
|
||||||
}
|
|
||||||
}))
|
|
||||||
|
|
||||||
11
.teamcity/settings.kts
vendored
11
.teamcity/settings.kts
vendored
@ -49,7 +49,10 @@ val targets = arrayOf(
|
|||||||
"windows/amd64/tip",
|
"windows/amd64/tip",
|
||||||
|
|
||||||
"mac/amd64/1.16",
|
"mac/amd64/1.16",
|
||||||
"mac/amd64/tip"
|
"mac/amd64/tip",
|
||||||
|
|
||||||
|
"mac/arm64/1.16",
|
||||||
|
"mac/arm64/tip"
|
||||||
)
|
)
|
||||||
|
|
||||||
project {
|
project {
|
||||||
@ -92,7 +95,7 @@ class AggregatorBuild(tests: Collection<BuildType>) : BuildType({
|
|||||||
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
||||||
provider = github {
|
provider = github {
|
||||||
authType = token {
|
authType = token {
|
||||||
token = "credentialsJSON:5dc93081-e0b2-41e2-b8f0-dea3c96e6426"
|
token = "credentialsJSON:a7e7526c-7195-4790-bbb6-9fb4692f92d0"
|
||||||
}
|
}
|
||||||
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
||||||
}
|
}
|
||||||
@ -102,7 +105,7 @@ class AggregatorBuild(tests: Collection<BuildType>) : BuildType({
|
|||||||
publisher = github {
|
publisher = github {
|
||||||
githubUrl = "https://api.github.com"
|
githubUrl = "https://api.github.com"
|
||||||
authType = personalToken {
|
authType = personalToken {
|
||||||
token = "credentialsJSON:48af6e38-536d-4acb-ae2d-2fba57b6f3db"
|
token = "credentialsJSON:a7e7526c-7195-4790-bbb6-9fb4692f92d0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
param("github_oauth_user", "")
|
param("github_oauth_user", "")
|
||||||
@ -231,7 +234,7 @@ class TestBuild(val os: String, val arch: String, version: String, buildId: Abso
|
|||||||
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
vcsRootExtId = "${DslContext.settingsRoot.id}"
|
||||||
provider = github {
|
provider = github {
|
||||||
authType = token {
|
authType = token {
|
||||||
token = "credentialsJSON:5dc93081-e0b2-41e2-b8f0-dea3c96e6426"
|
token = "credentialsJSON:a7e7526c-7195-4790-bbb6-9fb4692f92d0"
|
||||||
}
|
}
|
||||||
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user