-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into test-es-81400
- Loading branch information
Showing
983 changed files
with
26,027 additions
and
12,983 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
steps: | ||
- label: ':pipeline: Create pipeline with priority' | ||
concurrency_group: bazel_macos | ||
concurrency: 1 | ||
concurrency_method: eager | ||
# We have to use a dynamic pipeline to set PRIORITY at runtime based on the branch | ||
# We want the main branch to be prioritized higher than other branches | ||
# The other option would be to have a slightly different version of this yaml live on different branches | ||
# But this makes backports easier / everything cleaner | ||
command: | | ||
if [[ "$${BUILDKITE_BRANCH}" == "$${BUILDKITE_PIPELINE_DEFAULT_BRANCH}" ]]; then | ||
export PRIORITY=1 | ||
else | ||
export PRIORITY=0 | ||
fi | ||
buildkite-agent pipeline upload <<YAML | ||
steps: | ||
- command: .buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh | ||
label: Bootstrap (MacOS x86) | ||
priority: $${PRIORITY} | ||
agents: | ||
queue: macos-x86 | ||
timeout_in_minutes: 60 | ||
concurrency_group: bazel_macos | ||
concurrency: 1 | ||
concurrency_method: eager | ||
- command: .buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh | ||
label: Bootstrap (MacOS ARM) | ||
priority: $${PRIORITY} | ||
agents: | ||
queue: macos-arm | ||
timeout_in_minutes: 60 | ||
YAML |
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,34 @@ | ||
{ | ||
"groups": [ | ||
{ | ||
"key": "oss/cigroup", | ||
"name": "OSS CI Group", | ||
"ciGroups": 12 | ||
}, | ||
{ | ||
"key": "oss/firefox", | ||
"name": "OSS Firefox" | ||
}, | ||
{ | ||
"key": "oss/accessibility", | ||
"name": "OSS Accessibility" | ||
}, | ||
{ | ||
"key": "xpack/cigroup", | ||
"name": "Default CI Group", | ||
"ciGroups": 27 | ||
}, | ||
{ | ||
"key": "xpack/cigroup/Docker", | ||
"name": "Default CI Group Docker" | ||
}, | ||
{ | ||
"key": "xpack/firefox", | ||
"name": "Default Firefox" | ||
}, | ||
{ | ||
"key": "xpack/accessibility", | ||
"name": "Default Accessibility" | ||
} | ||
] | ||
} |
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
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,14 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
export BAZEL_CACHE_MODE=read-write | ||
export DISABLE_BOOTSTRAP_VALIDATION=true | ||
|
||
# Since our Mac agents are currently static, | ||
# use a temporary HOME directory that gets cleaned out between builds | ||
TMP_HOME="$WORKSPACE/tmp_home" | ||
rm -rf "$TMP_HOME" | ||
export HOME="$TMP_HOME" | ||
|
||
.buildkite/scripts/bootstrap.sh |
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.