Skip to content

Commit 4780480

Browse files
feat!: Set minimum supported version to Ruby 3.1 (#1216)
* feat!: Set minimum supported version to Ruby 3.1 Ruby 3.0 is no longer receiving security updates. Per our manitenace policy we will only provide updates for Ruby and library versions that are at a minimum receiving security updates. Any users that require Ruby support prior to 3.0 should pin their versions > Ruby 3.0 > status: eol > release date: 2020-12-25 > normal maintenance until: 2023-04-01 > EOL: 2024-04-23 cc: #1211 * squash: Temporarily disable rule https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Naming/BlockForwarding * fix: Duplicate block * squash: use correct rule * squash: Apply code review comments * squash: remove post-install msg
1 parent 717f1c3 commit 4780480

File tree

65 files changed

+68
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+68
-126
lines changed

.github/workflows/ci-contrib.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,6 @@ jobs:
4444
with:
4545
gem: "opentelemetry-helpers-${{ matrix.gem }}"
4646
ruby: "3.1"
47-
- name: "Test Ruby 3.0"
48-
if: "${{ matrix.os == 'ubuntu-latest' }}"
49-
uses: ./.github/actions/test_gem
50-
with:
51-
gem: "opentelemetry-helpers-${{ matrix.gem }}"
52-
ruby: "3.0"
5347
yard: true
5448
rubocop: true
5549
build: true
@@ -89,12 +83,6 @@ jobs:
8983
with:
9084
gem: "opentelemetry-propagator-${{ matrix.gem }}"
9185
ruby: "3.1"
92-
- name: "Test Ruby 3.0"
93-
if: "${{ matrix.os == 'ubuntu-latest' }}"
94-
uses: ./.github/actions/test_gem
95-
with:
96-
gem: "opentelemetry-propagator-${{ matrix.gem }}"
97-
ruby: "3.0"
9886
yard: true
9987
rubocop: true
10088
build: true
@@ -134,15 +122,9 @@ jobs:
134122
with:
135123
gem: "opentelemetry-${{ matrix.gem }}"
136124
ruby: "3.1"
137-
- name: "Test Ruby 3.0"
138-
if: "${{ matrix.os == 'ubuntu-latest' }}"
139-
uses: ./.github/actions/test_gem
140-
with:
141-
gem: "opentelemetry-${{ matrix.gem }}"
142125
yard: true
143126
rubocop: true
144127
build: true
145-
ruby: "3.0"
146128
- name: "Test JRuby"
147129
if: "${{ matrix.os == 'ubuntu-latest' }}"
148130
uses: ./.github/actions/test_gem
@@ -177,12 +159,6 @@ jobs:
177159
with:
178160
gem: "opentelemetry-processor-${{ matrix.gem }}"
179161
ruby: "3.1"
180-
- name: "Test Ruby 3.0"
181-
if: "${{ matrix.os == 'ubuntu-latest' }}"
182-
uses: ./.github/actions/test_gem
183-
with:
184-
gem: "opentelemetry-processor-${{ matrix.gem }}"
185-
ruby: "3.0"
186162
yard: true
187163
rubocop: true
188164
build: true

.github/workflows/ci-instrumentation-with-services.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ jobs:
4444
with:
4545
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
4646
ruby: "3.1"
47-
- name: "Test Ruby 3.0"
48-
uses: ./.github/actions/test_gem
49-
with:
50-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
51-
ruby: "3.0"
5247
yard: true
5348
rubocop: true
5449
build: true
@@ -95,11 +90,6 @@ jobs:
9590
with:
9691
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
9792
ruby: "3.1"
98-
- name: "Test Ruby 3.0"
99-
uses: ./.github/actions/test_gem
100-
with:
101-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
102-
ruby: "3.0"
10393
yard: true
10494
rubocop: true
10595
build: true
@@ -137,11 +127,6 @@ jobs:
137127
with:
138128
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
139129
ruby: "3.1"
140-
- name: "Test Ruby 3.0"
141-
uses: ./.github/actions/test_gem
142-
with:
143-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
144-
ruby: "3.0"
145130
yard: true
146131
rubocop: true
147132
build: true
@@ -195,11 +180,6 @@ jobs:
195180
with:
196181
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
197182
ruby: "3.1"
198-
- name: "Test Ruby 3.0"
199-
uses: ./.github/actions/test_gem
200-
with:
201-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
202-
ruby: "3.0"
203183
yard: true
204184
rubocop: true
205185
build: true
@@ -244,11 +224,6 @@ jobs:
244224
with:
245225
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
246226
ruby: "3.1"
247-
- name: "Test Ruby 3.0"
248-
uses: ./.github/actions/test_gem
249-
with:
250-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
251-
ruby: "3.0"
252227
yard: true
253228
rubocop: true
254229
build: true
@@ -290,11 +265,6 @@ jobs:
290265
with:
291266
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
292267
ruby: "3.1"
293-
- name: "Test Ruby 3.0"
294-
uses: ./.github/actions/test_gem
295-
with:
296-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
297-
ruby: "3.0"
298268
yard: true
299269
rubocop: true
300270
build: true

.github/workflows/ci-instrumentation.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ jobs:
7474
with:
7575
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
7676
ruby: "3.1"
77-
- name: "Test Ruby 3.0"
78-
if: "${{ matrix.os == 'ubuntu-latest' }}"
79-
uses: ./.github/actions/test_gem
80-
with:
81-
gem: "opentelemetry-instrumentation-${{ matrix.gem }}"
82-
ruby: "3.0"
8377
yard: true
8478
rubocop: true
8579
build: true

.github/workflows/release-hook-on-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
release-process-request:
99
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1010
env:
11-
ruby_version: "3.0"
11+
ruby_version: "3.1"
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-hook-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
release-update-open-requests:
1010
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1111
env:
12-
ruby_version: "3.0"
12+
ruby_version: "3.1"
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-perform.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
release-perform:
1919
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
2020
env:
21-
ruby_version: "3.0"
21+
ruby_version: "3.1"
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-please.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
5353
- uses: ruby/[email protected]
5454
with:
55-
ruby-version: "3.0"
55+
ruby-version: "3.1"
5656
bundler: latest
5757
bundler-cache: false
5858
working-directory: ${{ matrix.path }}

.github/workflows/release-request-weekly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
release-request:
99
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1010
env:
11-
ruby_version: "3.0"
11+
ruby_version: "3.1"
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
release-request:
1313
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1414
env:
15-
ruby_version: "3.0"
15+
ruby_version: "3.1"
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Install Ruby ${{ env.ruby_version }}

.github/workflows/release-retry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
release-retry:
1616
if: ${{ github.repository == 'open-telemetry/opentelemetry-ruby-contrib' }}
1717
env:
18-
ruby_version: "3.0"
18+
ruby_version: "3.1"
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Install Ruby ${{ env.ruby_version }}

0 commit comments

Comments
 (0)