From a558e32d1f600b8f207ebcbf1c8b500af9d1c314 Mon Sep 17 00:00:00 2001 From: "filipp.riabchun" Date: Sun, 4 Nov 2018 19:49:56 +0000 Subject: [PATCH 1/4] TeamCity change in 'Open-source projects / Storybook' project: runners of 'Test' build configuration were updated --- .../9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts new file mode 100644 index 000000000000..4f2f9fc421c7 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts @@ -0,0 +1,41 @@ +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 = '9f9177e7-9ec9-4e2e-aabb-d304fd667711' (id = 'OpenSourceProjects_Storybook_Test') +accordingly, and delete the patch script. +*/ +changeBuildType("9f9177e7-9ec9-4e2e-aabb-d304fd667711") { + expectSteps { + script { + name = "Test" + scriptContent = """ + #!/bin/sh + + set -e -x + + yarn + yarn test --core --coverage --runInBand --teamcity + """.trimIndent() + dockerImage = "node:%docker.node.version%" + } + } + steps { + update(0) { + scriptContent = """ + #!/bin/sh + + set -e -x + + yarn + yarn bootstrap --core + yarn test --core --coverage --runInBand --teamcity + """.trimIndent() + } + } +} From b6f6b1ca573ac0e7af2f3b8412dc15ae8409245b Mon Sep 17 00:00:00 2001 From: "filipp.riabchun" Date: Sun, 4 Nov 2018 20:17:07 +0000 Subject: [PATCH 2/4] TeamCity change in 'Open-source projects / Storybook' project: runners of 'Test' build configuration were updated --- .../9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts | 41 ------------------- 1 file changed, 41 deletions(-) delete mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts deleted file mode 100644 index 4f2f9fc421c7..000000000000 --- a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/9f9177e7-9ec9-4e2e-aabb-d304fd667711.kts +++ /dev/null @@ -1,41 +0,0 @@ -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 = '9f9177e7-9ec9-4e2e-aabb-d304fd667711' (id = 'OpenSourceProjects_Storybook_Test') -accordingly, and delete the patch script. -*/ -changeBuildType("9f9177e7-9ec9-4e2e-aabb-d304fd667711") { - expectSteps { - script { - name = "Test" - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn test --core --coverage --runInBand --teamcity - """.trimIndent() - dockerImage = "node:%docker.node.version%" - } - } - steps { - update(0) { - scriptContent = """ - #!/bin/sh - - set -e -x - - yarn - yarn bootstrap --core - yarn test --core --coverage --runInBand --teamcity - """.trimIndent() - } - } -} From 870cee3aacacc590051566a4dd4bb539d754ce6b Mon Sep 17 00:00:00 2001 From: "filipp.riabchun" Date: Sun, 4 Nov 2018 23:22:11 +0000 Subject: [PATCH 3/4] TeamCity change in 'Open-source projects / Storybook' project: project parameters were changed --- .../69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts b/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts new file mode 100644 index 000000000000..e5da676ce9cf --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/projects/69382d9b-7791-418a-9ff6-1c83b86ed6b5.kts @@ -0,0 +1,21 @@ +package OpenSourceProjects_Storybook.patches.projects + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.Project +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 project with uuid = '69382d9b-7791-418a-9ff6-1c83b86ed6b5' (id = 'OpenSourceProjects_Storybook') +accordingly, and delete the patch script. +*/ +changeProject("69382d9b-7791-418a-9ff6-1c83b86ed6b5") { + params { + expect { + param("docker.node.version", "latest") + } + update { + param("docker.node.version", "dubnium") + } + } +} From 729bc9c3a9e92822957d99470d321a642ca96982 Mon Sep 17 00:00:00 2001 From: "filipp.riabchun" Date: Sun, 4 Nov 2018 23:41:44 +0000 Subject: [PATCH 4/4] TeamCity change in 'Open-source projects / Storybook' project: 'Build' build configuration settings were updated --- .../2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts diff --git a/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts new file mode 100644 index 000000000000..b9386de80ba8 --- /dev/null +++ b/.teamcity/OpenSourceProjects_Storybook/patches/buildTypes/2b9c73e2-0a6e-47ca-95ae-729cac42be2b.kts @@ -0,0 +1,24 @@ +package OpenSourceProjects_Storybook.patches.buildTypes + +import jetbrains.buildServer.configs.kotlin.v2017_2.* +import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.RetryBuildTrigger +import jetbrains.buildServer.configs.kotlin.v2017_2.triggers.retryBuild +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 = '2b9c73e2-0a6e-47ca-95ae-729cac42be2b' (id = 'OpenSourceProjects_Storybook_Build_2') +accordingly, and delete the patch script. +*/ +changeBuildType("2b9c73e2-0a6e-47ca-95ae-729cac42be2b") { + triggers { + val trigger1 = find { + retryBuild { + delaySeconds = 60 + } + } + trigger1.apply { + enabled = false + } + } +}