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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gems/attr_encrypted/.gitlab-ci.yml')
-rw-r--r--vendor/gems/attr_encrypted/.gitlab-ci.yml26
1 files changed, 6 insertions, 20 deletions
diff --git a/vendor/gems/attr_encrypted/.gitlab-ci.yml b/vendor/gems/attr_encrypted/.gitlab-ci.yml
index 7d954de43a0..c285eef6e64 100644
--- a/vendor/gems/attr_encrypted/.gitlab-ci.yml
+++ b/vendor/gems/attr_encrypted/.gitlab-ci.yml
@@ -1,26 +1,12 @@
-workflow:
- rules:
- - if: $CI_MERGE_REQUEST_ID
-
-default:
- image: "ruby:${RUBY_VERSION}"
+include:
+ - local: gems/gem.gitlab-ci.yml
+ inputs:
+ gem_name: "attr_encrypted"
+ gem_path_prefix: "vendor/gems/"
rspec:
- cache:
- key: attr_encrypted-ruby
- paths:
- - vendor/gems/attr_encrypted/vendor/ruby
- before_script:
- - cd vendor/gems/attr_encrypted
- - ruby -v # Print out ruby version for debugging
- - gem install bundler --no-document # Bundler is not installed with the image
- - bundle config set --local path 'vendor' # Install dependencies into ./vendor/ruby
- - bundle config set with 'development' # This is set to 'deployment' otherwise
- - bundle config set --local frozen 'true' # Disallow Gemfile.lock changes on CI
- - bundle config # Show bundler configuration
- - bundle install -j $(nproc)
script:
- bundle exec rake test
parallel:
matrix:
- - RUBY_VERSION: ["2.7", "3.0", "3.1"]
+ - RUBY_VERSION: ["3.0", "3.1"] # 3.2 isn't supported yet