Skip to content

Commit 617d3a8

Browse files
Merge branch 'main' into logger-instrumentation
2 parents d7ea817 + e200b10 commit 617d3a8

File tree

466 files changed

+5201
-2315
lines changed

Some content is hidden

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

466 files changed

+5201
-2315
lines changed

.github/actions/test_gem/action.yml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@ inputs:
1919
required: false
2020
type: boolean
2121
default: false
22+
coverage:
23+
description: Enforce test coverage
24+
required: false
25+
type: boolean
26+
default: false
27+
minimum_coverage:
28+
description: Minimum test coverage
29+
required: false
30+
type: string
31+
default: 85
2232
build:
2333
description: Build gem
2434
required: false
@@ -62,11 +72,19 @@ runs:
6272
fi
6373
fi
6474
75+
# Install ImageMagick for active_storage testing.
76+
# Unfortunately, as of ubuntu-24.04, ImageMagick is no longer pre-installed in Github Actions.
77+
# See https://github.com/actions/runner-images/issues/10772
78+
- name: Install ImageMagick for active_storage testing
79+
if: "${{ inputs.gem == 'opentelemetry-instrumentation-active_storage' }}"
80+
shell: bash
81+
run: sudo apt update && sudo apt install -y imagemagick
82+
6583
# Install ruby and bundle dependencies and cache!
6684
# ...but not for appraisals, sadly.
6785
- name: Install Ruby ${{ inputs.ruby }} with dependencies
6886
if: "${{ steps.setup.outputs.appraisals == 'false' }}"
69-
uses: ruby/setup-ruby@v1.202.0
87+
uses: ruby/setup-ruby@v1.221.0
7088
with:
7189
ruby-version: "${{ inputs.ruby }}"
7290
working-directory: "${{ steps.setup.outputs.gem_dir }}"
@@ -77,7 +95,7 @@ runs:
7795
# If we're using appraisals, do it all manually.
7896
- name: Install Ruby ${{ inputs.ruby }} without dependencies
7997
if: "${{ steps.setup.outputs.appraisals == 'true' }}"
80-
uses: ruby/setup-ruby@v1.202.0
98+
uses: ruby/setup-ruby@v1.221.0
8199
with:
82100
ruby-version: "${{ inputs.ruby }}"
83101
bundler: "latest"
@@ -153,6 +171,14 @@ runs:
153171
bundle exec rake rubocop
154172
working-directory: "${{ steps.setup.outputs.gem_dir }}"
155173

174+
- name: Coverage
175+
shell: bash
176+
if: "${{ inputs.coverage == 'true' }}"
177+
# This starts a new simplecov run which tracks nothing of its own,
178+
# but merges with the existing coverage reports generated during testing.
179+
run: 'bundle exec ruby -e ''require "simplecov"; SimpleCov.minimum_coverage(${{ inputs.minimum_coverage }})'''
180+
working-directory: "${{ steps.setup.outputs.gem_dir }}"
181+
156182
- name: Build Gem
157183
shell: bash
158184
if: "${{ inputs.build == 'true' }}"

.github/dependabot.yml

