mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 20:01:09 +02:00
🐛 fix(matrix-bots): disable arm64 builds for all matrix bots
All matrix bots use matrix-bot-sdk which has native dependencies (cpu-features, ssh2) that cause QEMU emulation failures during CI arm64 builds. Build amd64 only - can run on arm64 via Rosetta. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
6ca2d3b76d
commit
a50d98c7a1
2 changed files with 20 additions and 11 deletions
27
.github/workflows/ci.yml
vendored
27
.github/workflows/ci.yml
vendored
|
|
@ -1306,7 +1306,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-ollama-bot/Dockerfile
|
file: services/matrix-ollama-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1335,7 +1336,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-stats-bot/Dockerfile
|
file: services/matrix-stats-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1364,7 +1366,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-project-doc-bot/Dockerfile
|
file: services/matrix-project-doc-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1393,7 +1396,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-todo-bot/Dockerfile
|
file: services/matrix-todo-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1422,7 +1426,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-calendar-bot/Dockerfile
|
file: services/matrix-calendar-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1451,7 +1456,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-nutriphi-bot/Dockerfile
|
file: services/matrix-nutriphi-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1480,7 +1486,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-zitare-bot/Dockerfile
|
file: services/matrix-zitare-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1509,7 +1516,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-clock-bot/Dockerfile
|
file: services/matrix-clock-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
@ -1538,7 +1546,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: services/matrix-tts-bot/Dockerfile
|
file: services/matrix-tts-bot/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
# Note: arm64 disabled due to QEMU emulation issues with native deps
|
||||||
|
platforms: linux/amd64
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
|
|
|
||||||
|
|
@ -32,8 +32,8 @@ COPY packages/shared-utils ./packages/shared-utils
|
||||||
# Copy matrix web app
|
# Copy matrix web app
|
||||||
COPY apps/matrix/apps/web ./apps/matrix/apps/web
|
COPY apps/matrix/apps/web ./apps/matrix/apps/web
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies (--no-frozen-lockfile due to workspace overrides)
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --no-frozen-lockfile
|
||||||
|
|
||||||
# Build shared packages that need building
|
# Build shared packages that need building
|
||||||
WORKDIR /app/packages/shared-auth
|
WORKDIR /app/packages/shared-auth
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue