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 diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 3a69aed2..063f37a5 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 @@ -150,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 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: