From 3a82aa384fc8d9eebee9b8e7eca8a7b4ba9982be Mon Sep 17 00:00:00 2001 From: Acrimon Date: Mon, 28 Oct 2019 19:18:02 +0100 Subject: [PATCH 1/2] Added basic security job that just runs audit. --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9126020f13..4c05c9d03e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -140,6 +140,14 @@ code-quality: - cargo clippy -- --warn clippy::all - cargo fmt --all -- --check +security: + stage: check-compile + tags: + - veloren-docker + script: + cargo install cargo-audit + cargo audit + # -- # -- post build From 6b6f81de47ecc9b4874ec569e1d0937c1f1bb0ef Mon Sep 17 00:00:00 2001 From: Acrimon Date: Mon, 28 Oct 2019 19:23:27 +0100 Subject: [PATCH 2/2] Fix ci job. --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4c05c9d03e..75b76cc5d8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -142,11 +142,12 @@ code-quality: security: stage: check-compile + allow_failure: true tags: - veloren-docker script: - cargo install cargo-audit - cargo audit + - cargo install cargo-audit + - cargo audit # --