Skip to content

Commit 1360e7e

Browse files
committed
Cleanup
1 parent 6dff07b commit 1360e7e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

terraform/files/scripts/argocd_config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ curl -sSL -o "$ARGOCD_PATH" "https://github.com/argoproj/argo-cd/releases/downlo
1818
chmod +x "$ARGOCD_PATH"
1919

2020
# Wait for URL to be responsive
21-
ARGOCD_HEALTH_CHECK_URL="https://$ARGOCD_FQDN/healthz"
21+
echo "Checking ArgoCD is ready on [$ARGOCD_HEALTH_CHECK_URL]..."
2222
while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' $ARGOCD_HEALTH_CHECK_URL)" != "200" ]]; do
23-
echo "Checking ArgoCD is ready on [$ARGOCD_HEALTH_CHECK_URL]..."
23+
echo "Still waiting for ArgoCD to be ready on [$ARGOCD_HEALTH_CHECK_URL]..."
2424
sleep 10
2525
done
2626

terraform/helm_argocd.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ resource "null_resource" "argocd_configure" {
9393

9494
command = <<-EOT
9595
chmod -R +x ./files/scripts
96-
ls -lah ./files/scripts
9796
timeout 5m ./files/scripts/argocd_config.sh
9897
EOT
9998
}

0 commit comments

Comments
 (0)