Skip to content

build layer using dd-trace branch#146

Merged
ojproductions merged 8 commits into
mainfrom
onzia/build-layer-from-tracer-branch
May 14, 2026
Merged

build layer using dd-trace branch#146
ojproductions merged 8 commits into
mainfrom
onzia/build-layer-from-tracer-branch

Conversation

@ojproductions
Copy link
Copy Markdown
Contributor

@ojproductions ojproductions commented May 5, 2026

What does this PR do?

enables building layers using a specific dd-trace-rb ref rather than always using the recent release

Motivation

Testing Guidelines

Additional Notes

Types of changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog

@ojproductions
Copy link
Copy Markdown
Contributor Author

@codex review

@ojproductions ojproductions marked this pull request as ready for review May 6, 2026 20:29
@ojproductions ojproductions requested review from a team as code owners May 6, 2026 20:29
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Dockerfile
cd /tmp/dd-trace-rb; \
git checkout "$git_ref"; \
gem build datadog.gemspec; \
gem install ./datadog-*.gem --install-dir "/opt/ruby/gems/$runtime"; \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there not a way to install using the remote git ref? So you don't have to clone the repo? Cloning a repo in gitlab requires a whole set of permissions that would need to be updated to our gitlab projects.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I was able to clone it in this gitlab job

@ojproductions ojproductions merged commit a1e7cf3 into main May 14, 2026
81 of 84 checks passed
@ojproductions ojproductions deleted the onzia/build-layer-from-tracer-branch branch May 14, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants