You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/05/29 14:11:51 UTC
[PR] CAMEL-23648: Update container version workflow to regenerate metadata.json [camel]
davsclaus opened a new pull request, #23646:
URL: https://github.com/apache/camel/pull/23646
## Summary
- Add `update-metadata-version.py` script to update `serviceVersion` in metadata.json files when container image versions are bumped
- Update `check-container-versions.yml` workflow to call this script and include the regenerated metadata.json files in each commit
After CAMEL-23643 added `serviceVersion` to metadata.json (extracted from container image tags), the container version upgrade workflow needs to also update these generated files when bumping container.properties — otherwise CI detects stale generated files and fails the automated PRs.
The Python script matches entries by `artifactId` and `old serviceVersion` to update only the affected entries, and produces output matching Jackson's `DefaultPrettyPrinter` format so the result is identical to what the Maven build generates.
## Test plan
- [x] Round-trip formatting test: update + revert produces identical output to original
- [x] Multi-entry module test: AWS (16 entries) all updated, Kafka entries unaffected
- [x] Both metadata.json files (test-infra-all and catalog) tested
_Claude Code on behalf of Claus Ibsen_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23648: Update container version workflow to regenerate metadata.json [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23646:
URL: https://github.com/apache/camel/pull/23646
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] CAMEL-23648: Update container version workflow to regenerate metadata.json [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23646:
URL: https://github.com/apache/camel/pull/23646#issuecomment-4576129687
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org