-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into py_client_config_new
- Loading branch information
Showing
1,281 changed files
with
58,561 additions
and
97,045 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# The RBE to use | ||
build:remote --bes_results_url=https://gypsum.cluster.engflow.com/invocation | ||
build:remote --bes_backend=grpcs://gypsum.cluster.engflow.com | ||
build:remote --remote_executor=grpcs://gypsum.cluster.engflow.com | ||
build:remote --remote_cache=grpcs://gypsum.cluster.engflow.com | ||
|
||
# The number of cores available | ||
build:remote -j 50 | ||
|
||
# Build Without The Bytes | ||
build:remote --remote_download_minimal | ||
|
||
build:remote --define=EXECUTOR=remote | ||
build:remote --experimental_inmemory_dotd_files | ||
build:remote --experimental_inmemory_jdeps_files | ||
build:remote --remote_timeout=3600 | ||
build:remote --spawn_strategy=remote,local | ||
#build:remote --nolegacy_important_outputs | ||
build:remote --incompatible_strict_action_env=true | ||
|
||
build:remote --crosstool_top=//common/remote-build/cc:toolchain | ||
build:remote --extra_execution_platforms=//common/remote-build:platform | ||
build:remote --extra_toolchains=//common/remote-build:cc-toolchain | ||
build:remote --host_platform=//common/remote-build:platform | ||
build:remote --platforms=//common/remote-build:platform | ||
build:remote --cxxopt=-std=c++14 | ||
|
||
# The Docker images are running Linux | ||
build:remote --cpu=k8 | ||
build:remote --host_cpu=k8 | ||
|
||
build:remote --disk_cache= | ||
|
||
build:remote --incompatible_enable_cc_toolchain_resolution | ||
build:remote --action_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1 | ||
test:remote --test_env=DISPLAY=:99.0 | ||
test:remote --test_tag_filters=-skip-remote,-remote | ||
|
||
# Env vars we can hard code | ||
build:remote --action_env=HOME=/home/dev | ||
build:remote --action_env=PATH=/bin:/usr/bin:/usr/local/bin | ||
test:remote --test_env=PATH=/bin:/usr/bin:/usr/local/bin | ||
test:remote --test_env=HOME=/home/dev | ||
|
||
# Make sure we sniff credentials properly | ||
build:remote --credential_helper=gypsum.cluster.engflow.com=%workspace%/scripts/credential-helper.sh | ||
|
||
# Use pinned browsers when running remotely | ||
build:remote --//common:pin_browsers | ||
|
||
# The remote build machines are pretty small, and 50 threads may leave them | ||
# thrashing, but our dev machines are a lot larger. Scale the workload so we | ||
# make reasonable usage of everything, everywhere, all at once. | ||
build:remote --local_resources=cpu='HOST_CPUS*10' | ||
build:remote --local_resources=memory='HOST_RAM*4.0' | ||
|
||
# A small hint that we're running our tests remotely | ||
test:remote --test_env=REMOTE_BUILD=1 | ||
|
||
# Wait for up to 5 minutes for a test to pass | ||
test:remote --test_timeout=600 | ||
|
||
# Extend the remote config for CI | ||
build:remote-ci --config=remote | ||
build:remote-ci --curses=no --color=yes --show_timestamps --show_progress_rate_limit=5 | ||
build:remote-ci --bes_upload_mode=wait_for_upload_complete | ||
|
||
# Configuration changes suggested by EngFlow | ||
build:remote --grpc_keepalive_time=30s | ||
build:remote --nolegacy_important_outputs |
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 +1 @@ | ||
6.3.2 | ||
7.1.1 |
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,9 @@ | ||
// https://containers.dev/implementors/json_reference/ | ||
|
||
{ | ||
"name": "selenium-devcontainer", | ||
"build": { | ||
"dockerfile": "../scripts/dev-image/Dockerfile" | ||
}, | ||
"runArgs": ["--name", "selenium_devcontainer"] | ||
} |
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 |
---|---|---|
|
@@ -26,16 +26,31 @@ on: | |
required: false | ||
type: string | ||
default: '' | ||
caching: | ||
description: Toggle caching of Bazel | ||
required: false | ||
type: boolean | ||
default: true | ||
cache-key: | ||
description: Bazel disk cache key | ||
required: false | ||
type: string | ||
default: '' | ||
dotnet-version: | ||
description: Custom DotNet version to install | ||
required: false | ||
type: string | ||
default: '' | ||
java-version: | ||
description: Custom Java version to install | ||
required: false | ||
type: string | ||
default: '' | ||
node-version: | ||
description: Custom Node version to install | ||
required: false | ||
type: string | ||
default: '' | ||
ruby-version: | ||
description: Custom Ruby version to use | ||
required: false | ||
|
@@ -46,15 +61,24 @@ on: | |
required: false | ||
type: string | ||
default: '' | ||
artifact-name: | ||
description: Name of artifact to upload | ||
required: false | ||
type: string | ||
default: 'ignore-artifacts' | ||
|
||
jobs: | ||
bazel: | ||
name: ${{ inputs.name }} | ||
runs-on: ${{ inputs.os }}-latest | ||
runs-on: ${{ inputs.os == 'macos' && 'macos-13' || format('{0}-latest', inputs.os) }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SEL_M2_USER: ${{ secrets.SEL_M2_USER }} | ||
SEL_M2_PASS: ${{ secrets.SEL_M2_PASS }} | ||
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }} | ||
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }} | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
SE_AVOID_STATS: true | ||
steps: | ||
- name: Checkout source tree | ||
uses: actions/checkout@v4 | ||
|
@@ -74,26 +98,41 @@ jobs: | |
- name: Set Ruby version | ||
if: inputs.ruby-version != '' | ||
run: echo '${{ inputs.ruby-version }}' > rb/.ruby-version | ||
- name: Setup DotNet | ||
if: inputs.dotnet-version != '' | ||
uses: actions/setup-dotnet@v4 | ||
with: | ||
dotnet-version: ${{ inputs.dotnet-version }} | ||
- name: Setup Java | ||
if: inputs.java-version != '' | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: ${{ inputs.java-version }} | ||
distribution: 'temurin' | ||
- name: Setup Bazel | ||
uses: p0deje/[email protected] | ||
- name: Setup Node | ||
if: inputs.node-version != '' | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ inputs.node-version }} | ||
- name: Setup Bazel with caching | ||
if: inputs.caching | ||
uses: bazel-contrib/[email protected] | ||
with: | ||
bazelisk-cache: true | ||
bazelrc: common --color=yes | ||
cache-version: 2 | ||
disk-cache: ${{ inputs.cache-key }} | ||
external-cache: | | ||
name: ${{ inputs.cache-key }} | ||
manifest: | ||
crates: rust/Cargo.Bazel.lock | ||
npm: package-lock.json | ||
pypi__pip: py/requirements_lock.txt | ||
rules_ruby_dist: rb/ruby_version.bzl | ||
rules_ruby~~ruby~ruby: ${{ inputs.os == 'windows' && 'false' || 'rb/.ruby-version' }} | ||
repository-cache: true | ||
- name: Setup Bazel without caching | ||
if: inputs.caching == false | ||
uses: bazel-contrib/[email protected] | ||
with: | ||
bazelrc: common --color=yes | ||
- name: Setup Fluxbox and Xvfb | ||
if: inputs.os == 'ubuntu' && inputs.browser != '' | ||
run: | | ||
|
@@ -139,3 +178,14 @@ jobs: | |
title: "Nightly" | ||
prerelease: true | ||
files: ${{ inputs.nightly-release-files }} | ||
- name: Save changes | ||
if: ${{ always() && inputs.artifact-name != 'ignore-artifacts' }} | ||
run: | | ||
git diff > changes.patch | ||
- name: "Upload changes" | ||
if: ${{ always() && inputs.artifact-name != 'ignore-artifacts' }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ inputs.artifact-name }} | ||
path: changes.patch | ||
retention-days: 6 |
Oops, something went wrong.