From a03ddb5bb8879fb85c38dcb8209df2711fd40697 Mon Sep 17 00:00:00 2001 From: "filipp.riabchun" Date: Tue, 18 Sep 2018 13:20:19 +0000 Subject: [PATCH] TeamCity change in 'Open-source projects / Storybook' project: runners of 'CLI test' build configuration were updated --- .../b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts new file mode 100644 index 00000000000..93f7797869c --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/b1db1a3a-a4cf-46ea-8f55-98b86611f92e.kts @@ -0,0 +1,39 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.ScriptBuildStep +import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script +import jetbrains.buildServer.configs.kotlin.v2017_2.ui.* + +/* +This patch script was generated by TeamCity on settings change in UI. +To apply the patch, change the buildType with uuid = 'b1db1a3a-a4cf-46ea-8f55-98b86611f92e' (id = 'OpenSourceProjects_Storybook_CliTest') +accordingly, and delete the patch script. +*/ +changeBuildType("b1db1a3a-a4cf-46ea-8f55-98b86611f92e") { + expectSteps { + script { + name = "Bootstrap" + scriptContent = """ + yarn + yarn bootstrap --core + """.trimIndent() + dockerImage = "andthensome/docker-node-rsync" + } + script { + name = "Test" + scriptContent = "yarn test --cli" + dockerImage = "andthensome/docker-node-rsync" + } + } + steps { + update(0) { + scriptContent = """ + set -e -x + + yarn + yarn bootstrap --core + """.trimIndent() + } + } +}