mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 08:15:02 +00:00
ci(release): move releases to the persistent self-hosted runners
novaloop-incus-large is the GARM ephemeral pool, whose runners were reaped mid-job; [self-hosted, Linux, X64] matches four persistent org runners.
This commit is contained in:
@@ -46,17 +46,24 @@ concurrency:
|
||||
|
||||
env:
|
||||
# Upstream's workflows hardcode -Xmx8g / Kotlin daemon -Xmx4g, sized for the
|
||||
# 4-core/16GB ubuntu-latest that public repos get. On this container the
|
||||
# daemon keeps getting SIGKILLed mid-build (DaemonDisappearedException, no
|
||||
# OutOfMemoryError, no heap dump), so stay well under upstream's ceiling and
|
||||
# leave room for the Kotlin daemon and the parallel lint workers.
|
||||
# 4-core/16GB ubuntu-latest that public repos get. On the previous incus
|
||||
# container the daemon kept getting SIGKILLed mid-build
|
||||
# (DaemonDisappearedException, no OutOfMemoryError, no heap dump), so these
|
||||
# values stay well under upstream's ceiling and leave room for the Kotlin
|
||||
# daemon and the parallel lint workers. Re-check them against the "Report
|
||||
# runner capacity" output now that jobs land on the persistent org runners,
|
||||
# whose specs may differ.
|
||||
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=768m -Dfile.encoding=UTF-8 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC -Dkotlin.daemon.jvm.options=-Xmx2g
|
||||
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Build and upload AAB to Play Store
|
||||
runs-on: novaloop-incus-large
|
||||
# Persistent org runners (github-runner-01, gha-runner-1..3). The previous
|
||||
# novaloop-incus-large label pointed at the GARM ephemeral pool, whose freshly
|
||||
# spawned runners were reaped mid-job — jobs died ~10 minutes in with
|
||||
# "The operation was canceled" and no other diagnostic.
|
||||
runs-on: [self-hosted, Linux, X64]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user