Lines changed: 12 additions & 196 deletions
Original file line numberDiff line numberDiff line change
@@ -1,199 +1,15 @@
11
---
22
version: 2
33
updates:
4-
- package-ecosystem: github-actions
5-
directory: "/"
6-
schedule:
7-
interval: daily
8-
- package-ecosystem: bundler
9-
directory: "/"
10-
schedule:
11-
interval: weekly
12-
- package-ecosystem: bundler
13-
directory: "/helpers/mysql"
14-
schedule:
15-
interval: weekly
16-
- package-ecosystem: bundler
17-
directory: "/helpers/sql-obfuscation"
18-
schedule:
19-
interval: weekly
20-
- package-ecosystem: bundler
21-
directory: "/propagator/ottrace"
22-
schedule:
23-
interval: weekly
24-
- package-ecosystem: bundler
25-
directory: "/propagator/xray"
26-
schedule:
27-
interval: weekly
28-
- package-ecosystem: bundler
29-
directory: "/instrumentation/que"
30-
schedule:
31-
interval: weekly
32-
- package-ecosystem: bundler
33-
directory: "/instrumentation/http_client"
34-
schedule:
35-
interval: weekly
36-
- package-ecosystem: bundler
37-
directory: "/instrumentation/mysql2"
38-
schedule:
39-
interval: weekly
40-
- package-ecosystem: bundler
41-
directory: "/instrumentation/sinatra"
42-
schedule:
43-
interval: weekly
44-
- package-ecosystem: bundler
45-
directory: "/instrumentation/sidekiq"
46-
schedule:
47-
interval: weekly
48-
- package-ecosystem: bundler
49-
directory: "/instrumentation/dalli"
50-
schedule:
51-
interval: weekly
52-
- package-ecosystem: bundler
53-
directory: "/instrumentation/racecar"
54-
schedule:
55-
interval: weekly
56-
- package-ecosystem: bundler
57-
directory: "/instrumentation/redis"
58-
schedule:
59-
interval: weekly
60-
- package-ecosystem: bundler
61-
directory: "/instrumentation/ruby_kafka"
62-
schedule:
63-
interval: weekly
64-
- package-ecosystem: bundler
65-
directory: "/instrumentation/concurrent_ruby"
66-
schedule:
67-
interval: weekly
68-
- package-ecosystem: bundler
69-
directory: "/instrumentation/active_model_serializers"
70-
schedule:
71-
interval: weekly
72-
- package-ecosystem: bundler
73-
directory: "/instrumentation/rake"
74-
schedule:
75-
interval: weekly
76-
- package-ecosystem: bundler
77-
directory: "/instrumentation/action_view"
78-
schedule:
79-
interval: weekly
80-
- package-ecosystem: bundler
81-
directory: "/instrumentation/bunny"
82-
schedule:
83-
interval: weekly
84-
- package-ecosystem: bundler
85-
directory: "/instrumentation/all"
86-
schedule:
87-
interval: weekly
88-
- package-ecosystem: bundler
89-
directory: "/instrumentation/aws_sdk"
90-
schedule:
91-
interval: weekly
92-
- package-ecosystem: bundler
93-
directory: "/instrumentation/aws_lambda"
94-
schedule:
95-
interval: weekly
96-
- package-ecosystem: bundler
97-
directory: "/instrumentation/active_record"
98-
schedule:
99-
interval: weekly
100-
- package-ecosystem: bundler
101-
directory: "/instrumentation/faraday"
102-
schedule:
103-
interval: weekly
104-
- package-ecosystem: bundler
105-
directory: "/instrumentation/resque"
106-
schedule:
107-
interval: weekly
108-
- package-ecosystem: bundler
109-
directory: "/instrumentation/rdkafka"
110-
schedule:
111-
interval: weekly
112-
- package-ecosystem: bundler
113-
directory: "/instrumentation/pg"
114-
schedule:
115-
interval: weekly
116-
- package-ecosystem: bundler
117-
directory: "/instrumentation/ethon"
118-
schedule:
119-
interval: weekly
120-
- package-ecosystem: bundler
121-
directory: "/instrumentation/lmdb"
122-
schedule:
123-
interval: weekly
124-
- package-ecosystem: bundler
125-
directory: "/instrumentation/active_support"
126-
schedule:
127-
interval: weekly
128-
- package-ecosystem: bundler
129-
directory: "/instrumentation/http"
130-
schedule:
131-
interval: weekly
132-
- package-ecosystem: bundler
133-
directory: "/instrumentation/graphql"
134-
schedule:
135-
interval: weekly
136-
- package-ecosystem: bundler
137-
directory: "/instrumentation/trilogy"
138-
schedule:
139-
interval: weekly
140-
- package-ecosystem: bundler
141-
directory: "/instrumentation/net_http"
142-
schedule:
143-
interval: weekly
144-
- package-ecosystem: bundler
145-
directory: "/instrumentation/rack"
146-
schedule:
147-
interval: weekly
148-
- package-ecosystem: bundler
149-
directory: "/instrumentation/action_pack"
150-
schedule:
151-
interval: weekly
152-
- package-ecosystem: bundler
153-
directory: "/instrumentation/mongo"
154-
schedule:
155-
interval: weekly
156-
- package-ecosystem: bundler
157-
directory: "/instrumentation/restclient"
158-
schedule:
159-
interval: weekly
160-
- package-ecosystem: bundler
161-
directory: "/instrumentation/koala"
162-
schedule:
163-
interval: weekly
164-
- package-ecosystem: bundler
165-
directory: "/instrumentation/active_job"
166-
schedule:
167-
interval: weekly
168-
- package-ecosystem: bundler
169-
directory: "/instrumentation/excon"
170-
schedule:
171-
interval: weekly
172-
- package-ecosystem: bundler
173-
directory: "/instrumentation/rspec"
174-
schedule:
175-
interval: weekly
176-
- package-ecosystem: bundler
177-
directory: "/instrumentation/base"
178-
schedule:
179-
interval: weekly
180-
- package-ecosystem: bundler
181-
directory: "/instrumentation/delayed_job"
182-
schedule:
183-
interval: weekly
184-
- package-ecosystem: bundler
185-
directory: "/instrumentation/rails"
186-
schedule:
187-
interval: weekly
188-
- package-ecosystem: bundler
189-
directory: "/resources/azure"
190-
schedule:
191-
interval: weekly
192-
- package-ecosystem: bundler
193-
directory: "/resources/container"
194-
schedule:
195-
interval: weekly
196-
- package-ecosystem: bundler
197-
directory: "/resources/google_cloud_platform"
198-
schedule:
199-
interval: weekly
4+
- package-ecosystem: github-actions
5+
directory: "/"
6+
schedule:
7+
interval: daily
8+
- package-ecosystem: bundler
9+
directory: "/"
10+
schedule:
11+
interval: weekly
12+
groups:
13+
all-gems:
14+
patterns:
15+
- "**/Gemfile"

0 commit comments

Comments
 (0)