From a93c3f2f713ca1dce5b60285b75b7b31a4f070de Mon Sep 17 00:00:00 2001 From: "garrison.davis@molecula.com" Date: Fri, 21 Jan 2022 09:55:23 -0700 Subject: [PATCH] Remove go caching This will likely return when it's done in S3. --- .gitlab/.gitlab-ci.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index 84705c4c6..793e70aae 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -3,14 +3,6 @@ include: - template: Security/License-Scanning.gitlab-ci.yml - template: Security/Dependency-Scanning.gitlab-ci.yml -.go-cache: - variables: - GOPATH: $CI_PROJECT_DIR/.go - cache: - - key: $CI_COMMIT_REF_SLUG - paths: - - .go/pkg/mod/ - variables: GOVERSION: "1.16.13" @@ -24,7 +16,6 @@ stages: golangci-lint: image: golangci/golangci-lint:v1.39.0 stage: lint - extends: .go-cache allow_failure: false rules: - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' @@ -71,7 +62,6 @@ run jest tests: run go tests: stage: test image: golang:$GOVERSION - extends: .go-cache rules: - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' script: @@ -83,7 +73,6 @@ run go tests: run go tests race: stage: test image: golang:$GOVERSION - extends: .go-cache rules: - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' script: @@ -95,7 +84,6 @@ run go tests race: run go tests shardwidth22: stage: test image: golang:$GOVERSION - extends: .go-cache rules: - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' script: @@ -110,7 +98,6 @@ run go tests shardwidth22: run go tests future: stage: test image: golang:1.17.6 - extends: .go-cache rules: - if: '$CI_PIPELINE_SOURCE == "push" || $CI_PIPELINE_SOURCE == "schedule" || $CI_PIPELINE_SOURCE == "web"' script: