mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-19 05:02:40 +08:00
Apply patches
This commit is contained in:
parent
63efebe15e
commit
dc3e42d626
19
.teamcity/patches/buildTypes/E2E.kts
vendored
19
.teamcity/patches/buildTypes/E2E.kts
vendored
@ -1,19 +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 = 'E2E'
|
||||
accordingly, and delete the patch script.
|
||||
*/
|
||||
changeBuildType(RelativeId("E2E")) {
|
||||
check(artifactRules == "") {
|
||||
"Unexpected option value: artifactRules = $artifactRules"
|
||||
}
|
||||
artifactRules = """
|
||||
cypress/screenshots => screenshots.tar.gz
|
||||
cypress/videos => videos.tar.gz
|
||||
""".trimIndent()
|
||||
}
|
23
.teamcity/patches/projects/_Self.kts
vendored
23
.teamcity/patches/projects/_Self.kts
vendored
@ -1,23 +0,0 @@
|
||||
package patches.projects
|
||||
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.*
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.Project
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.projectFeatures.buildReportTab
|
||||
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 root project
|
||||
accordingly, and delete the patch script.
|
||||
*/
|
||||
changeProject(DslContext.projectId) {
|
||||
features {
|
||||
add {
|
||||
buildReportTab {
|
||||
id = "PROJECT_EXT_8"
|
||||
title = "Official"
|
||||
startPage = "built-storybooks.tar.gz!official-storybook/index.html"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
31
.teamcity/settings.kts
vendored
31
.teamcity/settings.kts
vendored
@ -7,6 +7,7 @@ import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.ScriptBuildStep
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.buildSteps.script
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.failureConditions.BuildFailureOnMetric
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.failureConditions.failOnMetricChange
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.projectFeatures.buildReportTab
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.projectFeatures.githubConnection
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.VcsTrigger
|
||||
import jetbrains.buildServer.configs.kotlin.v2019_2.triggers.vcs
|
||||
@ -56,15 +57,15 @@ project {
|
||||
subProject(ChromaticProject)
|
||||
|
||||
buildTypesOrderIds = arrayListOf(
|
||||
RelativeId("TestWorkflow"),
|
||||
RelativeId("Build"),
|
||||
RelativeId("Packtracker"),
|
||||
RelativeId("Chromatic"),
|
||||
RelativeId("E2E"),
|
||||
RelativeId("SmokeTests"),
|
||||
RelativeId("Frontpage"),
|
||||
RelativeId("Docs"),
|
||||
RelativeId("Lint"),
|
||||
RelativeId("TestWorkflow"),
|
||||
RelativeId("Build"),
|
||||
RelativeId("Packtracker"),
|
||||
RelativeId("Chromatic"),
|
||||
RelativeId("E2E"),
|
||||
RelativeId("SmokeTests"),
|
||||
RelativeId("Frontpage"),
|
||||
RelativeId("Docs"),
|
||||
RelativeId("Lint"),
|
||||
RelativeId("Test"),
|
||||
RelativeId("Coverage")
|
||||
)
|
||||
@ -77,6 +78,11 @@ project {
|
||||
clientId = "800d730c725f771d6d2a"
|
||||
clientSecret = "credentialsJSON:d1a5af15-1200-46c6-b0f1-f35bd466d909"
|
||||
}
|
||||
buildReportTab {
|
||||
id = "PROJECT_EXT_8"
|
||||
title = "Official"
|
||||
startPage = "built-storybooks.tar.gz!official-storybook/index.html"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -499,10 +505,15 @@ object E2E : BuildType({
|
||||
yarn await-serve-storybooks
|
||||
yarn cypress run --reporter teamcity
|
||||
""".trimIndent()
|
||||
dockerImage = "cypress/base:10.18.1"
|
||||
dockerImage = "cypress/base:10.18.1
|
||||
dockerImagePlatform = ScriptBuildStep.ImagePlatform.Linux
|
||||
}
|
||||
}
|
||||
|
||||
artifactRules = """
|
||||
cypress/screenshots => screenshots.tar.gz
|
||||
cypress/videos => videos.tar.gz
|
||||
""".trimIndent()
|
||||
})
|
||||
|
||||
object SmokeTests : BuildType({
|
||||
|
Loading…
x
Reference in New Issue
Block a user