Skip to content

Commit 4c56456

Browse files
authored
Merge branch 'master' into di-eval-failed-rate-limit
2 parents a90125d + 156f3a4 commit 4c56456

File tree

978 files changed

+31808
-2726
lines changed

Some content is hidden

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

978 files changed

+31808
-2726
lines changed

.github/workflows/lock-dependency.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
matrix:
3737
engine:
3838
# ADD NEW RUBIES HERE
39+
- name: ruby
40+
version: '3.5'
3941
- name: ruby
4042
version: '3.4'
4143
- name: ruby
@@ -58,6 +60,8 @@ jobs:
5860
version: '9.3'
5961
- name: jruby
6062
version: '9.2'
63+
- name: jruby
64+
version: '10.0'
6165
container:
6266
image: ghcr.io/datadog/images-rb/engines/${{ matrix.engine.name }}:${{ matrix.engine.version }}-gnu-gcc
6367
env:

.github/workflows/system-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
include:
8282
- weblogs: "" # All of them
8383
scenarios: DEFAULT,EVERYTHING_DISABLED,APPSEC_BLOCKING_FULL_DENYLIST,APPSEC_BLOCKING,GRAPHQL_APPSEC,PARAMETRIC
84-
- weblogs: rack,rails70
84+
- weblogs: rack,rails72
8585
scenarios: |
8686
APPSEC_API_SECURITY,
8787
APPSEC_API_SECURITY_RC,
@@ -111,7 +111,7 @@ jobs:
111111
TELEMETRY_METRIC_GENERATION_DISABLED
112112
needs:
113113
- build
114-
uses: DataDog/system-tests/.github/workflows/system-tests.yml@09c09a432410992fae600e0b4c4939b481276a7d # Automated: This reference is automatically updated.
114+
uses: DataDog/system-tests/.github/workflows/system-tests.yml@2618589543a4c500c44f7cf95f8762ebca898f61 # Automated: This reference is automatically updated.
115115
secrets: inherit # zizmor: ignore[secrets-inherit]
116116
permissions:
117117
contents: read
@@ -124,7 +124,7 @@ jobs:
124124
scenarios: ${{ matrix.scenarios }}
125125
weblogs: ${{ matrix.weblogs }}
126126
skip_empty_scenarios: true
127-
ref: 400b9fc20864170c6f468cbc5161bf7bf2c49bd2 # Automated: This reference is automatically updated.
127+
ref: 2618589543a4c500c44f7cf95f8762ebca898f61 # Automated: This reference is automatically updated.
128128
force_execute: ${{ needs.build.outputs.forced_tests }}
129129
parametric_job_count: 8
130130

.github/workflows/test-macos.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- '3.2'
2828
- '3.3'
2929
- '3.4'
30+
- '3.5'
3031
# ADD NEW RUBIES HERE
3132
name: Test (${{ matrix.os }}, ${{ matrix.ruby }})
3233
runs-on: ${{ matrix.os }}

.github/workflows/test-yjit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
- '3.2'
2323
- '3.3'
2424
- '3.4'
25+
- '3.5'
2526
# ADD NEW RUBIES HERE
2627
rubyopt:
2728
- '--yjit'

.github/workflows/test.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@ concurrency:
2323
cancel-in-progress: "${{ github.ref != 'refs/heads/master' }}"
2424

2525
jobs:
26+
# ADD NEW RUBIES HERE
27+
ruby-35:
28+
name: "Ruby 3.5"
29+
uses: ./.github/workflows/_unit_test.yml
30+
with:
31+
engine: ruby
32+
version: "3.5"
33+
alias: ruby-35
34+
2635
ruby-34:
2736
name: "Ruby 3.4"
2837
uses: ./.github/workflows/_unit_test.yml
@@ -87,6 +96,14 @@ jobs:
8796
version: "2.5"
8897
alias: ruby-25
8998

