Update ADC install script to export PATH and improve logging
All checks were successful
Helm Chart Build / lint-only (push) Has been skipped
Helm Chart Build / build-helm (push) Successful in 46s
Build and Deploy / build-api (push) Successful in 1m45s
Build and Deploy / build-web (push) Successful in 2m5s

This commit is contained in:
d.viti
2025-10-08 15:59:20 +02:00
parent 2255a469a4
commit 34ed68cb04

View File

@@ -76,12 +76,14 @@ spec:
mv /tmp/adc /usr/local/bin/adc
rm -f /tmp/adc.tar.gz
# Verify ADC installation
# Verify ADC installation and update PATH
export PATH="/usr/local/bin:$PATH"
if ! command -v adc &> /dev/null; then
echo "ERROR: ADC installation failed"
ls -la /usr/local/bin/
exit 1
fi
echo "ADC installed successfully: $(adc version 2>/dev/null || echo ${ADC_VERSION})"
echo "ADC installed successfully: $(adc version 2>/dev/null || echo 'installed')"
# Wait for API7 Gateway to be ready
echo "Waiting for API7 Gateway to be available..."