Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #140 Fixes #146 - update default XNAT version to 1.9.1 - update plugin versions - update docker role to add option to run without TLS - don't use TLS for docker in XNAT Container Service (due to bug in current version of the Container Service) - fix protocol used to connect to Container Service host (now needs be tcp rather than http / https) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [xnatdev/container-service](https://bitbucket.org/xnatdev/container-service) | minor | `3.4.3` -> `3.5.0` | --- > [!WARNING] > Some dependencies could not be looked up. Check the warning logs for more information. --- ### Release Notes <details> <summary>xnatdev/container-service (xnatdev/container-service)</summary> ### [`v3.5.0`](https://bitbucket.org/xnatdev/container-service/blob/HEAD/CHANGELOG.md#350) [Compare Source](https://bitbucket.org/xnatdev/container-service/branches/compare/3.5.0%0D3.4.3) [Released](https://bitbucket.org/xnatdev/container-service/src/3.5.0/). - **Improvement** [CS-946][] Prevent setting mutually distinct k8s PVC mounting options - **Bugfix** [CS-966][] Ensure tracking of container IDs in workflow tables in a Kubernetes environment - **Bugfix** [CS-968][] Switch the docker API library we use from [docker-client][] to [docker-java][]. This should restore CS functionality on docker engine v25 and higher. ##### A Note About Our Docker Library Originally we used the [spotify/docker-client][] library to wrap the docker remote API in java method calls. They stopped updating that and put out their final release [v6.1.1][] in 2016. We switched the Container Service to use a fork of that client, [dmandalidis/docker-client][] in CS version 3.0.0. Given that this was a fork of the client we already used, it was a simple drop-in replacement with no changes needed. But that library maintainer did continue to make changes. In 2023 they released a major version upgrade, [v7.0.0][], which dropped support for Java 8. That is the version of Java we use in XNAT (at time of writing) so this change meant we weren't able to update our version of this library. That was fine for a while...\ ...Until version 25 of the docker engine, in which they made an API change which caused an error in the version we used of `docker-client`. The library (presumably) fixed their issue but we weren't able to use that fix because our version of the library was frozen by their decision to drop Java 8 support. This forced us to switch our library from `docker-client` to [docker-java][]. This was not a drop-in replacement, and did require a migration. All the same docker API endpoints were supported in a 1:1 replacement—which took a little effort but was straightforward—except for one. The `docker-java` library did not support requesting `GenericResources` on a swarm service, which is the mechanism by which we allow commands to specify that they need a GPU. We opened a ticket reporting that lack of support ([https://github.com/docker-java/docker-java/issues/2320](https://redirect.github.com/docker-java/docker-java/issues/2320)), but at time of writing there has been no response. I created a fork (https://github.com/johnflavin/docker-java) and fixed the issue myself ([https://github.com/docker-java/docker-java/pull/2327](https://redirect.github.com/docker-java/docker-java/pull/2327)), but at time of writing that also has no response. I built a custom version of `docker-java` `3.4.0.1` and pushed that to the XNAT artifactory ([ext-release-local/com/github/docker-java][]). Long story short, as of CS version `3.5.0` we depend on `docker-java` version `3.4.0.1` for our docker (and swarm) API support. [CS-946]: https://radiologics.atlassian.net/browse/CS-946 [CS-966]: https://radiologics.atlassian.net/browse/CS-966 [CS-968]: https://radiologics.atlassian.net/browse/CS-968 [docker-client]: https://redirect.github.com/spotify/docker-client [spotify/docker-client]: https://redirect.github.com/spotify/docker-client [v6.1.1]: https://redirect.github.com/spotify/docker-client/releases/tag/v6.1.1 [dmandalidis/docker-client]: https://redirect.github.com/dmandalidis/docker-client [v7.0.0]: https://redirect.github.com/dmandalidis/docker-client/tree/v7.0.0 [docker-java]: https://redirect.github.com/docker-java/docker-java [ext-release-local/com/github/docker-java]: https://nrgxnat.jfrog.io/ui/repos/tree/General/ext-release-local/com/github/docker-java </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - "every weekday" (UTC). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/UCL-MIRSG/ansible-collection-infra). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguODAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsicmVub3ZhdGUiXX0=--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Patrick J. Roddy <[email protected]> Co-authored-by: Daniel Matthews <[email protected]> Co-authored-by: Haroon Chughtai <[email protected]> Co-authored-by: ruaridhg <[email protected]> Co-authored-by: ruaridhg <[email protected]> Co-authored-by: Paul Smith <[email protected]>
- Loading branch information