From 06e70d41e9d9be015c085d8a726262729b19c47f Mon Sep 17 00:00:00 2001 From: pokeeffe-molecula Date: Sat, 12 Feb 2022 11:22:03 -0600 Subject: [PATCH] added a job to clean up files --- .gitlab/.gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index a1432e3b0..2b67dc285 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -25,6 +25,14 @@ smoke build: - echo "Let's just see if it compiles... (sometimes the linter gives unclear errors if it doesn't)" - go build ./... +un-firetruck build: + stage: lint + rules: + - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' + script: + - echo "Removes some files which cause problems" + - rm -rf internal/clustertests/results + golangci-lint: image: golangci/golangci-lint:v1.39.0 stage: lint