mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
Other: Introduce gobinsec cache.
This commit is contained in:
@ -38,6 +38,7 @@ stages:
|
|||||||
- cache
|
- cache
|
||||||
- test
|
- test
|
||||||
- build
|
- build
|
||||||
|
- check
|
||||||
- mirror
|
- mirror
|
||||||
|
|
||||||
# Stage: CACHE
|
# Stage: CACHE
|
||||||
@ -138,9 +139,6 @@ build-qml:
|
|||||||
script:
|
script:
|
||||||
- make build
|
- make build
|
||||||
- git diff && git diff-index --quiet HEAD
|
- git diff && git diff-index --quiet HEAD
|
||||||
- curl -L https://services.nvd.nist.gov/rest/json/cves/1.0/
|
|
||||||
- gobinsec -verbose -wait -config utils/gobinsec_conf.yml
|
|
||||||
cmd/Desktop-Bridge/deploy/linux/proton-bridge
|
|
||||||
artifacts:
|
artifacts:
|
||||||
# Note: The latest artifacts for refs are locked against deletion, and kept
|
# Note: The latest artifacts for refs are locked against deletion, and kept
|
||||||
# regardless of the expiry time. Introduced in GitLab 13.0 behind a
|
# regardless of the expiry time. Introduced in GitLab 13.0 behind a
|
||||||
@ -235,6 +233,26 @@ build-windows-qa:
|
|||||||
artifacts:
|
artifacts:
|
||||||
name: "bridge-windows-qa-$CI_COMMIT_SHORT_SHA"
|
name: "bridge-windows-qa-$CI_COMMIT_SHORT_SHA"
|
||||||
|
|
||||||
|
# Stage: CHECK
|
||||||
|
check-gobinsec:
|
||||||
|
stage: check
|
||||||
|
only:
|
||||||
|
- branches
|
||||||
|
cache:
|
||||||
|
key: gobinsec-cache
|
||||||
|
paths:
|
||||||
|
- gobinsec-cache.yml
|
||||||
|
policy: pull-push
|
||||||
|
before_script:
|
||||||
|
- mkdir build
|
||||||
|
- tar -xzf bridge_linux_*.tgz -C build
|
||||||
|
script:
|
||||||
|
- "[ ! -f ./gobinsec-cache.yml ] && wget bridgeteam.protontech.ch/bridgeteam/gobinsec-cache.yml"
|
||||||
|
- cat ./gobinsec-cache.yml
|
||||||
|
- gobinsec -cache -config utils/gobinsec_conf.yml build/proton-bridge
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Stage: MIRROR
|
# Stage: MIRROR
|
||||||
|
|
||||||
mirror-repo:
|
mirror-repo:
|
||||||
|
|||||||
@ -1,5 +1,9 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
file:
|
||||||
|
name: "./gobinsec-cache.yml"
|
||||||
|
expiration: 24h
|
||||||
|
|
||||||
ignore:
|
ignore:
|
||||||
# golang.org/x/net wrong match, we are using 2871e0cb, fixed by 37e1c6af
|
# golang.org/x/net wrong match, we are using 2871e0cb, fixed by 37e1c6af
|
||||||
- "CVE-2021-33194"
|
- "CVE-2021-33194"
|
||||||
|
|||||||
Reference in New Issue
Block a user