Rewrite aa-log.
This commit is contained in:
parent
2cc4d69e9e
commit
ac2386957b
7 changed files with 186 additions and 38 deletions
|
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
|
||||
include:
|
||||
- template: Security/SAST.gitlab-ci.yml
|
||||
|
||||
variables:
|
||||
PKGDEST: $CI_PROJECT_DIR/packages
|
||||
PACKAGER: 'Alexandre Pujol <alexandre@pujol.io>'
|
||||
|
|
@ -21,6 +24,28 @@ bash:
|
|||
PKGBUILD
|
||||
debian/apparmor.d.postinst debian/apparmor.d.postrm
|
||||
|
||||
golangci-lint:
|
||||
stage: lint
|
||||
image: golangci/golangci-lint
|
||||
script:
|
||||
- cd src && golangci-lint run
|
||||
|
||||
goreport:
|
||||
stage: lint
|
||||
image: golang
|
||||
before_script:
|
||||
- cd /tmp
|
||||
- git clone https://github.com/gojp/goreportcard.git
|
||||
- cd goreportcard
|
||||
- make install
|
||||
- go install ./cmd/goreportcard-cli
|
||||
- cd $CI_PROJECT_DIR
|
||||
script:
|
||||
- goreportcard-cli -v -t 90
|
||||
|
||||
sast:
|
||||
stage: lint
|
||||
|
||||
|
||||
# Package Build
|
||||
# -------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue