Skip to content

Commit

Permalink
Remove build-sandboxes job in CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Sep 6, 2024
1 parent e610404 commit 0ba19a2
Showing 1 changed file with 28 additions and 68 deletions.
96 changes: 28 additions & 68 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,23 @@ jobs:
name: Enable Corepack
command: sudo corepack enable yarn
- run:
name: Creating Sandboxes
command: yarn task --task sandbox --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task sandbox) --no-link --start-from=never --junit
name: Build Sandboxes
command: yarn task --task build --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task build) --no-link --start-from=sandbox --junit
environment:
STORYBOOK_TELEMETRY_URL: "http://localhost:6007/event-log"
- run:
name: Verifying Telemetry
command: |
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task build)
if [[ $TEMPLATE != bench/* ]]
then
yarn jiti ./event-log-checker.ts build $TEMPLATE
fi
working_directory: scripts
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task sandbox)
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task build)
- store_test_results:
path: test-results
- persist_to_workspace:
root: .
paths:
Expand All @@ -337,47 +350,6 @@ jobs:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task smoke-test)
- store_test_results:
path: test-results
build-sandboxes:
parameters:
parallelism:
type: integer
executor:
class: large
name: sb_node_22_browsers
parallelism: << parameters.parallelism >>
steps:
- git-shallow-clone/checkout_advanced:
clone_options: "--depth 1 --verbose"
- attach_workspace:
at: .
- run:
name: Starting Event Collector
command: yarn jiti ./event-log-collector.ts
working_directory: scripts
background: true
- run:
name: Building Sandboxes
command: yarn task --task build --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task build) --no-link --start-from=never --junit
environment:
STORYBOOK_TELEMETRY_URL: "http://localhost:6007/event-log"
- run:
name: Verifying Telemetry
command: |
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task build)
if [[ $TEMPLATE != bench/* ]]
then
yarn jiti ./event-log-checker.ts build $TEMPLATE
fi
working_directory: scripts
- report-workflow-on-failure:
template: $(yarn get-template --cadence << pipeline.parameters.workflow >> --task build)
- store_test_results:
path: test-results
- persist_to_workspace:
root: .
paths:
- sandbox/*/bench/*.json
- sandbox/*/storybook-static
test-runner-production:
parameters:
parallelism:
Expand Down Expand Up @@ -702,34 +674,30 @@ workflows:
parallelism: 14
requires:
- build
- build-sandboxes:
parallelism: 14
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 11
requires:
- build-sandboxes
- create-sandboxes
- e2e-production:
parallelism: 9
requires:
- build-sandboxes
- create-sandboxes
- e2e-dev:
parallelism: 2
requires:
- create-sandboxes
- test-runner-production:
parallelism: 9
requires:
- build-sandboxes
- create-sandboxes
- vitest-integration:
parallelism: 5
requires:
- create-sandboxes
- bench:
parallelism: 5
requires:
- build-sandboxes
- create-sandboxes
- test-portable-stories:
requires:
- build
Expand Down Expand Up @@ -768,26 +736,22 @@ workflows:
parallelism: 20
requires:
- build
- build-sandboxes:
parallelism: 20
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 17
requires:
- build-sandboxes
- create-sandboxes
- e2e-production:
parallelism: 15
requires:
- build-sandboxes
- create-sandboxes
- e2e-dev:
parallelism: 2
requires:
- create-sandboxes
- test-runner-production:
parallelism: 15
requires:
- build-sandboxes
- create-sandboxes
- vitest-integration:
parallelism: 5
requires:
Expand All @@ -801,7 +765,7 @@ workflows:
- bench:
parallelism: 5
requires:
- build-sandboxes
- create-sandboxes
# TODO: reenable once we find out the source of flakyness
# - test-runner-dev:
# parallelism: 4
Expand Down Expand Up @@ -835,26 +799,22 @@ workflows:
# - smoke-test-sandboxes: # disabled for now
# requires:
# - create-sandboxes
- build-sandboxes:
parallelism: 38
requires:
- create-sandboxes
- chromatic-sandboxes:
parallelism: 35
requires:
- build-sandboxes
- create-sandboxes
- e2e-production:
parallelism: 33
requires:
- build-sandboxes
- create-sandboxes
- e2e-dev:
parallelism: 2
requires:
- create-sandboxes
- test-runner-production:
parallelism: 33
requires:
- build-sandboxes
- create-sandboxes
- vitest-integration:
parallelism: 11
requires:
Expand Down Expand Up @@ -886,7 +846,7 @@ workflows:
- bench:
parallelism: 5
requires:
- build-sandboxes
- create-sandboxes

# TODO: reenable once we find out the source of flakyness
# - test-runner-dev:
Expand Down

0 comments on commit 0ba19a2

Please sign in to comment.