Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 9.12.0 #2769

Merged
merged 161 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
d04d5ac
k2
fallwith Apr 28, 2023
b930ca7
New Relic
fallwith Apr 28, 2023
8803079
Merge branch 'dev' into k2
fallwith May 4, 2023
fcd8604
add security.applicationinfo.port
fallwith May 9, 2023
9d56dfe
description for security.applicationinfo.port
fallwith May 9, 2023
2e8db5d
NewRelic::Control::SecurityInterface
fallwith May 11, 2023
27fd636
security interface and gem dependency
fallwith May 11, 2023
4d208f2
Merge pull request #2005 from newrelic/security_interface
fallwith May 11, 2023
c9c7c06
gemspec: remove blank line
fallwith May 11, 2023
8caad2d
SecurityInterface: Ruby <= 2.4 compatibility
fallwith May 11, 2023
31619c6
Merge pull request #2006 from newrelic/security_interface_older_rubies
fallwith May 11, 2023
a37646c
Merge branch 'dev' into k2
fallwith May 11, 2023
9764d2c
Merge branch 'dev' into k2
fallwith May 31, 2023
ca1ad1b
unit tests for SecurityInterface
fallwith Jun 1, 2023
9b22388
Merge pull request #2043 from newrelic/k2_security_interface_tests
fallwith Jun 1, 2023
96fa214
security interface tests: skip MiniTest 4
fallwith Jun 1, 2023
2e68347
Merge pull request #2045 from newrelic/security_interface_tests
fallwith Jun 1, 2023
561b92a
Update lib/new_relic/agent/configuration/default_source.rb
fallwith Jun 2, 2023
dca3f03
Update lib/new_relic/agent/configuration/default_source.rb
fallwith Jun 2, 2023
042017f
Update lib/new_relic/agent/configuration/default_source.rb
fallwith Jun 2, 2023
5ace3bf
Update lib/new_relic/agent/configuration/default_source.rb
fallwith Jun 2, 2023
0e7bc16
more security agent config descriptions
fallwith Jun 2, 2023
075f2ae
still more security agent config
fallwith Jun 2, 2023
91b4beb
the The
fallwith Jun 3, 2023
6567ddc
updated security config: application_info
prateeksen Jun 5, 2023
b0a8c86
set allow_nil to true for security.application_info.port
prateeksen Jun 6, 2023
009e9c2
Merge pull request #2047 from newrelic/k2-config-update
prateeksen Jun 6, 2023
54970dc
add handling security disable of high security enabled
prateeksen Jun 8, 2023
d5dda8a
update security_interface_test for high_security config changes
prateeksen Jun 8, 2023
120d615
security agent tests: updates to 3 param checks
fallwith Jun 8, 2023
e7bb788
Merge pull request #2060 from newrelic/k2-disable-on-high-security-en…
fallwith Jun 8, 2023
36b3bc4
CI: upgrade to setup-ruby v1.151.0
fallwith Jun 8, 2023
d7cde65
Merge branch 'dev' into k2
fallwith Jun 20, 2023
d0f2f49
Merge branch 'dev' into k2
fallwith Jun 20, 2023
d9d66b1
Add supportability enabed/disabled metric
hannahramadan Oct 24, 2023
944d421
Remove scratch work
hannahramadan Oct 24, 2023
5546674
2 supportability metrics
hannahramadan Oct 24, 2023
92f3b0f
Fix test
hannahramadan Oct 24, 2023
6d7b411
Reset supportability metrics
hannahramadan Oct 25, 2023
da5b18c
Add supportability metrics enabled method
hannahramadan Oct 25, 2023
47ef119
Merge branch 'dev' into supportability_metrics
hannahramadan Oct 26, 2023
51da1f4
regenerate rubocop todo
hannahramadan Oct 26, 2023
c311176
regenerate todo
hannahramadan Oct 26, 2023
ec33d21
appease rubocop once more
hannahramadan Oct 26, 2023
3cff631
Merge pull request #2286 from newrelic/supportability_metrics
hannahramadan Oct 27, 2023
7a71f62
Merge pull request #2395 from newrelic/dev
prateeksen Jan 12, 2024
9ef6733
Merge branch 'dev' into k2
prateeksen Jan 19, 2024
5f4ffcc
Merge branch 'dev' into k2
prateeksen Apr 15, 2024
78036b9
add allowlist[IAST RASP] for security.mode & new security config secu…
prateeksen Apr 15, 2024
82fb2fb
Merge branch 'dev' into k2
prateeksen May 13, 2024
863aeee
log security config when IAST is disabled
prateeksen May 13, 2024
7b0293e
WIP: add support for redis clustering
kaylareopelle Jun 15, 2024
f71a731
Update config description formatting
kaylareopelle Jun 15, 2024
4d72c54
yaml formatting: accommodate for indentation
fallwith Jun 20, 2024
2b4c2ff
Install cluster middleware
kaylareopelle Jun 21, 2024
e689807
Merge pull request #2727 from newrelic/add-space-in-desc
kaylareopelle Jun 21, 2024
c116a7d
Merge pull request #2728 from newrelic/52nd_street
fallwith Jun 21, 2024
ac86f4b
Rubocop
kaylareopelle Jun 21, 2024
bcf6c90
Remove unused variable
kaylareopelle Jun 21, 2024
1ad495e
Add some config logging
kaylareopelle Jun 26, 2024
c3bcc7e
Replace DoNotTranslate with DNT
hannahramadan Jun 27, 2024
3c28650
Remove unncessary tag and update another
hannahramadan Jun 27, 2024
2628f8e
Merge pull request #2734 from newrelic/update_translate_tags
hannahramadan Jun 28, 2024
75e08b9
Remove logging
kaylareopelle Jun 29, 2024
0bba934
add new attributes to bunny instrumentation
tannalynn Jul 1, 2024
b317fa4
Skip tests that fail on redis-clustering
kaylareopelle Jul 1, 2024
aea52de
Update
kaylareopelle Jul 1, 2024
ee711e0
Add comment to ClusterMiddleware
kaylareopelle Jul 2, 2024
902eef0
Add Ruby version constraint for redis-clustering
kaylareopelle Jul 2, 2024
e4a95b4
Apply suggestions from code review
kaylareopelle Jul 2, 2024
dc565eb
add tests for attributes
tannalynn Jul 2, 2024
77f1af7
rename test
tannalynn Jul 2, 2024
373aeaa
remove unneeded logger stubbing
tannalynn Jul 2, 2024
695ef0f
Merge branch 'dev' into redis-clustering
kaylareopelle Jul 2, 2024
982c3d2
Add changelog entry
kaylareopelle Jul 2, 2024
46bfca5
Merge branch 'redis-clustering' of github.com:newrelic/newrelic-ruby-…
kaylareopelle Jul 2, 2024
337f888
Refactor _nr_db
kaylareopelle Jul 3, 2024
7d77987
fix for bunny tests in CI
tannalynn Jul 3, 2024
1827a7a
remove sleeps
tannalynn Jul 3, 2024
e412c6b
CI: JRuby 9.4.7.0 -> 9.4.8.0
fallwith Jul 3, 2024
046558c
Merge pull request #2739 from newrelic/jruby9480
fallwith Jul 3, 2024
33dbbf5
Merge branch 'dev' into k2
prateeksen Jul 8, 2024
b6dbdb1
Merge pull request #2720 from newrelic/redis-clustering
kaylareopelle Jul 8, 2024
5b13a17
add Rails v7.1 test environment
fallwith Jul 8, 2024
8ea9cef
have the Rails v7.1 test app use v7.1 defaults
fallwith Jul 8, 2024
a74f4eb
Merge pull request #2740 from newrelic/bang_on_the_drum
fallwith Jul 9, 2024
389f1fb
CI: test with Ruby v3.3.4
fallwith Jul 9, 2024
3dad37b
Merge pull request #2741 from newrelic/ruby334
fallwith Jul 9, 2024
92f869e
Introduce Rails v7.2 test environment
fallwith Jul 9, 2024
fe3a29b
update to only try to get cluster name once per client instance
tannalynn Jul 10, 2024
ab384a7
ActiveJob tests: disable test adapter
fallwith Jul 10, 2024
a8b153f
change the way we create error object because options changed
tannalynn Jul 10, 2024
e4417ef
Merge pull request #2744 from newrelic/fix_httpx_130_test_failure
tannalynn Jul 10, 2024
b7d9b15
update test
tannalynn Jul 10, 2024
94638d2
ActiveJob tests: conditionally disable test adptr
fallwith Jul 10, 2024
81c7233
Merge pull request #2738 from newrelic/update_bunny_instrumentation
tannalynn Jul 10, 2024
84e727c
ActiveJob tests: use `rescue nil`
fallwith Jul 10, 2024
6f701a2
ActiveJob: permit TestAdapter
fallwith Jul 10, 2024
e391162
assert_match
fallwith Jul 10, 2024
82824c6
Merge pull request #2742 from newrelic/danny_la_rue
fallwith Jul 11, 2024
0008a94
Update UTs for SecurityInterface
prateeksen Jul 11, 2024
49c220a
Logstasher instrumentation (#2559)
hannahramadan Jul 11, 2024
1e93a5f
update changelog
tannalynn Jul 11, 2024
0f80c06
Merge branch 'dev' into elasticsearch_try_cluster_once_per_instance
tannalynn Jul 11, 2024
055f443
changelog
tannalynn Jul 11, 2024
e764ac7
Update CHANGELOG.md
tannalynn Jul 11, 2024
9f139ea
Merge pull request #2743 from newrelic/elasticsearch_try_cluster_once…
tannalynn Jul 11, 2024
3b5e1d9
include additional AC topics in Rails subscription
fallwith Jul 12, 2024
43326de
pin protobuf version for infinite tracing
tannalynn Jul 12, 2024
91a811e
Merge pull request #2746 from newrelic/infinite_tracing_protobuf_version
tannalynn Jul 12, 2024
2861ca9
Merge branch 'dev' into addactopics
fallwith Jul 12, 2024
a96d082
update Lambda docs link
fallwith Jul 12, 2024
43234eb
Merge pull request #2747 from newrelic/λ📝
fallwith Jul 12, 2024
14e86a6
re-enable Rails EDGE testing
fallwith Jul 15, 2024
5902957
README: serverless link fix
fallwith Jul 15, 2024
f3d2ae6
Merge pull request #2748 from newrelic/ldocfix
fallwith Jul 15, 2024
2d8f43e
CI: Rails EDGE fixes
fallwith Jul 15, 2024
ec94a7e
Merge branch 'dev' into railsedge
fallwith Jul 15, 2024
c6f8b72
Merge pull request #2745 from newrelic/addactopics
fallwith Jul 15, 2024
4723381
CHANGELOG: entry for PR 2745
fallwith Jul 15, 2024
5e05495
Update CHANGELOG.md
fallwith Jul 15, 2024
310af4d
Merge pull request #2749 from newrelic/pr2745_changelog
fallwith Jul 15, 2024
36b4a41
Merge branch 'dev' into k2
prateeksen Jul 16, 2024
5840f64
security.enabled should be checked in Security agent only and not in …
prateeksen Jul 16, 2024
1b76923
CI: Rails multiverse updates
fallwith Jul 16, 2024
1b824ab
remove debug statements
fallwith Jul 16, 2024
5623127
CI: Rails v7.2 handles params a bit different
fallwith Jul 16, 2024
83bc232
Merge branch 'don't_let_smart_be_the_enemy_of_happy' into railsedge
fallwith Jul 16, 2024
bd5c34a
Merge pull request #2750 from newrelic/don't_let_smart_be_the_enemy_o…
fallwith Jul 16, 2024
54eb549
Merge branch 'dev' into railsedge
fallwith Jul 16, 2024
bc37951
Rails v8.0 fixes related to streaming/chunking
fallwith Jul 16, 2024
4a0bfe9
Merge branch 'dev' into k2
prateeksen Jul 17, 2024
37d26c9
add config reset to prevent leaky tests
tannalynn Jul 17, 2024
9e552c9
reset metrics for tests
tannalynn Jul 17, 2024
3c3e8c1
Browser monitoring: revert Rails v8 driven change
fallwith Jul 17, 2024
73c5f28
Browser agent test: Rails v8 exemption
fallwith Jul 17, 2024
5a94b9b
ActiveRecord test updates
fallwith Jul 17, 2024
1bb14e9
indentation fix
fallwith Jul 17, 2024
863c5f1
Update lib/new_relic/agent/configuration/default_source.rb
prateeksen Jul 18, 2024
d933a5d
Update lib/new_relic/control/security_interface.rb
prateeksen Jul 18, 2024
db297b8
PR review suggestions incorporated
prateeksen Jul 18, 2024
1d39781
Merge pull request #2754 from newrelic/railsedge
fallwith Jul 18, 2024
bd0d524
add RASP in allowlist for dev and testing
prateeksen Jul 22, 2024
f114363
run url test only on its own
tannalynn Jul 22, 2024
2a6ca35
Merge pull request #2761 from newrelic/url_test_failures
tannalynn Jul 22, 2024
5d9c813
Update lib/new_relic/agent/configuration/default_source.rb
prateeksen Jul 22, 2024
7c0b475
Update lib/new_relic/agent/configuration/default_source.rb
prateeksen Jul 22, 2024
06653ce
Merge pull request #2752 from newrelic/k2
kaylareopelle Jul 22, 2024
376e3b1
bump version
newrelic-ruby-agent-bot Jul 22, 2024
50611c6
Add newrelic_security gem to changelog
kaylareopelle Jul 22, 2024
98bf902
Update CHANGELOG.md
kaylareopelle Jul 22, 2024
8ebf172
Merge pull request #2764 from newrelic/prerelease_updates_9.12.0-pre
kaylareopelle Jul 22, 2024
6dbe2ba
Merge branch 'dev' into newrelic-security-changelog-entry
kaylareopelle Jul 22, 2024
65217ec
Apply suggestions from code review
kaylareopelle Jul 23, 2024
ae46673
Merge pull request #2768 from newrelic/newrelic-security-changelog-entry
kaylareopelle Jul 23, 2024
be2b5be
Revert spacing changes
kaylareopelle Jul 23, 2024
18b33c0
Regenerate newrelic.yml
kaylareopelle Jul 23, 2024
e7a3f8b
Merge pull request #2770 from newrelic/update-newrelic-yml
kaylareopelle Jul 23, 2024
4d99f75
Add security agent content back to newrelic.yml
kaylareopelle Jul 24, 2024
a957d68
Add Security Agent to config.rake (#2766)
hannahramadan Jul 24, 2024
0658fec
Merge pull request #2772 from newrelic/update-newrelic-yml
kaylareopelle Jul 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/versions.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
# This file is consumed by lib/tasks/gha.rake
ruby/setup-ruby:
:tag: v1.180.0
:sha: ff740bc00a01b3a50fffc55a1071b1060eeae9dc
:tag: v1.186.0
:sha: 2a9a743e19810b9f3c38060637daf594dbd7b37f
actions/checkout:
:tag: v4.1.2
:sha: 9bb56186c3b09b4f86b1c65136769dd318469633
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Configure git
run: 'git config --global init.defaultBranch main'
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2
- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: '3.3'
- run: bundle
Expand All @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: [2.4.10, 3.3.3]
ruby-version: [2.4.10, 3.3.4]
steps:
- name: Configure git
run: 'git config --global init.defaultBranch main'
Expand All @@ -49,7 +49,7 @@ jobs:
run: sudo apt-get update; sudo apt-get install -y --no-install-recommends libcurl4-nss-dev libsasl2-dev libxslt1-dev

- name: Install Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: ${{ matrix.ruby-version }}

Expand All @@ -62,8 +62,8 @@ jobs:
"2.4.10": {
"rails": "norails,rails42,rails52"
},
"3.3.3": {
"rails": "norails,rails61,rails70"
"3.3.4": {
"rails": "norails,rails61,rails72"
}
}

Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:
fail-fast: false
matrix:
multiverse: [agent, ai, background, background_2, database, frameworks, httpclients, httpclients_2, rails, rest]
ruby-version: [2.4.10, 3.3.3]
ruby-version: [2.4.10, 3.3.4]

steps:
- name: Configure git
Expand All @@ -204,7 +204,7 @@ jobs:
run: sudo apt-get update; sudo apt-get install -y --no-install-recommends libcurl4-nss-dev libsasl2-dev libxslt1-dev

- name: Install Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: ${{ matrix.ruby-version }}

Expand Down Expand Up @@ -290,14 +290,14 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: [2.7.8, 3.3.3]
ruby-version: [2.7.8, 3.3.4]
steps:
- name: Configure git
run: 'git config --global init.defaultBranch main'
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2

- name: Install Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: ${{ matrix.ruby-version }}

Expand Down Expand Up @@ -337,7 +337,7 @@ jobs:
- name: Configure git
run: 'git config --global init.defaultBranch main'
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2
- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: '3.3'
- run: bundle
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/ci_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Configure git
run: 'git config --global init.defaultBranch main'
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2
- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: '3.3'
- run: bundle
Expand All @@ -36,7 +36,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: [2.4.10, 2.5.9, 2.6.10, 2.7.8, 3.0.7, 3.1.6, 3.2.4, 3.3.3, 3.4.0-preview1]
ruby-version: [2.4.10, 2.5.9, 2.6.10, 2.7.8, 3.0.7, 3.1.6, 3.2.4, 3.3.4, 3.4.0-preview1]

steps:
- name: Configure git
Expand All @@ -50,7 +50,7 @@ jobs:
run: sudo apt-get update; sudo apt-get install -y --no-install-recommends libcurl4-nss-dev libsasl2-dev libxslt1-dev

- name: Install Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: ${{ matrix.ruby-version }}

Expand All @@ -70,22 +70,22 @@ jobs:
"rails": "norails,rails61,rails60,rails52,rails51,rails50,rails42"
},
"2.7.8": {
"rails": "norails,rails61,rails60,rails70"
"rails": "norails,rails61,rails60,rails70,rails71"
},
"3.0.7": {
"rails": "norails,rails61,rails60,rails70"
"rails": "norails,rails61,rails60,rails70,rails71"
},
"3.1.6": {
"rails": "norails,rails61,rails70"
"rails": "norails,rails61,rails70,rails71,rails72,railsedge"
},
"3.2.4": {
"rails": "norails,rails61,rails70"
"rails": "norails,rails61,rails70,rails71,rails72,railsedge"
},
"3.3.3": {
"rails": "norails,rails61,rails70"
"3.3.4": {
"rails": "norails,rails61,rails70,rails71,rails72,railsedge"
},
"3.4.0-preview1": {
"rails": "norails,rails61,rails70"
"rails": "norails,rails61,rails70,rails71,rails72,railsedge"
}
}

Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
fail-fast: false
matrix:
multiverse: [agent, ai, background, background_2, database, frameworks, httpclients, httpclients_2, rails, rest]
ruby-version: [2.4.10, 2.5.9, 2.6.10, 2.7.8, 3.0.7, 3.1.6, 3.2.4, 3.3.3, 3.4.0-preview1]
ruby-version: [2.4.10, 2.5.9, 2.6.10, 2.7.8, 3.0.7, 3.1.6, 3.2.4, 3.3.4, 3.4.0-preview1]
steps:
- name: Configure git
run: 'git config --global init.defaultBranch main'
Expand All @@ -216,7 +216,7 @@ jobs:
run: sudo apt-get update; sudo apt-get install -y --no-install-recommends libcurl4-nss-dev libsasl2-dev libxslt1-dev

- name: Install Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: ${{ matrix.ruby-version }}

Expand Down Expand Up @@ -281,14 +281,14 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby-version: [2.7.8, 3.0.7, 3.1.6, 3.2.4, 3.3.3, 3.4.0-preview1]
ruby-version: [2.7.8, 3.0.7, 3.1.6, 3.2.4, 3.3.4, 3.4.0-preview1]
steps:
- name: Configure git
run: 'git config --global init.defaultBranch main'
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2

- name: Install Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: ${{ matrix.ruby-version }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci_jruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2

- name: Install JRuby
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: jruby-9.4.7.0
ruby-version: jruby-9.4.8.0

- name: Bundle
run: bundle install
Expand Down Expand Up @@ -49,9 +49,9 @@ jobs:
uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2

- name: Install JRuby
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: jruby-9.4.7.0
ruby-version: jruby-9.4.8.0

- name: Bundle
run: bundle install
Expand Down
80 changes: 80 additions & 0 deletions .github/workflows/ci_special.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: URL Test CI

on:
schedule:
- cron: '0 9 * * *'
workflow_dispatch:

jobs:
unit_tests:
runs-on: ubuntu-22.04

steps:
- name: Configure git
run: 'git config --global init.defaultBranch main'
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2

# - curl is needed for Curb
# - xslt is needed for older Nokogiris, RUBY_VERSION < 2.5
# - sasl is needed for memcached
- name: Install OS packages
run: sudo apt-get update; sudo apt-get install -y --no-install-recommends libcurl4-nss-dev libsasl2-dev libxslt1-dev

- name: Install Ruby 3.4.0-preview1
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.4.0-preview1

- name: Setup bundler
run: ./.github/workflows/scripts/setup_bundler
env:
RUBY_VERSION: 3.4.0-preview1

- name: Run Unit Tests
uses: nick-fields/retry@7152eba30c6575329ac0576536151aca5a72780e # tag v3.0.0
with:
timeout_minutes: 30
max_attempts: 2
command: TEST=test/new_relic/healthy_urls_test bundle exec rake test
env:
VERBOSE_TEST_OUTPUT: true
SPECIAL_CI: true


notify_slack_fail:
name: Notify slack fail
needs: [unit_tests]
runs-on: ubuntu-22.04
if: always()
steps:
- uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3
- uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # tag v1.6.0
if: ${{ env.WORKFLOW_CONCLUSION == 'failure' && github.event_name != 'workflow_dispatch' }}
env:
SLACK_BOT_TOKEN: ${{ secrets.RUBY_GITHUB_ACTIONS_BOT_WEBHOOK }}
with:
channel: ruby-agent-notifications
status: FAILED
color: danger


notify_slack_success:
name: Notify slack success
needs: [unit_tests]
runs-on: ubuntu-22.04
if: always()
steps:
- uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5 # tag v3.0.3
- run: echo ${{ github.event_name }}
- uses: Mercymeilya/last-workflow-status@3418710aefe8556d73b6f173a0564d38bcfd9a43 # tag v0.3.3
id: last_status
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- uses: voxmedia/github-action-slack-notify-build@3665186a8c1a022b28a1dbe0954e73aa9081ea9e # tag v1.6.0
if: ${{ env.WORKFLOW_CONCLUSION == 'success' && steps.last_status.outputs.last_status == 'failure' && github.event_name != 'workflow_dispatch' }}
env:
SLACK_BOT_TOKEN: ${{ secrets.RUBY_GITHUB_ACTIONS_BOT_WEBHOOK }}
with:
channel: ruby-agent-notifications
status: SUCCESS
color: good
2 changes: 1 addition & 1 deletion .github/workflows/config_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
pull-requests: write
steps:
- name: Install Ruby 3.3
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/performance_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2
with:
ref: 'main'
- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: '3.3'
- run: bundle
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
pull-requests: write
steps:
- name: Install Ruby 3.3
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 0

- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.3
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
pull-requests: write
steps:
- name: Install Ruby 3.3
uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.3

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/slack_notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
gem_notifications:
runs-on: ubuntu-22.04
steps:
- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.3
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
cve_notifications:
runs-on: ubuntu-22.04
steps:
- uses: ruby/setup-ruby@ff740bc00a01b3a50fffc55a1071b1060eeae9dc # tag v1.180.0
- uses: ruby/setup-ruby@2a9a743e19810b9f3c38060637daf594dbd7b37f # tag v1.186.0
with:
ruby-version: 3.3
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # tag v4.1.2
Expand Down
Loading
Loading