diff options
Diffstat (limited to 'vendor/gems/cloud_profiler_agent/.gitlab-ci.yml')
-rw-r--r-- | vendor/gems/cloud_profiler_agent/.gitlab-ci.yml | 37 |
1 files changed, 5 insertions, 32 deletions
diff --git a/vendor/gems/cloud_profiler_agent/.gitlab-ci.yml b/vendor/gems/cloud_profiler_agent/.gitlab-ci.yml index 9e508d920e8..aa4638486e5 100644 --- a/vendor/gems/cloud_profiler_agent/.gitlab-ci.yml +++ b/vendor/gems/cloud_profiler_agent/.gitlab-ci.yml @@ -1,32 +1,5 @@ -workflow: - rules: - - if: $CI_MERGE_REQUEST_ID - -.rspec: - cache: - key: cloud_profiler_agent-ruby-${RUBY_VERSION} - paths: - - vendor/gems/cloud_profiler_agent/vendor/ruby - before_script: - - cd vendor/gems/cloud_profiler_agent - - 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' - - bundle config set --local frozen 'true' # Disallow Gemfile.lock changes on CI - - bundle config # Show bundler configuration - - bundle install -j $(nproc) - script: - - bundle exec rspec - -rspec-3.0: - image: "ruby:3.0" - extends: .rspec - -rspec-3.1: - image: "ruby:3.1" - extends: .rspec - -rspec-3.2: - image: "ruby:3.2" - extends: .rspec +include: + - local: gems/gem.gitlab-ci.yml + inputs: + gem_name: "cloud_profiler_agent" + gem_path_prefix: "vendor/gems/" |