diff --git a/CHANGELOG.md b/CHANGELOG.md index 66a125fd..720da256 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ Changelog", this file is a reverse-chronological list of merged pull requests. ## Open PR's +- [PR-152](https://github.com/itk-dev/devops_itkdev-docker/pull/152) - 2026-09-15 - + Fixed `idc url` returning a malformed URL when a project has more than + one Traefik router, which left `idc open` on a blank tab - [PR-145](https://github.com/itk-dev/devops_itkdev-docker/pull/145) - 2026-07-08 - Updated GitHub Actions to latest versions (`actions/checkout` to `v7`, `go-task/setup-task` to `v2`) in workflow templates and repository CI diff --git a/scripts/itkdev-docker-compose b/scripts/itkdev-docker-compose index 67a5f0d1..87e55473 100755 --- a/scripts/itkdev-docker-compose +++ b/scripts/itkdev-docker-compose @@ -597,7 +597,7 @@ case "$cmd" in # Get traefik host from label # https://stedolan.github.io/jq/manual/#test(val),test(regex;flags) # https://stedolan.github.io/jq/manual/#capture(val),capture(regex;flags) - traefik_host=$(docker inspect --format '{{ json .Config.Labels }}' $(docker_compose ps -q $service) | jq --raw-output '. | [to_entries[] | select(.key | test("^traefik\\.http\\.routers\\..+\\.rule$")) | select(.value | test("^Host\\(`(?.+)`\\)$"))] | first | .value//"" | capture("^Host\\(`(?.+)`\\)$") | .host//""') + traefik_host=$(docker inspect --format '{{ json .Config.Labels }}' $(docker_compose ps -q $service) | jq --raw-output '. | [to_entries[] | select(.key | test("^traefik\\.http\\.routers\\..+\\.rule$")) | select(.value | test("^Host\\(`[^`]+`\\)$"))] | first | .value//"" | capture("^Host\\(`(?[^`]+)`\\)$") | .host//""') fi if ! [ -z "$traefik_host" ]; then