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 c5b3accf authored by Stan Hu's avatar Stan Hu
Browse files

Merge branch '605-upgrade-to-ruby-3-x' into 'main'

Resolve "Upgrade to Ruby 3.x"

Closes #605

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



Merged-by: default avatarStan Hu <stanhu@gmail.com>
Approved-by: default avatarJames Fargher <proglottis@gmail.com>
Approved-by: default avatarStan Hu <stanhu@gmail.com>
Reviewed-by: default avatarAsh McKenzie <amckenzie@gitlab.com>
Co-authored-by: default avatarAsh McKenzie <amckenzie@gitlab.com>
parents 977a7e80 e1874030
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -10,9 +10,9 @@ include:
variables:
DOCKER_VERSION: "20.10.15"
BUNDLE_FROZEN: "true"
GO_VERSION: "1.18"
GO_VERSION: "golang-1.18"
DEBIAN_VERSION: "bullseye"
RUBY_VERSION: "2.7"
RUBY_VERSION: "ruby-2.7"
workflow:
rules: &workflow_rules
Loading
Loading
@@ -24,7 +24,7 @@ workflow:
- if: '$CI_COMMIT_TAG'
default:
image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-golang-${GO_VERSION}:git-2.36
image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-${RUBY_VERSION}-${GO_VERSION}:git-2.36
tags:
- gitlab-org
Loading
Loading
@@ -51,14 +51,15 @@ default:
# Disable the hooks so we don't have to stub the GitLab API
command: ["bash", "-c", "mkdir -p /home/git/repositories && rm -rf /srv/gitlab-shell/hooks/* && exec /usr/bin/env GITALY_TESTING_NO_GIT_HOOKS=1 /scripts/process-wrapper"]
alias: gitaly
script:
- make verify test
tests:
extends: .test
parallel:
matrix:
- GO_VERSION: ["1.17", "1.18", "1.19"]
- GO_VERSION: ["golang-1.17", "golang-1.18", "golang-1.19"]
- RUBY_VERSION: ["ruby-2.7", "ruby-3.0"]
script:
- make verify test
after_script:
- make coverage
coverage: '/\d+.\d+%/'
Loading
Loading
2.7.7
3.0.5
ruby 2.7.7
ruby 3.0.5
golang 1.18.7
Loading
Loading
@@ -2,6 +2,7 @@ source 'https://rubygems.org'
group :development, :test do
gem 'rspec', '~> 3.8.0'
gem 'webrick', '~> 1.7'
end
group :development, :danger do
Loading
Loading
Loading
Loading
@@ -104,6 +104,7 @@ GEM
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.2.0)
webrick (1.7.0)
PLATFORMS
ruby
Loading
Loading
@@ -111,6 +112,7 @@ PLATFORMS
DEPENDENCIES
gitlab-dangerfiles (~> 3.5.1)
rspec (~> 3.8.0)
webrick (~> 1.7)
BUNDLED WITH
2.3.15
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