Skip to content

Commit e06c846

Browse files
authored
chore: fix kitchensink windows (#30909)
1 parent dbd11d4 commit e06c846

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.circleci/workflows.yml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ mainBuildFilters: &mainBuildFilters
3232
- 'update-v8-snapshot-cache-on-develop'
3333
- 'chore/update_vue_test_utils'
3434
- 'publish-binary'
35-
- 'cacie/29590/document-domain-subdomains'
35+
- 'chore/fix_windows_kitchensink'
3636

3737
# usually we don't build Mac app - it takes a long time
3838
# but sometimes we want to really confirm we are doing the right thing
@@ -80,7 +80,7 @@ windowsWorkflowFilters: &windows-workflow-filters
8080
# use the following branch as well to ensure that v8 snapshot cache updates are fully tested
8181
- equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ]
8282
- equal: [ 'ryanm/chore/electron-33-upgrade', << pipeline.git.branch >> ]
83-
- equal: [ 'cacie/fix-hook-test-stack-analysis', << pipeline.git.branch >> ]
83+
- equal: [ 'chore/fix_windows_kitchensink', << pipeline.git.branch >> ]
8484
- matches:
8585
pattern: /^release\/\d+\.\d+\.\d+$/
8686
value: << pipeline.git.branch >>
@@ -156,7 +156,7 @@ commands:
156156
name: Set environment variable to determine whether or not to persist artifacts
157157
command: |
158158
echo "Setting SHOULD_PERSIST_ARTIFACTS variable"
159-
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "chore/update_vue_test_utils" && "$CIRCLE_BRANCH" != cacie/fix-hook-test-stack-analysis ]]; then
159+
echo 'if ! [[ "$CIRCLE_BRANCH" != "develop" && "$CIRCLE_BRANCH" != "release/"* && "$CIRCLE_BRANCH" != "chore/update_vue_test_utils" && "$CIRCLE_BRANCH" != chore/fix_windows_kitchensink ]]; then
160160
export SHOULD_PERSIST_ARTIFACTS=true
161161
fi' >> "$BASH_ENV"
162162
# You must run `setup_should_persist_artifacts` command and be using bash before running this command
@@ -908,10 +908,6 @@ commands:
908908
description: Pull request number to check out before installing and testing
909909
type: integer
910910
default: 0
911-
wait-on:
912-
description: Whether to use wait-on to wait on a server to be booted
913-
type: string
914-
default: ""
915911
server-start-command:
916912
description: Server start command for repo
917913
type: string
@@ -1113,11 +1109,17 @@ commands:
11131109
source ./ci-ensure-node.sh
11141110
<<parameters.server-start-command>>
11151111
background: true
1116-
- run:
1117-
condition: <<parameters.wait-on>>
1118-
name: "Waiting on server to boot: <<parameters.wait-on>>"
1119-
command: |
1120-
npx wait-on <<parameters.wait-on>> --timeout 120000
1112+
- when:
1113+
condition:
1114+
not:
1115+
equal: [ "", <<parameters.wait-on>> ]
1116+
steps:
1117+
- run:
1118+
name: "Waiting on server to boot: <<parameters.wait-on>>"
1119+
command: |
1120+
npm i -g wait-on
1121+
npx wait-on <<parameters.wait-on>> --timeout 120000
1122+
11211123
- windows-install-chrome:
11221124
browser: <<parameters.browser>>
11231125
- when:
@@ -2769,7 +2771,6 @@ jobs:
27692771
- test-binary-against-rwa:
27702772
repo: cypress-realworld-app
27712773
browser: chrome
2772-
wait-on: http://localhost:3000
27732774

27742775
test-binary-as-specific-user:
27752776
<<: *defaults

0 commit comments

Comments
 (0)