Skip to content

Commit

Permalink
rm: buildbuddy from CI (#87)
Browse files Browse the repository at this point in the history
Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>

Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
  • Loading branch information
f0rmiga authored Aug 18, 2022
1 parent 80e0239 commit 3365b1a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 46 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/.bazelrc.ci
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,3 @@ build:engflow --grpc_keepalive_time=30s

# EngFlow remote build execution
build:engflow_rbe --remote_executor=grpcs://tourmaline.cluster.engflow.com

# BuildBuddy remote cache
build:buildbuddy --bes_backend=grpcs://remote.buildbuddy.io
build:buildbuddy --bes_results_url=https://app.buildbuddy.io/invocation/
build:buildbuddy --remote_cache=grpcs://remote.buildbuddy.io

# BuildBuddy remote build execution
build:buildbuddy_rbe --remote_executor=grpcs://remote.buildbuddy.io
12 changes: 0 additions & 12 deletions .github/workflows/buildbuddy.sh

This file was deleted.

34 changes: 8 additions & 26 deletions .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }} or ${{ github.event.label.name == 'ci-test' }}
strategy:
matrix:
remote:
- buildbuddy
- engflow
os:
- ubuntu-18.04
- ubuntu-20.04
Expand All @@ -26,18 +23,14 @@ jobs:
- uses: actions/checkout@v3
- uses: bazelbuild/setup-bazelisk@v2
- name: Test
run: ./.github/workflows/${{ matrix.remote }}.sh --config ${{ matrix.remote }} //...
run: ./.github/workflows/engflow.sh --config engflow //...
env:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
ENGFLOW_CLIENT_CRT: ${{ secrets.ENGFLOW_CLIENT_CRT }}
ENGFLOW_PRIVATE_KEY: ${{ secrets.ENGFLOW_PRIVATE_KEY }}
compilation_modes:
if: ${{ github.ref == 'refs/heads/main' }} or ${{ github.event.label.name == 'ci-test' }}
strategy:
matrix:
remote:
- buildbuddy
- engflow
compilation_mode:
- fastbuild
- dbg
Expand All @@ -48,21 +41,17 @@ jobs:
- uses: bazelbuild/setup-bazelisk@v2
- name: Test
run: |-
./.github/workflows/${{ matrix.remote }}.sh \
--config ${{ matrix.remote }} \
./.github/workflows/engflow.sh \
--config engflow \
--compilation_mode ${{ matrix.compilation_mode }} \
//...
env:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
ENGFLOW_CLIENT_CRT: ${{ secrets.ENGFLOW_CLIENT_CRT }}
ENGFLOW_PRIVATE_KEY: ${{ secrets.ENGFLOW_PRIVATE_KEY }}
sanitizers:
if: ${{ github.ref == 'refs/heads/main' }} or ${{ github.event.label.name == 'ci-test' }}
strategy:
matrix:
remote:
- buildbuddy
- engflow
sanitizer:
- asan
- lsan
Expand All @@ -74,33 +63,26 @@ jobs:
- uses: bazelbuild/setup-bazelisk@v2
- name: Test ${{ matrix.sanitizer }}
run: |-
./.github/workflows/${{ matrix.remote }}.sh \
--config ${{ matrix.remote }} \
./.github/workflows/engflow.sh \
--config engflow \
--config ${{ matrix.sanitizer }} \
//tests/sanitizers:${{ matrix.sanitizer }}_test
env:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
ENGFLOW_CLIENT_CRT: ${{ secrets.ENGFLOW_CLIENT_CRT }}
ENGFLOW_PRIVATE_KEY: ${{ secrets.ENGFLOW_PRIVATE_KEY }}
rbe:
if: ${{ github.ref == 'refs/heads/main' }} or ${{ github.event.label.name == 'ci-test' }}
strategy:
matrix:
remote:
- buildbuddy
- engflow
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: bazelbuild/setup-bazelisk@v2
- name: Test with RBE
run: |-
./.github/workflows/${{ matrix.remote }}.sh \
./.github/workflows/engflow.sh \
--config rbe \
--config ${{ matrix.remote }} \
--config ${{ matrix.remote }}_rbe \
--config engflow \
--config engflow_rbe \
//...
env:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
ENGFLOW_CLIENT_CRT: ${{ secrets.ENGFLOW_CLIENT_CRT }}
ENGFLOW_PRIVATE_KEY: ${{ secrets.ENGFLOW_PRIVATE_KEY }}

0 comments on commit 3365b1a

Please sign in to comment.