Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/ci/prepare.yml4
-rw-r--r--.gitlab/ci/test.yml6
2 files changed, 6 insertions, 4 deletions
diff --git a/.gitlab/ci/prepare.yml b/.gitlab/ci/prepare.yml
index f2da6a9e..692e7920 100644
--- a/.gitlab/ci/prepare.yml
+++ b/.gitlab/ci/prepare.yml
@@ -5,7 +5,7 @@ include:
- template: Security/Secret-Detection.gitlab-ci.yml
variables:
- SAST_EXCLUDED_ANALYZERS: "eslint"
+ SAST_EXCLUDED_ANALYZERS: "brakeman,eslint,gosec"
# workflow rules are not extended by scanner jobs, need to override them manually
# TODO: remove when https://gitlab.com/gitlab-org/gitlab/-/issues/218444 is done
@@ -46,7 +46,7 @@ license_scanning:
gemnasium-dependency_scanning:
<<: *rules-for-dependency-scanners
-gosec-sast:
+semgrep-sast:
<<: *rules-for-scanners
secret_detection:
diff --git a/.gitlab/ci/test.yml b/.gitlab/ci/test.yml
index 5c8e783b..9a30f429 100644
--- a/.gitlab/ci/test.yml
+++ b/.gitlab/ci/test.yml
@@ -17,7 +17,7 @@ tests:
extends: .tests-matrix
script:
- echo "Running all unit tests..."
- - make test ARGS='-short'
+ - make unit-test
tests-acceptance:
extends: .tests-matrix
@@ -43,7 +43,7 @@ cover:
code_quality:
extends: .tests-common
- image: golangci/golangci-lint:v1.44.0
+ image: golangci/golangci-lint:v1.46.2
variables:
REPORT_FILE: gl-code-quality-report.json
LINT_FLAGS: "--color never --deadline 15m"
@@ -51,6 +51,7 @@ code_quality:
script:
- golangci-lint run ./... --out-format ${OUT_FORMAT} ${LINT_FLAGS} | tee ${REPORT_FILE}
timeout: 15 minutes
+ cache: []
artifacts:
reports:
codequality: ${REPORT_FILE}
@@ -67,6 +68,7 @@ check deps:
check mocks:
extends: .tests-common
+ cache: []
script:
- make mocks-check