Fixes build results console log screen

This commit is contained in:
2026-07-08 20:32:00 -07:00
parent bd6ad6009a
commit 57198cd671
6 changed files with 28 additions and 17 deletions
+1 -1
View File
@@ -494,7 +494,7 @@ async def _run_flutter_container_build(
f"cd {shlex.quote(project_dir)} && " f"cd {shlex.quote(project_dir)} && "
f"python3 -m venv .venv && " f"python3 -m venv .venv && "
f"source .venv/bin/activate && " f"source .venv/bin/activate && "
f"pip install --upgrade pip" f"pip install -r requirements.txt"
) )
code, out = await _ssh_run(host, venv_cmd) code, out = await _ssh_run(host, venv_cmd)
await _append_log(session, request, f"[android] Venv setup output: {out}") await _append_log(session, request, f"[android] Venv setup output: {out}")
+1
View File
@@ -9,6 +9,7 @@ RUN apt-get update && apt-get install -y \
openjdk-17-jdk-headless \ openjdk-17-jdk-headless \
openssh-server \ openssh-server \
xz-utils \ xz-utils \
libcairo2 \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# SSH server configuration # SSH server configuration
+6 -5
View File
@@ -63,6 +63,12 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
platform: linux/amd64 platform: linux/amd64
restart: unless-stopped restart: unless-stopped
expose:
- "22"
volumes:
- flutter-cache:/home/vscode/.pub-cache
- android-licenses:/opt/android-sdk/licenses
deploy:
resources: resources:
limits: limits:
cpus: '4.0' cpus: '4.0'
@@ -70,11 +76,6 @@ services:
reservations: reservations:
cpus: '2.0' cpus: '2.0'
memory: 8g memory: 8g
expose:
- "22"
volumes:
- flutter-cache:/home/vscode/.pub-cache
- android-licenses:/opt/android-sdk/licenses
volumes: volumes:
pgdata: pgdata:
+6 -5
View File
@@ -63,6 +63,12 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
platform: linux/amd64 platform: linux/amd64
restart: unless-stopped restart: unless-stopped
expose:
- "22"
volumes:
- flutter-cache:/home/vscode/.pub-cache
- android-licenses:/opt/android-sdk/licenses
deploy:
resources: resources:
limits: limits:
cpus: '4.0' cpus: '4.0'
@@ -70,11 +76,6 @@ services:
reservations: reservations:
cpus: '2.0' cpus: '2.0'
memory: 8g memory: 8g
expose:
- "22"
volumes:
- flutter-cache:/home/vscode/.pub-cache
- android-licenses:/opt/android-sdk/licenses
volumes: volumes:
pgdata: pgdata:
+1 -1
View File
@@ -628,7 +628,7 @@
</div> </div>
<h4>Build Log</h4> <h4>Build Log</h4>
<pre class="build-log">{{ build.build_log || 'No logs yet.' }}</pre> <div class="build-log"><pre>{{ build.build_log || 'No logs yet.' }}</pre></div>
</section> </section>
} }
</div> </div>
+9 -1
View File
@@ -427,6 +427,7 @@
border: 1px solid $neutral-light; border: 1px solid $neutral-light;
border-radius: $radius-md; border-radius: $radius-md;
padding: $spacing-md; padding: $spacing-md;
overflow: hidden;
h3, h3,
h4 { h4 {
@@ -535,8 +536,15 @@
border-radius: $radius-sm; border-radius: $radius-sm;
padding: $spacing-sm; padding: $spacing-sm;
max-height: 280px; max-height: 280px;
overflow: auto; overflow-x: auto;
overflow-y: auto;
font-size: 0.8rem; font-size: 0.8rem;
width: 100%;
pre {
margin: 0;
white-space: pre;
}
} }
// ── Theme export status ────────────────────────────────── // ── Theme export status ──────────────────────────────────