From a742f9bb65231ebbea4ee5efca16eb3c157c5170 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 21 Feb 2026 23:50:20 +0000 Subject: [PATCH] Fix frontend verify-deploy: remove stale 60s age filter The age filter rejected pods older than 60s, but by the time the verify step runs after build+publish+deploy, the new pods are often already past that window. The image tag check is sufficient to identify the correct deployment. --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 051b162..9945003 100644 --- a/.drone.yml +++ b/.drone.yml @@ -135,13 +135,12 @@ steps: -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/json" | \ jq --arg img "$EXPECTED_IMAGE" '[.items[] | select( - (now - (.status.startTime | fromdateiso8601)) < 60 and (.status.containerStatuses[]? | .ready == true) and (.spec.containers[]? | .image == $img) ) | {name: .metadata.name, age: (now - (.status.startTime | fromdateiso8601) | floor), image: .spec.containers[0].image, started: .status.startTime}]') COUNT=$(echo "$RESULT" | jq 'length') - echo "Attempt $i/60: $COUNT pod(s) younger than 60s, ready, running $EXPECTED_IMAGE" + echo "Attempt $i/60: $COUNT pod(s) ready, running $EXPECTED_IMAGE" if [ "$COUNT" -gt 0 ]; then echo "$RESULT" | jq -r '.[] | " \(.name) age=\(.age)s image=\(.image) started=\(.started)"'