Skip to content

Commit

Permalink
Merge branch 'main' into replace-nghttp2-functions
Browse files Browse the repository at this point in the history
Signed-off-by: Biren Roy <birenroy@google.com>
  • Loading branch information
birenroy committed Feb 3, 2023
2 parents 21a51b8 + 5622d49 commit e5641f6
Show file tree
Hide file tree
Showing 440 changed files with 13,819 additions and 5,703 deletions.
1 change: 1 addition & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# only directories can be ignored, and no globbing
api
examples/grpc-bridge/script
mobile
tools/clang_tools
tools/dev/src
.project
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ build:remote-clang-cl --config=rbe-toolchain-clang-cl

# Docker sandbox
# NOTE: Update this from https://github.com/envoyproxy/envoy-build-tools/blob/main/toolchains/rbe_toolchains_config.bzl#L8
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
build:docker-sandbox --experimental_docker_image=envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
build:docker-sandbox --spawn_strategy=docker
build:docker-sandbox --strategy=Javac=docker
build:docker-sandbox --strategy=Closure=docker
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gcr.io/envoy-ci/envoy-build:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
FROM gcr.io/envoy-ci/envoy-build:7304f974de2724617b7492ccb4c9c58cd420353a

ARG USERNAME=vscode
ARG USER_UID=501
Expand Down
5 changes: 0 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,6 @@ updates:
schedule:
interval: "daily"

- package-ecosystem: "pip"
directory: "/tools/dependency"
schedule:
interval: "daily"

- package-ecosystem: "docker"
directory: "/.devcontainer"
schedule:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/android_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
androidbuild:
name: android_build
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/android_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
kotlintestsmac:
# revert to //test/kotlin/... once fixed
Expand Down Expand Up @@ -80,7 +84,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 90
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
asan:
name: asan
runs-on: ubuntu-20.04
timeout-minutes: 180
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/cc_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
cctests:
name: cc_tests
runs-on: ubuntu-20.04
timeout-minutes: 120
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v1
- name: Add safe directory
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/codeql-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ on:
schedule:
- cron: '0 12 * * 4'

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
CodeQL-Build:

Expand All @@ -28,7 +32,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@515828d97454b8354517688ddc5b48402b723750
uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand Down Expand Up @@ -59,4 +63,4 @@ jobs:
git clean -xdf
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@515828d97454b8354517688ddc5b48402b723750
uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
8 changes: 6 additions & 2 deletions .github/workflows/codeql-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- 'dependabot/**'
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
CodeQL-Build:

Expand Down Expand Up @@ -41,7 +45,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@515828d97454b8354517688ddc5b48402b723750
uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
# Override language selection by uncommenting this and choosing your languages
with:
languages: cpp
Expand Down Expand Up @@ -74,4 +78,4 @@ jobs:
- name: Perform CodeQL Analysis
if: env.BUILD_TARGETS != ''
uses: github/codeql-action/analyze@515828d97454b8354517688ddc5b48402b723750
uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
21 changes: 12 additions & 9 deletions .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,29 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
unittests:
name: unit_tests
runs-on: macos-12
runs-on: ubuntu-20.04
timeout-minutes: 120
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
steps:
- uses: actions/checkout@v1
- id: should_run
name: 'Check whether to run'
run: ./mobile/tools/should_run_ci.sh
- name: 'Install dependencies'
if: steps.should_run.outputs.run_ci_job == 'true'
run: cd mobile && ./ci/mac_ci_setup.sh
- name: Add safe directory
run: git config --global --add safe.directory /__w/envoy/envoy
- name: 'Run tests'
if: steps.should_run.outputs.run_ci_job == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd mobile && ./bazelw test \
--action_env=LD_LIBRARY_PATH \
--test_env=ENVOY_IP_TEST_VERSIONS=v4only \
--test_output=all \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-macos") \
$([ -z $GITHUB_TOKEN ] || echo "--config=remote-ci-linux") \
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
//test/common/...
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
coverage:
name: coverage
Expand All @@ -15,7 +19,7 @@ jobs:
run:
shell: bash
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v1
- name: Add safe directory
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/depsreview.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: 'Dependency Review'
on: [pull_request]

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
dependency-review:
runs-on: ubuntu-20.04
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
docs:
runs-on: ubuntu-20.04
timeout-minutes: 20
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v3
- name: Add safe directory
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
formatall:
name: format_all
runs-on: ubuntu-20.04
timeout-minutes: 45
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CLANG_FORMAT: /opt/llvm/bin/clang-format
BUILDIFIER_BIN: /usr/local/bin/buildifier
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ios_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
iosbuild:
name: ios_build
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ios_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
swifttests:
name: swift_tests
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
sizecurrent:
name: size_current
runs-on: ubuntu-20.04
timeout-minutes: 120
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
Expand All @@ -26,7 +30,7 @@ jobs:
run: |
cd mobile && ./bazelw build \
--config=sizeopt \
--config=remote-ci-linux-clang \
--config=release-common \
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
//test/performance:test_binary_size
- uses: actions/upload-artifact@v3
Expand All @@ -38,7 +42,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 90
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
Expand All @@ -54,7 +58,7 @@ jobs:
git checkout main && git pull origin main
cd mobile && ./bazelw build \
--config=sizeopt \
--config=remote-ci-linux-clang \
--config=release-common \
--remote_header="Authorization=Bearer $GITHUB_TOKEN" \
//test/performance:test_binary_size
- uses: actions/upload-artifact@v3
Expand All @@ -67,7 +71,7 @@ jobs:
runs-on: ubuntu-20.04
timeout-minutes: 30
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v1
- uses: actions/download-artifact@v3
Expand All @@ -86,4 +90,4 @@ jobs:
zip -9 dist/main.zip dist/main.stripped
zip -9 dist/current.zip dist/current.stripped
- name: 'Test size regression'
run: cd mobile && ./ci/test_size_regression.sh dist/main.zip dist/current.zip
run: cd mobile && ./ci/test_size_regression.sh ../dist/main.zip ../dist/current.zip
6 changes: 5 additions & 1 deletion .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
pythontests:
name: python_tests
runs-on: ubuntu-20.04
timeout-minutes: 90
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
steps:
- uses: actions/checkout@v1
- name: Add safe directory
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
validate_swiftpm_example:
name: validate_swiftpm_example
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ on:
- main
pull_request:

concurrency:
group: ${{ github.head_ref-github.workflow || github.run_id }}
cancel-in-progress: true

jobs:
tsan:
name: tsan
runs-on: ubuntu-20.04
timeout-minutes: 90
container:
image: envoyproxy/envoy-build-ubuntu:b0ff77ae3f25b0bf595f9b8bba46b489723ab446
image: envoyproxy/envoy-build-ubuntu:7304f974de2724617b7492ccb4c9c58cd420353a
env:
CC: /opt/llvm/bin/clang
CXX: /opt/llvm/bin/clang++
Expand Down
Loading

0 comments on commit e5641f6

Please sign in to comment.