yoda-mon opened a new pull request, #903:
URL: https://github.com/apache/bigtop/pull/903
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/BIGTOP/How+to+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'BIGTOP-3638: Your PR title ...'.
-->
### Description of PR
Currently docker-provisioner could not used in docker-compose v2.
This PR
- Add `services` level to docker-compose.yml.
Bigtop is still using deprecated format v1.
https://docs.docker.com/compose/compose-file/compose-versioning/#version-1-deprecated
(It is complicated, about yaml format, there are v1, v2, and v3, and v1 is
now deprecated.)
By adding `services` level, we can use the provisioner both in v1 and v2.
- Fix provision_id's name.
docker-compose v2 seems case sensitive when using -p option.
### How was this patch tested?
Check that `./gradlew docker-provisioner` get succeeded in docker-compose
`v1.29.2` and `v2.4.0`.
### For code changes:
- [ ] Does the title or this PR starts with the corresponding JIRA issue id
(e.g. 'BIGTOP-3638. Your PR title ...')?
- [ ] Make sure that newly added files do not have any licensing issues.
When in doubt refer to https://www.apache.org/licenses/
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]