Adding some stuff for the new structure to work with my system.
Some checks failed
Tests / Build and Push CICD Base Image (push) Failing after 37m18s
Tests / Build and Push CICD Complete Image (push) Has been cancelled
Tests / Trailing Whitespace Check (push) Has been cancelled
Tests / End of File Check (push) Has been cancelled
Tests / YAML Syntax Check (push) Has been cancelled
Tests / TOML Syntax Check (push) Has been cancelled
Tests / Mixed Line Ending Check (push) Has been cancelled
Tests / TOML Formatting Check (push) Has been cancelled
Tests / Ruff Linting (push) Has been cancelled
Tests / Ruff Format Check (push) Has been cancelled
Tests / Pyright Type Check (push) Has been cancelled
Tests / Darglint Docstring Check (push) Has been cancelled
Tests / No Docstring Types Check (push) Has been cancelled
Tests / ESLint Check (push) Has been cancelled
Tests / Prettier Format Check (push) Has been cancelled
Tests / TypeScript Type Check (push) Has been cancelled
Tests / TSDoc Lint Check (push) Has been cancelled
Tests / Backend Tests (push) Has been cancelled
Tests / Frontend Tests (push) Has been cancelled
Tests / Backend Doctests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / End-to-End Tests (push) Has been cancelled
Renovate Dependency Updates / Renovate Dependencies (push) Failing after 16m22s
Some checks failed
Tests / Build and Push CICD Base Image (push) Failing after 37m18s
Tests / Build and Push CICD Complete Image (push) Has been cancelled
Tests / Trailing Whitespace Check (push) Has been cancelled
Tests / End of File Check (push) Has been cancelled
Tests / YAML Syntax Check (push) Has been cancelled
Tests / TOML Syntax Check (push) Has been cancelled
Tests / Mixed Line Ending Check (push) Has been cancelled
Tests / TOML Formatting Check (push) Has been cancelled
Tests / Ruff Linting (push) Has been cancelled
Tests / Ruff Format Check (push) Has been cancelled
Tests / Pyright Type Check (push) Has been cancelled
Tests / Darglint Docstring Check (push) Has been cancelled
Tests / No Docstring Types Check (push) Has been cancelled
Tests / ESLint Check (push) Has been cancelled
Tests / Prettier Format Check (push) Has been cancelled
Tests / TypeScript Type Check (push) Has been cancelled
Tests / TSDoc Lint Check (push) Has been cancelled
Tests / Backend Tests (push) Has been cancelled
Tests / Frontend Tests (push) Has been cancelled
Tests / Backend Doctests (push) Has been cancelled
Tests / Integration Tests (push) Has been cancelled
Tests / End-to-End Tests (push) Has been cancelled
Renovate Dependency Updates / Renovate Dependencies (push) Failing after 16m22s
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -165,37 +165,61 @@ jobs:
|
||||
run: |
|
||||
echo "=== Installing Renovate ==="
|
||||
|
||||
# Set npm configuration for better reliability
|
||||
# Set npm configuration for memory efficiency
|
||||
npm config set fund false
|
||||
npm config set audit false
|
||||
npm config set progress false
|
||||
npm config set maxsockets 3
|
||||
npm config set fetch-retry-mintimeout 2000
|
||||
npm config set fetch-retry-maxtimeout 10000
|
||||
|
||||
# Use the version determined in previous step
|
||||
echo "Installing Renovate version: $RENOVATE_VERSION"
|
||||
|
||||
# Install with retry logic and better error handling
|
||||
# Check available memory
|
||||
echo "Memory info:"
|
||||
free -h || echo "free command not available"
|
||||
|
||||
# Install with retry logic and memory-efficient options
|
||||
for i in 1 2 3; do
|
||||
echo "Renovate installation attempt $i/3..."
|
||||
|
||||
# Clear npm cache to avoid issues
|
||||
# Clear npm cache and temp files
|
||||
npm cache clean --force || true
|
||||
rm -rf /tmp/npm-* || true
|
||||
|
||||
# Install Renovate with timeout and error handling
|
||||
if timeout 300 npm install -g "renovate@$RENOVATE_VERSION" --no-audit --no-fund; then
|
||||
# Use memory-efficient installation with longer timeout
|
||||
if NODE_OPTIONS="--max-old-space-size=2048" timeout 600 npm install -g "renovate@$RENOVATE_VERSION" \
|
||||
--no-audit \
|
||||
--no-fund \
|
||||
--no-optional \
|
||||
--production \
|
||||
--maxsockets=3 \
|
||||
--fetch-timeout=30000; then
|
||||
echo "✓ Renovate installation successful on attempt $i"
|
||||
break
|
||||
else
|
||||
echo "⚠️ Renovate installation attempt $i failed"
|
||||
exit_code=$?
|
||||
echo "⚠️ Renovate installation attempt $i failed (exit code: $exit_code)"
|
||||
|
||||
# Check if it was killed due to memory
|
||||
if [ $exit_code -eq 137 ] || [ $exit_code -eq 143 ]; then
|
||||
echo " Process was killed (likely out of memory)"
|
||||
fi
|
||||
|
||||
if [ $i -eq 3 ]; then
|
||||
echo "❌ All Renovate installation attempts failed"
|
||||
echo "Checking npm and Node.js status for debugging..."
|
||||
echo "Debugging information:"
|
||||
echo "Node.js version: $(node --version)"
|
||||
echo "npm version: $(npm --version)"
|
||||
echo "npm config: $(npm config list || echo 'npm config failed')"
|
||||
echo "Memory status:"
|
||||
free -h || echo "Memory info unavailable"
|
||||
echo "npm config:"
|
||||
npm config list || echo "npm config failed"
|
||||
exit 1
|
||||
fi
|
||||
echo "Waiting 15 seconds before retry..."
|
||||
sleep 15
|
||||
echo "Waiting 30 seconds before retry..."
|
||||
sleep 30
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user