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

Bootstrap Ruby 3.2.0-preview1 testing #1974

Merged
merged 7 commits into from
Apr 25, 2022
Merged

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Apr 12, 2022

This PR includes the ground work of testing with Ruby 3.2.0-preview1. I initially tried enabling it in CircleCI as well but:

Even without addressing them, I think having the docker image and being able to run these tests locally is a step towards fixing them, so I think this PR is still valuable.

@ivoanjo ivoanjo requested a review from a team April 12, 2022 15:12
Comment on lines 811 to +828
- orb/build_and_test_integration:
name: build_and_test_integration-2.5
integration_apps: 'rack rails-five'
integration_apps: 'rack rails-five rails-six'
ruby_version: '2.5'
<<: *filters_all_branches_and_tags
- orb/build_and_test_integration:
name: build_and_test_integration-2.6
integration_apps: 'rack rails-five'
integration_apps: 'rack rails-five rails-six'
ruby_version: '2.6'
<<: *filters_all_branches_and_tags
- orb/build_and_test_integration:
name: build_and_test_integration-2.7
integration_apps: 'rack rails-five'
integration_apps: 'rack rails-five rails-six rails-seven'
ruby_version: '2.7'
<<: *filters_all_branches_and_tags
- orb/build_and_test_integration:
name: build_and_test_integration-3.0
# Note: Ruby 3 is not supported by Rails 5, hence we skip it
integration_apps: 'rack'
integration_apps: 'rack rails-six rails-seven'
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was actually missing! (unrelated to 3.2 addition)

docker build --build-arg BASE_IMAGE=datadog/dd-apm-demo:rb-3.1 -t datadog/dd-apm-demo:rb-3.1-rspec .
docker build --build-arg BASE_IMAGE=datadog/dd-apm-demo:rb-3.1 -t datadog/dd-apm-demo:rb-3.1-ruby .
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was actually incorrect for 3.1

ddtrace.gemspec Outdated Show resolved Hide resolved
@ivoanjo ivoanjo merged commit e9dd04b into master Apr 25, 2022
@ivoanjo ivoanjo deleted the ivoanjo/bootstrap-ruby-3-2 branch April 25, 2022 10:22
@github-actions github-actions bot added this to the 1.0.0.beta3 milestone Apr 25, 2022
@marcotc marcotc added the dev/testing Involves testing processes (e.g. RSpec) label Apr 26, 2022
@ivoanjo ivoanjo mentioned this pull request Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants