Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
Re-enable validation with Docker image pull retry logic
rcourtman7b084c9edd91
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 7fa5367513..112fa777b8 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -436,20 +436,13 @@ jobs:echo "Review the draft release and publish when ready."echo ""- # Validation disabled - was causing race conditions with Docker image propagation- # The release workflow already has comprehensive checks:- # - Version guard- # - Preflight tests (backend + frontend + linting)- # - Docker image builds- # - Release asset creation with checksums- # Manual validation can be done after draft release creation if needed- # validate-release-assets:- # needs: create-release- # uses: ./.github/workflows/validate-release-assets.yml- # secrets: inherit- # with:- # tag: ${{ needs.create-release.outputs.tag }}- # version: ${{ inputs.version }}- # release_id: ${{ needs.create-release.outputs.release_id }}- # draft: true- # target_commitish: ${{ needs.create-release.outputs.target_commitish }}+ validate-release-assets:+ needs: create-release+ uses: ./.github/workflows/validate-release-assets.yml+ secrets: inherit+ with:+ tag: ${{ needs.create-release.outputs.tag }}+ version: ${{ inputs.version }}+ release_id: ${{ needs.create-release.outputs.release_id }}+ draft: true+ target_commitish: ${{ needs.create-release.outputs.target_commitish }}diff --git a/.github/workflows/validate-release-assets.yml b/.github/workflows/validate-release-assets.ymlindex 2b6b8618da..c4a8f4211c 100644--- a/.github/workflows/validate-release-assets.yml+++ b/.github/workflows/validate-release-assets.yml@@ -157,23 +157,47 @@ jobs:if: steps.context.outputs.should_run == 'true'run: docker --version- - name: Pull Docker image (if available)+ - name: Pull Docker image (with retry logic)if: steps.context.outputs.should_run == 'true'id: dockercontinue-on-error: truerun: |IMAGE="rcourtman/pulse:${{ steps.context.outputs.tag }}"echo "Attempting to pull Docker image: $IMAGE"+ echo "Docker Hub CDN propagation can take 2-5 minutes after push..."+ echo ""- if docker pull "$IMAGE" 2>/dev/null; then- echo "✓ Docker image available: $IMAGE"- echo "image_available=true" >> $GITHUB_OUTPUT- echo "image=$IMAGE" >> $GITHUB_OUTPUT- else- echo "⚠️ Docker image not yet available: $IMAGE"- echo "⚠️ Will skip Docker image validation"- echo "image_available=false" >> $GITHUB_OUTPUT- fi+ # Retry logic: 10 attempts with exponential backoff+ # Total time: ~10 minutes max+ MAX_ATTEMPTS=10+ ATTEMPT=1+ WAIT_TIME=30++ while [ $ATTEMPT -le $MAX_ATTEMPTS ]; do+ echo "Attempt $ATTEMPT/$MAX_ATTEMPTS: Pulling image..."++ if docker pull "$IMAGE" 2>/dev/null; then+ echo "✓ Docker image available: $IMAGE"+ echo "image_available=true" >> $GITHUB_OUTPUT+ echo "image=$IMAGE" >> $GITHUB_OUTPUT+ exit 0+ fi++ if [ $ATTEMPT -lt $MAX_ATTEMPTS ]; then+ echo "⚠️ Image not yet available, waiting ${WAIT_TIME}s before retry..."+ sleep $WAIT_TIME+ WAIT_TIME=$((WAIT_TIME * 2)) # Exponential backoff+ if [ $WAIT_TIME -gt 120 ]; then+ WAIT_TIME=120 # Cap at 2 minutes+ fi+ fi++ ATTEMPT=$((ATTEMPT + 1))+ done++ echo "⚠️ Docker image not available after $MAX_ATTEMPTS attempts"+ echo "⚠️ Will skip Docker image validation"+ echo "image_available=false" >> $GITHUB_OUTPUT- name: Run validation scriptif: steps.context.outputs.should_run == 'true'