Skip to content

Commit

Permalink
Some teamcity maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Oct 13, 2018
1 parent 066184c commit 7235882
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 88 deletions.
18 changes: 9 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- addons
- app
- lib
example-kitchen-sinks:
examples:
<<: *defaults
steps:
- checkout
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
- run:
name: Lint
command: yarn lint
unit-test:
test:
<<: *defaults
steps:
- checkout
Expand All @@ -239,7 +239,7 @@ jobs:
- run:
name: Upload coverage
command: yarn coverage
cli:
cli-test:
<<: *defaults
environment:
BASH_ENV: ~/.bashrc
Expand All @@ -251,7 +251,7 @@ jobs:
name: Test
command: yarn test --cli
no_output_timeout: 1800
cli-latest-cra:
cli-test-latest-cra:
<<: *defaults
environment:
BASH_ENV: ~/.bashrc
Expand All @@ -272,7 +272,7 @@ workflows:
requires:
- docs
- build
- example-kitchen-sinks:
- examples:
requires:
- build
- smoke-tests:
Expand All @@ -281,15 +281,15 @@ workflows:
- native-smoke-tests:
requires:
- build
- unit-test:
- test:
requires:
- build
- coverage:
requires:
- unit-test
- cli:
- test
- cli-test:
requires:
- build
- cli-latest-cra:
- cli-test-latest-cra:
requires:
- build
2 changes: 1 addition & 1 deletion .teamcity/OpenSourceProjects_Storybook/Project.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object Project : Project({
buildType(OpenSourceProjects_Storybook_CliTestLatestCra)
buildType(OpenSourceProjects_Storybook_Examples)
buildType(OpenSourceProjects_Storybook_Danger)
buildType(OpenSourceProjects_Storybook_ReactNative)
buildType(OpenSourceProjects_Storybook_NativeSmokeTests)
buildType(OpenSourceProjects_Storybook_Docs)
buildType(OpenSourceProjects_Storybook_Build_2)
buildType(OpenSourceProjects_Storybook_CliTest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ object OpenSourceProjects_Storybook_Build_2 : BuildType({
onDependencyCancel = FailureAction.ADD_PROBLEM
}
}
dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_ReactNative) {
dependency(OpenSourceProjects_Storybook.buildTypes.OpenSourceProjects_Storybook_NativeSmokeTests) {
snapshot {
onDependencyCancel = FailureAction.ADD_PROBLEM
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import jetbrains.buildServer.configs.kotlin.v2017_2.*
import jetbrains.buildServer.configs.kotlin.v2017_2.buildFeatures.commitStatusPublisher
import jetbrains.buildServer.configs.kotlin.v2017_2.buildSteps.script

object OpenSourceProjects_Storybook_ReactNative : BuildType({
object OpenSourceProjects_Storybook_NativeSmokeTests : BuildType({
uuid = "ac276912-df1a-44f1-8de2-056276193ce8"
id = "OpenSourceProjects_Storybook_ReactNative"
name = "React Native"
id = "OpenSourceProjects_Storybook_NativeSmokeTests"
name = "Native Smoke Tests"

params {
param("env.PUPPETEER_SKIP_CHROMIUM_DOWNLOAD", "true")
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ object OpenSourceProjects_Storybook_Test : BuildType({
}
script {
name = "Test"
scriptContent = """
yarn test --core --coverage --runInBand --teamcity
yarn coverage
""".trimIndent()
scriptContent = "yarn test --core --coverage --runInBand --teamcity"
dockerImage = "node:%docker.node.version%"
}
}
Expand Down
8 changes: 0 additions & 8 deletions scripts/netlify-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,6 @@ elif [ "$BUILD_CONTEXT" = "OFFICIAL" ]; then
yarn build-storybook
mv storybook-static ../../netlify-build
popd
elif [ "$BUILD_CONTEXT" = "HYPERAPP" ]; then
# TEMP so we don't get broken builds from netlify
echo "netlify-build hyperapp examples"
pushd examples/official-storybook
yarn
yarn build-storybook
mv storybook-static ../../netlify-build
popd
elif [ "$BUILD_CONTEXT" = "RIOT" ]; then
echo "netlify-build riot examples"
pushd examples/riot-kitchen-sink
Expand Down

0 comments on commit 7235882

Please sign in to comment.