-
Notifications
You must be signed in to change notification settings - Fork 459
49 lines (46 loc) · 1.43 KB
/
kernelctf-verify-all.yaml
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
name: kernelCTF verify all PRs again
on:
workflow_dispatch:
inputs:
prs:
description: 'PRs to verify'
type: string
required: true
skipRepro:
description: 'Skip reproduction'
type: boolean
required: false
default: false
permissions: {}
jobs:
verify:
strategy:
matrix:
pr: ${{ fromJSON(format('[{0}]', inputs.prs)) }}
fail-fast: false # do not cancel test of other targets
uses: ./.github/workflows/kernelctf-submission-verification.yaml
secrets: inherit
with:
prNumber: ${{ matrix.pr }}
skipRepro: ${{ inputs.skipRepro }}
backup_artifacts:
runs-on: ubuntu-latest
needs: [verify]
if: always()
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: ./artifacts
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
credentials_json: '${{secrets.KERNELCTF_GCS_SA_KEY}}'
- name: Upload artifacts to GCS
uses: 'google-github-actions/upload-cloud-storage@v2'
with:
path: ./artifacts
destination: kernelctf-build/artifacts/verify_all_${{ github.run_id }}_pr${{ join(fromJSON(format('[{0}]', inputs.prs)), '_') }}
parent: false
predefinedAcl: publicRead
process_gcloudignore: false # removes warnings that .gcloudignore file does not exist