From 408bb43782d97404318a2eb3c46c02c2b23f01ae Mon Sep 17 00:00:00 2001 From: Pancy Singla Date: Fri, 13 Nov 2026 13:27:31 +0530 Subject: [PATCH 1/4] chore: use bitnamilegacy postgres image in docker compose Bitnami removed its versioned images from Docker Hub, so bitnami/postgresql:14.5.0 no longer resolves and `make it-test-api` fails at `docker compose up -d postgres`. The same image is still published under bitnamilegacy/. Co-Authored-By: Claude Opus 5.5 --- docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 2a0f700b..7a320eea 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,7 +15,7 @@ services: restart: on-failure postgres: - image: bitnami/postgresql:14.5.0 + image: bitnamilegacy/postgresql:14.5.0 ports: - 5432:5432 environment: From 4a93fb01a2dd0955e459d8093d6c318ef6a6c04b Mon Sep 17 00:00:00 2001 From: Pancy Singla Date: Fri, 13 Nov 2026 13:27:42 +0530 Subject: [PATCH 2/4] ci: use k3d v5.6.0 for the e2e cluster k3d-action installs k3d through k3d's latest install.sh, which now also downloads checksums.txt from the release. k3d v5.2.2 (the action's default) never published that file, so the install failed with a 404. v5.6.0 publishes it. k3d v5.6.0 starts a newer k3s that no longer accepts --no-deploy, so metrics-server is disabled with the equivalent --disable flag. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci-pipeline.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 3a69aed2..1729949c 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -137,11 +137,12 @@ jobs: uses: AbsaOSS/k3d-action@v2.1.0 with: cluster-name: mlp-e2e + k3d-version: v5.6.0 args: >- --agents 1 --port 80:80@agent:* --registry-create ${{ env.LOCAL_REGISTRY }} - --k3s-arg "--no-deploy=metrics-server@server:*" + --k3s-arg "--disable=metrics-server@server:*" - name: Download API image tar uses: actions/download-artifact@v4 From ec94445a8e2a8c2d1203889c5d081630c053ab4b Mon Sep 17 00:00:00 2001 From: Pancy Singla Date: Fri, 13 Nov 2026 13:38:24 +0530 Subject: [PATCH 3/4] ci: push the e2e image to the local registry via 127.0.0.1 The k3d registry at registry.localhost:5000 only serves plain HTTP. Docker on the runner now tries HTTPS for that hostname and fails with "server gave HTTP response to HTTPS client". Docker always allows plain HTTP for loopback IPs, so push through 127.0.0.1:5000 instead. It is the same registry, so the cluster still pulls from registry.localhost:5000. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci-pipeline.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 1729949c..063f37a5 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -151,7 +151,9 @@ jobs: - name: Publish image to the local registry env: - DOCKER_REPOSITORY: ${{ env.LOCAL_REGISTRY }}/${{ github.repository }} + # Push via the loopback IP: Docker always allows plain HTTP for 127.0.0.0/8, but not for + # the registry.localhost hostname. It is the same k3d registry the cluster pulls from. + DOCKER_REPOSITORY: 127.0.0.1:5000/${{ github.repository }} shell: bash run: | docker image load --input mlp-api.${{ needs.build-api.outputs.api-version }}.tar From d9e7db205dd36e98c15a80550814a55eaa7e2c57 Mon Sep 17 00:00:00 2001 From: Pancy Singla Date: Fri, 13 Nov 2026 13:49:12 +0530 Subject: [PATCH 4/4] ci: override the e2e postgres image with bitnamilegacy The MLP chart depends on stable/postgresql 7.0.2, whose default image bitnami/postgresql:11.5.0-debian-9-r84 is no longer on Docker Hub (and was not copied to bitnamilegacy). The postgres pod cannot start, so `helm install --wait` times out. Use bitnamilegacy/postgresql:11.22.0, the latest Postgres 11 image that is still published. Co-Authored-By: Claude Opus 5.5 --- .github/e2e/values.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/e2e/values.yaml b/.github/e2e/values.yaml index a94d8272..23ba773d 100644 --- a/.github/e2e/values.yaml +++ b/.github/e2e/values.yaml @@ -14,6 +14,11 @@ deployment: key: password postgresql: + # The chart's default bitnami/postgresql:11.5.0-debian-9-r84 is no longer on Docker Hub. + image: + registry: docker.io + repository: bitnamilegacy/postgresql + tag: 11.22.0 resources: requests: cpu: 25m