More frontend dependency fixes for the CICD build.
Some checks failed
Tests / Build and Push CICD Base Image (push) Successful in 3m16s
Tests / Build and Push CICD Complete Image (push) Failing after 6m13s
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / Prettier Format Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Some checks failed
Tests / Build and Push CICD Base Image (push) Successful in 3m16s
Tests / Build and Push CICD Complete Image (push) Failing after 6m13s
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / No Docstring Types Check (push) Has been skipped
Tests / ESLint Check (push) Has been skipped
Tests / Prettier Format Check (push) Has been skipped
Tests / TypeScript Type Check (push) Has been skipped
Tests / TSDoc Lint Check (push) Has been skipped
Tests / Backend Tests (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (push) Has been skipped
Tests / Integration Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -235,24 +235,24 @@ RUN cd /workspace/backend && \
|
||||
|
||||
RUN cd /workspace/frontend && \
|
||||
echo "=== Frontend Tools Verification ===" && \
|
||||
echo "Current directory contents:" && \
|
||||
ls -la . && \
|
||||
if [ -f ".frontend-deps-failed" ]; then \
|
||||
echo "WARNING: Skipping frontend tool verification due to failed dependencies installation"; \
|
||||
echo "Frontend CI/CD jobs may be limited in this environment"; \
|
||||
elif [ -d "node_modules" ]; then \
|
||||
echo "✓ node_modules found, verifying tools..." && \
|
||||
elif [ -d "node_modules" ] || [ -f ".pnp.cjs" ]; then \
|
||||
if [ -f ".pnp.cjs" ]; then \
|
||||
echo "✓ Yarn PnP dependencies found (.pnp.cjs), verifying tools..."; \
|
||||
else \
|
||||
echo "✓ Traditional node_modules found, verifying tools..."; \
|
||||
fi && \
|
||||
yarn eslint --version && \
|
||||
yarn prettier --version && \
|
||||
yarn tsc --version && \
|
||||
yarn vitest --version && \
|
||||
echo "✓ All frontend tools verified successfully"; \
|
||||
else \
|
||||
echo "ERROR: node_modules not found - frontend dependencies not installed"; \
|
||||
echo "Available directories in frontend:"; \
|
||||
echo "ERROR: No frontend dependencies found (neither node_modules nor .pnp.cjs)"; \
|
||||
echo "Available files in frontend:"; \
|
||||
ls -la .; \
|
||||
echo "Checking if dependencies exist elsewhere:"; \
|
||||
find /workspace -name "node_modules" -type d 2>/dev/null || echo "No node_modules found anywhere"; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user