99+
jruby-100:
100+
name: "JRuby 10.0"
101+
uses: ./.github/workflows/_unit_test.yml
102+
with:
103+
engine: jruby
104+
version: "10.0"
105+
alias: jruby-100
106+
90107
jruby-94:
91108
name: "JRuby 9.4"
92109
uses: ./.github/workflows/_unit_test.yml
@@ -127,6 +144,8 @@ jobs:
127144
DD_SERVICE: dd-trace-rb
128145
DD_GIT_REPOSITORY_URL: "${{ github.repositoryUrl }}"
129146
needs:
147+
# ADD NEW RUBIES HERE
148+
- ruby-35
130149
- ruby-34
131150
- ruby-33
132151
- ruby-32
@@ -135,6 +154,7 @@ jobs:
135154
- ruby-27
136155
- ruby-26
137156
- ruby-25
157+
- jruby-100
138158
- jruby-94
139159
- jruby-93
140160
- jruby-92
@@ -171,6 +191,8 @@ jobs:
171191
name: dd/coverage
172192
runs-on: ubuntu-24.04
173193
needs:
194+
# ADD NEW RUBIES HERE
195+
- ruby-35
174196
- ruby-34
175197
- ruby-33
176198
- ruby-32
@@ -179,6 +201,7 @@ jobs:
179201
- ruby-27
180202
- ruby-26
181203
- ruby-25
204+
- jruby-100
182205
- jruby-94
183206
- jruby-93
184207
- jruby-92
@@ -208,6 +231,8 @@ jobs:
208231
name: Unit Tests (complete)
209232
runs-on: ubuntu-24.04
210233
needs:
234+
# ADD NEW RUBIES HERE
235+
- ruby-35
211236
- ruby-34
212237
- ruby-33
213238
- ruby-32
@@ -216,6 +241,7 @@ jobs:
216241
- ruby-27
217242
- ruby-26
218243
- ruby-25
244+
- jruby-100
219245
- jruby-94
220246
- jruby-93
221247
- jruby-92

.github/workflows/update-latest-dependency.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
matrix:
2323
engine:
2424
# ADD NEW RUBIES HERE
25+
- name: ruby
26+
version: '3.5'
2527
- name: ruby
2628
version: '3.4'
2729
- name: ruby
@@ -44,6 +46,8 @@ jobs:
4446
version: '9.3'
4547
- name: jruby
4648
version: '9.2'
49+
- name: jruby
50+
version: '10.0'
4751
container:
4852
image: ghcr.io/datadog/images-rb/engines/${{ matrix.engine.name }}:${{ matrix.engine.version }}-gnu-gcc
4953
steps:

.gitlab-ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ default:
3535
parallel:
3636
matrix:
3737
# ADD NEW RUBIES HERE
38-
- RUBY_VERSION: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
38+
- RUBY_VERSION: ["3.5", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
3939
script:
4040
- >
4141
docker build
@@ -71,7 +71,7 @@ promote-image:
7171
parallel:
7272
matrix:
7373
# ADD NEW RUBIES HERE
74-
- RUBY_VERSION: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
74+
- RUBY_VERSION: ["3.5", "3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
7575
ARCHITECTURE: ["amd64", "arm64"]
7676
script:
7777
- docker pull $RUBY_CUSTOM_IMAGE_BASE/$RUBY_VERSION-$ARCHITECTURE:$CI_PIPELINE_ID
@@ -109,6 +109,8 @@ install-dependencies:
109109
tags: ["arch:$ARCH"]
110110
parallel:
111111
matrix:
112+
# ADD NEW RUBIES HERE
113+
# TODO: Ruby 3.5 - Not added here yet to avoid increasing SSI OCI image size and adding premature support for 3.5.
112114
- RUBY_VERSION: ["3.4", "3.3", "3.2", "3.1", "3.0", "2.7", "2.6"]
113115
ARCH: ["amd64", "arm64"]
114116
stage: package
@@ -141,7 +143,7 @@ requirements_json_test:
141143

142144
configure_system_tests:
143145
variables:
144-
SYSTEM_TESTS_REF: 400b9fc20864170c6f468cbc5161bf7bf2c49bd2 # Automated: This reference is automatically updated.
146+
SYSTEM_TESTS_REF: 2618589543a4c500c44f7cf95f8762ebca898f61 # Automated: This reference is automatically updated.
145147
SYSTEM_TESTS_SCENARIOS_GROUPS: "simple_onboarding,lib-injection"
146148

147149
save_versions:

.gitlab/Dockerfile-3.5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM ghcr.io/datadog/images-rb/engines/ruby:3.5-centos-gcc

0 commit comments

Comments
 (0)