forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
86 lines (80 loc) · 2.13 KB
/
_request_cache.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Request/cache
permissions:
contents: read
on:
workflow_call:
secrets:
app-id:
required: true
app-key:
required: true
gcs-cache-key:
required: true
inputs:
env:
type: string
required: true
caches:
type: string
required: true
gcs-cache-bucket:
type: string
required: true
jobs:
docker:
secrets:
app-id: ${{ secrets.app-id }}
app-key: ${{ secrets.app-key }}
name: Docker/${{ matrix.arch }}
uses: ./.github/workflows/_request_cache_docker.yml
with:
arch: ${{ matrix.arch }}
cache-suffix: ${{ matrix.cache-suffix }}
caches: ${{ inputs.caches }}
image-tag: ${{ fromJSON(inputs.env).request.build-image.default }}
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: false
matrix:
include:
- target: docker-x64
arch: x64
- target: docker-arm64
arch: arm64
cache-suffix: -arm64
runs-on: github-arm64-2c-8gb
bazel:
permissions:
contents: read
packages: read
secrets:
app-id: ${{ secrets.app-id }}
app-key: ${{ secrets.app-key }}
gcs-cache-key: ${{ secrets.gcs-cache-key }}
name: ${{ matrix.name || matrix.target }}
uses: ./.github/workflows/_request_cache_bazel.yml
with:
arch: ${{ matrix.arch || 'x64' }}
bazel-extra: ${{ matrix.bazel-extra }}
caches: ${{ inputs.caches }}
gcs-cache-bucket: ${{ inputs.gcs-cache-bucket }}
request: ${{ inputs.env }}
runs-on: ${{ matrix.runs-on }}
targets: ${{ matrix.targets || '...' }}
strategy:
fail-fast: false
matrix:
include:
- name: Bazel (x64/cache)
bazel-extra: >-
--config=remote-clang-libc++
--config=remote-envoy-engflow
- name: Bazel (arm64/cache)
arch: arm64
runs-on: github-arm64-2c-8gb
bazel-extra: >-
--config=clang-libc++
--config=common-envoy-engflow
--config=cache-envoy-engflow
targets: >-
//test/...