Rewrite aa-log.

This commit is contained in:
Alexandre Pujol 2021-11-09 22:41:12 +00:00
parent 2cc4d69e9e
commit ac2386957b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
7 changed files with 186 additions and 38 deletions

View file

@ -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
# -------------