Skip to content

Add the MQ metrics shaded jar to the release artifacts#2682

Merged
breedx-splk merged 1 commit intoopen-telemetry:mainfrom
atoulme:add_mq_to_release_artifacts
Mar 13, 2026
Merged

Add the MQ metrics shaded jar to the release artifacts#2682
breedx-splk merged 1 commit intoopen-telemetry:mainfrom
atoulme:add_mq_to_release_artifacts

Conversation

@atoulme
Copy link
Contributor

@atoulme atoulme commented Mar 11, 2026

Description:

Add a jar to the release items.

@atoulme atoulme requested a review from a team as a code owner March 11, 2026 15:07
Copilot AI review requested due to automatic review settings March 11, 2026 15:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the GitHub release workflow to include the IBM MQ metrics shaded JAR as part of the release artifacts, aligning it with the existing JMX metrics/scraper release attachments.

Changes:

  • Download the opentelemetry-ibm-mq-metrics shaded (-all) jar and its .asc signature from Maven Central when running in already-published mode.
  • Copy the IBM MQ shaded jar/signature into simplified top-level filenames for release attachment.
  • Include the IBM MQ shaded jar in provenance attestation and the gh release create asset list.

Comment on lines +121 to +124
curl -L -o ibm-mq-metrics/build/libs/opentelemetry-ibm-mq-metrics-$VERSION-alpha-all.jar \
"https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-ibm-mq-metrics/$VERSION-alpha/opentelemetry-ibm-mq-metrics-$VERSION-alpha-all.jar"
curl -L -o ibm-mq-metrics/build/libs/opentelemetry-ibm-mq-metrics-$VERSION-alpha-all.jar.asc \
"https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-ibm-mq-metrics/$VERSION-alpha/opentelemetry-ibm-mq-metrics-$VERSION-alpha-all.jar.asc"
Copy link

Copilot AI Mar 11, 2026

Choose a reason for hiding this comment

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

The new curl downloads for the IBM MQ shaded JAR don’t use --fail (or equivalent). If Maven Central returns a 404/5xx HTML response, curl can still exit successfully and you’ll end up attaching an invalid file to the GitHub release. Consider adding --fail --show-error (and optionally retries) to these downloads (and ideally keep the behavior consistent with the other artifact downloads in this step).

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

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

Looks good to me. 👍🏻

@breedx-splk breedx-splk added this pull request to the merge queue Mar 13, 2026
Merged via the queue into open-telemetry:main with commit 370bd65 Mar 13, 2026
37 of 40 checks passed
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.

3 participants