forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 1
66 lines (61 loc) · 1.8 KB
/
_check_coverage.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
name: Check/coverage
permissions:
contents: read
on:
workflow_call:
secrets:
gcp-key:
required: true
inputs:
request:
type: string
required: true
trusted:
type: boolean
required: true
concurrency:
group: ${{ github.head_ref || github.run_id }}-${{ github.workflow }}-coverage
cancel-in-progress: true
jobs:
coverage:
secrets:
gcp-key: ${{ secrets.gcp-key }}
permissions:
contents: read
packages: read
uses: ./.github/workflows/_run.yml
name: ${{ matrix.name ||matrix.target }}
with:
# bazel-extra: '--config=remote-envoy-engflow'
cache-build-image: ${{ fromJSON(inputs.request).request.build-image.default }}
concurrency-suffix: -${{ matrix.target }}
diskspace-hack: ${{ matrix.diskspace-hack || false }}
diskspace-hack-paths: ${{ matrix.diskspace-hack-paths || '' }}
error-match: |
ERROR
error:
Error:
lower than limit
rbe: true
request: ${{ inputs.request }}
steps-post: |
- run: ci/run_envoy_docker.sh 'ci/do_ci.sh ${{ matrix.target }}-upload'
shell: bash
env:
GCS_ARTIFACT_BUCKET: ${{ inputs.trusted && vars.GCS_ARTIFACT_BUCKET_POST || vars.GCS_ARTIFACT_BUCKET_PRE }}
GCS_REDIRECT_PATH: ${{ fromJSON(inputs.request).request.pr || fromJSON(inputs.request).request.target-branch }}
target: ${{ matrix.target }}
timeout-minutes: 180
trusted: ${{ inputs.trusted }}
strategy:
fail-fast: false
matrix:
include:
- target: coverage
name: Coverage
diskspace-hack: true
diskspace-hack-paths: |
/opt/hostedtoolcache
/usr/local
- target: fuzz_coverage
name: Fuzz coverage