From 9d1c431d4990885147bb06a5f62a98c3029b4dbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EC=8A=B9=EC=A3=BC?= <94343108+TrossYou@users.noreply.github.com> Date: Fri, 7 Nov 2025 18:45:19 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"feat(batch):=20DeployAndRunBatchJob.y?= =?UTF-8?q?ml=20=EC=B5=9C=EC=A2=85=EC=88=98=EC=A0=95=20(#224)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 6607edd440e190249e28d53c9227de75d8acc2ce. --- .github/workflows/DeployAndRunBatchJob.yml | 27 ---------------------- 1 file changed, 27 deletions(-) diff --git a/.github/workflows/DeployAndRunBatchJob.yml b/.github/workflows/DeployAndRunBatchJob.yml index f6b7b19..32ffc23 100644 --- a/.github/workflows/DeployAndRunBatchJob.yml +++ b/.github/workflows/DeployAndRunBatchJob.yml @@ -133,33 +133,6 @@ jobs: envsubst < k8s/jobs/batch-job-template.yml > .out/job.yaml echo "--- Rendered manifest ---" cat .out/job.yaml - - - name: Wait for image to appear in registry (poll, short) - run: | - set -euo pipefail - IMAGE="${IMAGE_URI}" - echo "Checking image availability: $IMAGE" - echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin - - MAX_ATTEMPTS=36 # 36 * 5s = 180s (3 minutes) - ATTEMPT=0 - SLEEP=5 - - while [ $ATTEMPT -lt $MAX_ATTEMPTS ]; do - if docker manifest inspect "$IMAGE" >/dev/null 2>&1; then - echo "Image found: $IMAGE" - docker logout ghcr.io || true - exit 0 - fi - ATTEMPT=$((ATTEMPT+1)) - echo "Image not found yet (attempt $ATTEMPT/$MAX_ATTEMPTS). sleeping ${SLEEP}s..." - sleep $SLEEP - done - - docker logout ghcr.io || true - echo "ERROR: image $IMAGE not found after $((MAX_ATTEMPTS * SLEEP))s" - exit 1 - - name: Apply Job run: |