|
1 | 1 | # Builds against a cache proxy with CDC (content-defined chunking) enabled. |
2 | 2 | # Large blobs are chunked on upload and download. |
3 | | -name: Build against Proxy with Chunking (dev) |
| 3 | +name: Build against Proxy with Chunking |
4 | 4 |
|
5 | 5 | on: |
6 | 6 | push: |
|
11 | 11 | - master |
12 | 12 |
|
13 | 13 | jobs: |
14 | | - metal: |
| 14 | + metal-dev: |
15 | 15 | runs-on: ubuntu-latest |
16 | 16 | if: "!contains(github.event.head_commit.message, 'ci skip')" |
17 | 17 |
|
|
46 | 46 | repo-cache-dir: ${{ steps.cache-restore.outputs.repo-cache-dir }} |
47 | 47 | go-mod-cache-dir: ${{ steps.cache-restore.outputs.go-mod-cache-dir }} |
48 | 48 | yarn-cache-dir: ${{ steps.cache-restore.outputs.yarn-cache-dir }} |
| 49 | + aws-prod: |
| 50 | + runs-on: ubuntu-latest |
| 51 | + if: "!contains(github.event.head_commit.message, 'ci skip')" |
| 52 | + |
| 53 | + steps: |
| 54 | + - name: Checkout |
| 55 | + uses: actions/checkout@v3 |
| 56 | + |
| 57 | + - name: Restore caches |
| 58 | + id: cache-restore |
| 59 | + uses: ./.github/actions/cache-restore |
| 60 | + |
| 61 | + - name: Build |
| 62 | + env: |
| 63 | + GO_REPOSITORY_USE_HOST_CACHE: 1 |
| 64 | + GOMODCACHE: /home/runner/go-mod-cache |
| 65 | + run: | |
| 66 | + bazelisk build \ |
| 67 | + --config=untrusted-ci \ |
| 68 | + --remote_cache=grpcs://proxy.aws-us-west-2.buildbuddy.io \ |
| 69 | + --remote_executor=grpcs://chunking.buildbuddy.io \ |
| 70 | + --bes_backend=grpcs://chunking.buildbuddy.io \ |
| 71 | + --bes_results_url=https://chunking.buildbuddy.io/invocation/ \ |
| 72 | + --remote_header=x-buildbuddy-api-key=${{ secrets.BB_CHUNKING_PROD_API_KEY }} \ |
| 73 | + --remote_upload_local_results \ |
| 74 | + --announce_rc \ |
| 75 | + //... |
| 76 | +
|
| 77 | + - name: Save caches |
| 78 | + uses: ./.github/actions/cache-save |
| 79 | + if: always() |
| 80 | + with: |
| 81 | + repo-cache-dir: ${{ steps.cache-restore.outputs.repo-cache-dir }} |
| 82 | + go-mod-cache-dir: ${{ steps.cache-restore.outputs.go-mod-cache-dir }} |
| 83 | + yarn-cache-dir: ${{ steps.cache-restore.outputs.yarn-cache-dir }} |
0 commit comments