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