mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +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:
|
env:
|
||||||
# Upstream's workflows hardcode -Xmx8g / Kotlin daemon -Xmx4g, sized for the
|
# Upstream's workflows hardcode -Xmx8g / Kotlin daemon -Xmx4g, sized for the
|
||||||
# 4-core/16GB ubuntu-latest that public repos get. On this container the
|
# 4-core/16GB ubuntu-latest that public repos get. On the previous incus
|
||||||
# daemon keeps getting SIGKILLed mid-build (DaemonDisappearedException, no
|
# container the daemon kept getting SIGKILLed mid-build
|
||||||
# OutOfMemoryError, no heap dump), so stay well under upstream's ceiling and
|
# (DaemonDisappearedException, no OutOfMemoryError, no heap dump), so these
|
||||||
# leave room for the Kotlin daemon and the parallel lint workers.
|
# 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
|
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
|
CI_GRADLE_ARG_PROPERTIES: --stacktrace --no-daemon -Dsonar.gradle.skipCompile=true --no-configuration-cache
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
name: Build and upload AAB to Play Store
|
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:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user