-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cypress: use 'docker compose' for tests
this'll get squashed back into the original commit, it's just here for reviews :) Release note: None
- Loading branch information
Showing
16 changed files
with
215 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
artifacts | ||
videos | ||
screenshots |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
set -uemo pipefail | ||
|
||
set -x | ||
|
||
# Copy the /e2e tree into /scratch and remove any existing node_modules, to | ||
# prevent files with unexpected owners from escaping | ||
mkdir /scratch | ||
cp --recursive --no-target-directory --no-preserve=owner /e2e /scratch | ||
cd /scratch | ||
|
||
# Write a minimal .yarnrc mirroring the one in cockroach.git/pkg/ui, to avoid | ||
# mounting that entire tree. | ||
echo "yarn-offline-mirror /yarn-vendor" > .yarnrc | ||
|
||
# Remove and reinstall any node_modules that may have been copied, since they're | ||
# potentially specific to the host platform. | ||
rm -rf node_modules/ | ||
yarn install --force --offline | ||
|
||
# Run tests, passing extra CLI arguments through to Cypress | ||
yarn cy:run "$@" |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.