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

Implement latest_major and lastest_minor tag for docker init container #3643

Merged
merged 4 commits into from
May 23, 2024

Conversation

TonyCTHsu
Copy link
Contributor

What

Currently, images for docker init container are tagged with the semantic version (ie: v2.1.1) and latest.

This PR would add 2 more tags

  1. latest major, ie: v2
  2. latest minor, ie: v2.1

@TonyCTHsu TonyCTHsu force-pushed the tonycthsu/docker-init-tags branch 2 times, most recently from 63417b9 to be92864 Compare May 14, 2024 10:16
@TonyCTHsu TonyCTHsu marked this pull request as ready for review May 14, 2024 10:50
@TonyCTHsu TonyCTHsu requested a review from a team as a code owner May 14, 2024 10:50
@TonyCTHsu TonyCTHsu added this to the 2.0.0 milestone May 14, 2024
@codecov-commenter
Copy link

codecov-commenter commented May 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.10%. Comparing base (3bd8b05) to head (3ba4401).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3643      +/-   ##
==========================================
- Coverage   98.10%   98.10%   -0.01%     
==========================================
  Files        1225     1232       +7     
  Lines       72464    72552      +88     
  Branches     3439     3443       +4     
==========================================
+ Hits        71094    71179      +85     
- Misses       1370     1373       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@p-datadog
Copy link
Contributor

Out of curiosity, who/what is the consumer of these images?

Comment on lines +16 to +17
max_retries = 60
interval = 60
Copy link
Member

Choose a reason for hiding this comment

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

Do we need wait a whole minute before retrying?
I ask in case .gitlab/check_gem_presence.rb is ever something a human is actively waiting on. If so, I suggest reducing the interval to something like 10 seconds (and increasing max_retries to match).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We can change this frequency in the future.

@TonyCTHsu TonyCTHsu merged commit 14da809 into master May 23, 2024
166 checks passed
@TonyCTHsu TonyCTHsu deleted the tonycthsu/docker-init-tags branch May 23, 2024 14:47
p-datadog pushed a commit to p-datadog/dd-trace-rb that referenced this pull request Jun 4, 2024
* master: (22 commits)
  Remove experimental warning from OpenTelemetry.md
  Remove latest tag on docker images
  add installer system tests
  Extract trace id format helper method (DataDog#3670)
  Remaps http status code tag for otel span for trace metrics (DataDog#3664)
  Update .github/labeler.yml
  Use 3.20
  rb -> ruby
  Add a note about `use` vs `instrument`
  GitHub: Update labeller bot with new products
  Update lockfiles for release 2.0.0.rc1
  Bump version 2.0.0.beta2 to 2.0.0.rc1
  Add 2.0.0.rc1 to CHANGELOG.md
  chore(lib-injection): update base image to alpine 3.18.6
  Apply suggestions from code review
  Revert "DEBUG-2334 Add Debugger component (DataDog#3640)"
  Implement `latest_major` and `lastest_minor` tag for docker init container (DataDog#3643)
  Build oci package
  Update `rexml`  (DataDog#3656)
  Remove bundler cache in for `setup-ruby` step and pin bundler and rubygem version
  ...
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.

5 participants