Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into retry-flake
- Loading branch information
Showing
437 changed files
with
13,257 additions
and
18,183 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Bump this version to force CI to re-create the cache from scratch. | ||
|
||
10-31-22 | ||
12-01-22 |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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 |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
|
||
*.json text eol=lf | ||
|
||
**/.eslintrc text eol=lf | ||
|
||
packages/errors/__snapshot-html__/** linguist-generated=true |
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,47 @@ | ||
name: "Trigger CircleCi Pipeline" | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- ready_for_review | ||
|
||
jobs: | ||
main: | ||
name: Trigger CircleCi Pipeline when PR is ready for review | ||
runs-on: ubuntu-latest | ||
steps: | ||
- if: ${{ github.event.pull_request.draft == false }} | ||
shell: bash | ||
env: | ||
CIRCLE_TOKEN: ${{ secrets.CIRCLE_TOKEN }} | ||
BASE_ORG_AND_REPO: ${{ github.event.pull_request.head.full_name }} | ||
PULL_ID: ${{ github.event.pull_request.number }} | ||
run: | | ||
if [[ "${CIRCLE_TOKEN}" == "" ]]; then | ||
echo "The CIRCLE_TOKEN is unset. Cannot trigger pipeline..." | ||
exit 1; | ||
fi | ||
BRANCH="$GITHUB_HEAD_REF" | ||
if [[ "$BASE_ORG_AND_REPO" != "cypress-io/cypress" ]]; then | ||
echo "Triggering CircleCi pipeline for outside contributor." | ||
BRANCH="pull/$PULL_ID/head" | ||
fi | ||
echo "Triggering CircleCi pipeline for $BRANCH" | ||
response=$(curl -X POST https://circleci.com/api/v2/project/github/cypress-io/cypress/pipeline \ | ||
--header "Circle-Token:$CIRCLE_TOKEN" \ | ||
--header "content-type:application/json" \ | ||
--data "{\"branch\":\"$BRANCH\"}" \ | ||
--silent | ||
) | ||
echo "$response" | ||
if [ "$(jq 'has("message")' <<< $response )" == "true" ]; then | ||
echo "Error triggering pipeline..." | ||
exit 1; | ||
fi |
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,10 @@ | ||
name: Update V8 Snapshot Cache | ||
on: [workflow_dispatch] | ||
concurrency: | ||
group: ${{ github.ref }} | ||
cancel-in-progress: true | ||
jobs: | ||
update-v8-snapshot-cache: | ||
steps: | ||
- name: Dummy step | ||
run: echo "Dummy step" |
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
Oops, something went wrong.