From ee564f5fe4fa9b3da134018d641b82d3e7ad18d5 Mon Sep 17 00:00:00 2001 From: Kosuke Morimoto Date: Mon, 23 Dec 2024 16:13:07 +0900 Subject: [PATCH] fix --- .../e2e-deploy-vald-readreplica/action.yaml | 3 ++- .github/helm/values/values-readreplica.yaml | 19 ------------------- .github/workflows/e2e.yaml | 4 ---- 3 files changed, 2 insertions(+), 24 deletions(-) diff --git a/.github/actions/e2e-deploy-vald-readreplica/action.yaml b/.github/actions/e2e-deploy-vald-readreplica/action.yaml index 4e13d7aa11..eb8f4b1c79 100644 --- a/.github/actions/e2e-deploy-vald-readreplica/action.yaml +++ b/.github/actions/e2e-deploy-vald-readreplica/action.yaml @@ -85,7 +85,8 @@ runs: run: | make k8s/vald-readreplica/deploy HELM_VALUES=${VALUES} HELM_EXTRA_OPTIONS="${HELM_EXTRA_OPTIONS}" - stern vald-lb-gateway | tee gateway.log & + stern vald-lb-gateway & + stern vald-agent-readreplica & sleep 3 kubectl get pods diff --git a/.github/helm/values/values-readreplica.yaml b/.github/helm/values/values-readreplica.yaml index 1c55587146..7f30e8ebc9 100644 --- a/.github/helm/values/values-readreplica.yaml +++ b/.github/helm/values/values-readreplica.yaml @@ -31,25 +31,6 @@ gateway: memory: 50Mi gateway_config: index_replica: 3 - initContainers: - - type: wait-for - name: wait-for-discoverer - target: discoverer - image: busybox:stable - imagePullPolicy: Always - sleepDuration: 2 - - type: wait-for - name: wait-for-agent - target: agent - image: busybox:stable - imagePullPolicy: Always - sleepDuration: 2 - - type: wait-for - name: wait-for-agent-readreplica - target: agent-readreplica - image: busybox:stable - imagePullPolicy: Always - sleepDuration: 2 agent: minReplicas: 3 maxReplicas: 10 diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 68f65caaed..9edada1419 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -341,10 +341,6 @@ jobs: e2e/readreplica env: POD_NAME: ${{ steps.deploy_vald.outputs.POD_NAME }} - - name: output logs on failure - if: failure() - run: | - cat ./gateway.log e2e-stream-crud-with-mirror: name: "E2E test (Stream CRUD) with mirror" needs: [detect-ci-container]