Skip to content

Commit

Permalink
Update integrations images build script.
Browse files Browse the repository at this point in the history
Remove pre-2.5 image builds commands since the minimum Ruby
version we now support is 2.5.

Add 3.4 as a supported Ruby version to the help text
(it is already handled by the script).
  • Loading branch information
p authored and p-datadog committed Dec 25, 2024
1 parent 44f36d3 commit 18140fc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions integration/script/build-images
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ while getopts ":hv:" opt; do
echo "Usage: ./script/build-images [-v RUBY_VERSION]"
echo
echo "If no Ruby version is specified, images are built for each of the"
echo "supported versions (currently 2.1 through 3.3)."
echo "supported versions (currently 2.5 through 3.4)."
exit 0
;;
v)
Expand All @@ -39,10 +39,6 @@ docker build -t datadog/dd-apm-demo:agent -f $INTEGRATION_DIR/images/agent/Docke
if test -n "$APP_RUBY_VERSION"; then
docker build -t datadog/dd-apm-demo:rb-$APP_RUBY_VERSION -f $INTEGRATION_DIR/images/ruby/$APP_RUBY_VERSION/Dockerfile $INTEGRATION_DIR/images
else
docker build -t datadog/dd-apm-demo:rb-2.1 -f $INTEGRATION_DIR/images/ruby/2.1/Dockerfile $INTEGRATION_DIR/images
docker build -t datadog/dd-apm-demo:rb-2.2 -f $INTEGRATION_DIR/images/ruby/2.2/Dockerfile $INTEGRATION_DIR/images
docker build -t datadog/dd-apm-demo:rb-2.3 -f $INTEGRATION_DIR/images/ruby/2.3/Dockerfile $INTEGRATION_DIR/images
docker build -t datadog/dd-apm-demo:rb-2.4 -f $INTEGRATION_DIR/images/ruby/2.4/Dockerfile $INTEGRATION_DIR/images
docker build -t datadog/dd-apm-demo:rb-2.5 -f $INTEGRATION_DIR/images/ruby/2.5/Dockerfile $INTEGRATION_DIR/images
docker build -t datadog/dd-apm-demo:rb-2.6 -f $INTEGRATION_DIR/images/ruby/2.6/Dockerfile $INTEGRATION_DIR/images
docker build -t datadog/dd-apm-demo:rb-2.7 -f $INTEGRATION_DIR/images/ruby/2.7/Dockerfile $INTEGRATION_DIR/images
Expand Down

0 comments on commit 18140fc

Please sign in to comment.