Fixing the build.
Some checks failed
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (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 / Integration Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / Build and Push CICD Base Image (push) Successful in 1m17s
Tests / Build and Push CICD Complete Image (push) Failing after 6m37s
Some checks failed
Tests / Trailing Whitespace Check (push) Has been skipped
Tests / YAML Syntax Check (push) Has been skipped
Tests / End of File Check (push) Has been skipped
Tests / TOML Syntax Check (push) Has been skipped
Tests / TOML Formatting Check (push) Has been skipped
Tests / Pyright Type Check (push) Has been skipped
Tests / Mixed Line Ending Check (push) Has been skipped
Tests / Ruff Linting (push) Has been skipped
Tests / Ruff Format Check (push) Has been skipped
Tests / Darglint Docstring Check (push) Has been skipped
Tests / Frontend Tests (push) Has been skipped
Tests / Backend Doctests (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 / Integration Tests (push) Has been skipped
Tests / End-to-End Tests (push) Has been skipped
Tests / Build and Push CICD Base Image (push) Successful in 1m17s
Tests / Build and Push CICD Complete Image (push) Failing after 6m37s
Signed-off-by: Cliff Hill <xlorep@darkhelm.org>
This commit is contained in:
@@ -147,9 +147,19 @@ RUN --mount=type=secret,id=ssh_private_key \
|
||||
if [ -n "$GITHUB_SHA" ]; then \
|
||||
cd /tmp/fullrepo && git checkout "$GITHUB_SHA" 2>/dev/null || echo "Using main branch HEAD"; \
|
||||
fi && \
|
||||
# Copy source code over existing dependency files (preserving node_modules, .venv)
|
||||
# Copy source code while preserving installed dependencies
|
||||
echo "Copying source code while preserving installed dependencies..." && \
|
||||
rsync -av --exclude='node_modules' --exclude='.venv' --exclude='.yarn/cache' /tmp/fullrepo/ /workspace/ && \
|
||||
# Backup dependency directories
|
||||
if [ -d "/workspace/backend/.venv" ]; then mv /workspace/backend/.venv /tmp/venv_backup; fi && \
|
||||
if [ -d "/workspace/frontend/node_modules" ]; then mv /workspace/frontend/node_modules /tmp/node_modules_backup; fi && \
|
||||
if [ -d "/workspace/frontend/.yarn" ]; then mv /workspace/frontend/.yarn /tmp/yarn_backup; fi && \
|
||||
# Copy all source files
|
||||
cp -rf /tmp/fullrepo/* /workspace/ && \
|
||||
cp -rf /tmp/fullrepo/.* /workspace/ 2>/dev/null || true && \
|
||||
# Restore dependency directories
|
||||
if [ -d "/tmp/venv_backup" ]; then mv /tmp/venv_backup /workspace/backend/.venv; fi && \
|
||||
if [ -d "/tmp/node_modules_backup" ]; then mv /tmp/node_modules_backup /workspace/frontend/node_modules; fi && \
|
||||
if [ -d "/tmp/yarn_backup" ]; then mv /tmp/yarn_backup /workspace/frontend/.yarn; fi && \
|
||||
echo "✓ Full source code copied, dependencies preserved" && \
|
||||
rm -rf /tmp/fullrepo ~/.ssh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user