Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove build-sandboxes job in CircleCI #29064

Draft
wants to merge 1 commit into
base: next
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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