mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
Apply patches
This commit is contained in:
parent
0106c67642
commit
3e70892e80
14
.teamcity/patches/buildTypes/Examples2.kts
vendored
14
.teamcity/patches/buildTypes/Examples2.kts
vendored
@ -1,14 +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 = 'Examples2'
|
||||
accordingly, and delete the patch script.
|
||||
*/
|
||||
changeBuildType(RelativeId("Examples2")) {
|
||||
expectDisabledSettings()
|
||||
updateDisabledSettings("swabra")
|
||||
}
|
40
.teamcity/patches/templates/Common.kts
vendored
40
.teamcity/patches/templates/Common.kts
vendored
@ -1,40 +0,0 @@
|
||||
package patches.templates
|
||||
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.*
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.PullRequests
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.Swabra
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.pullRequests
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.swabra
|
||||
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 template with id = 'Common'
|
||||
accordingly, and delete the patch script.
|
||||
*/
|
||||
changeTemplate(RelativeId("Common")) {
|
||||
features {
|
||||
val feature1 = find<Swabra> {
|
||||
swabra {
|
||||
id = "swabra"
|
||||
verbose = true
|
||||
paths = "-:**/node_modules/**"
|
||||
}
|
||||
}
|
||||
feature1.apply {
|
||||
paths = """
|
||||
-:node_modules
|
||||
-:**/node_modules
|
||||
""".trimIndent()
|
||||
}
|
||||
add {
|
||||
pullRequests {
|
||||
id = "BUILD_EXT_2"
|
||||
provider = github {
|
||||
authType = vcsRoot()
|
||||
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
14
.teamcity/settings.kts
vendored
14
.teamcity/settings.kts
vendored
@ -1,5 +1,7 @@
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.*
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.PullRequests
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.commitStatusPublisher
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.pullRequests
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildFeatures.swabra
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.ScriptBuildStep
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.script
|
||||
@ -99,7 +101,17 @@ object Common: Template({
|
||||
swabra {
|
||||
id = "swabra"
|
||||
verbose = true
|
||||
paths = "-:**/node_modules/**"
|
||||
paths = """
|
||||
-:node_modules
|
||||
-:**/node_modules
|
||||
""".trimIndent()
|
||||
}
|
||||
pullRequests {
|
||||
id = "BUILD_EXT_2"
|
||||
provider = github {
|
||||
authType = vcsRoot()
|
||||
filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user