As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 65a051af authored by Patrick Bajao's avatar Patrick Bajao
Browse files

Use both go and ruby cache for test jobs

We want to use both go and ruby cache for test jobs since we run
go and rspec tests in that job.
parent 09d523e4
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -43,27 +43,37 @@ default:
# See https://gitlab.com/gitlab-com/www-gitlab-com/-/issues/7019 for tag descriptions
- gitlab-org-docker
.cached-go: &cached_go
- key:
prefix: $GO_VERSION-cache
files:
- go.mod
- go.sum
policy: $POLICY
paths:
- .GOPATH/pkg/mod/
.cached-ruby: &cached_ruby
- key:
prefix: $RUBY_VERSION-cache
files:
- Gemfile.lock
policy: $POLICY
paths:
- ${BUNDLE_PATH}
.cached-go-job:
cache:
- key:
prefix: $GO_VERSION-cache
files:
- go.mod
- go.sum
policy: $POLICY
paths:
- .GOPATH/pkg/mod/
- *cached_go
.cached-ruby-job:
cache:
- key:
prefix: $RUBY_VERSION-cache
files:
- Gemfile.lock
policy: $POLICY
paths:
- ${BUNDLE_PATH}
- *cached_ruby
.cached-job:
cache:
- *cached_go
- *cached_ruby
.go-matrix-job:
parallel:
Loading
Loading
@@ -114,8 +124,7 @@ modules:download:
tests:
extends:
- .cached-go-job
- .cached-ruby-job
- .cached-job
- .go-matrix-job
- .test-job
script:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment