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 6053e1a4 authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Merge branch 'pb-refactor-ci-caching' into 'main'

Use both go and ruby cache for test jobs

See merge request https://gitlab.com/gitlab-org/gitlab-shell/-/merge_requests/793



Merged-by: default avatarAsh McKenzie <amckenzie@gitlab.com>
Approved-by: default avatarAsh McKenzie <amckenzie@gitlab.com>
Co-authored-by: default avatarPatrick Bajao <ebajao@gitlab.com>
parents 09d523e4 65a051af
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