summaryrefslogtreecommitdiff
path: root/deploy/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/README.txt')
-rw-r--r--deploy/README.txt25
1 files changed, 20 insertions, 5 deletions
diff --git a/deploy/README.txt b/deploy/README.txt
index ff2a5f8..d3494e1 100644
--- a/deploy/README.txt
+++ b/deploy/README.txt
@@ -37,7 +37,12 @@ http://192.168.3.110/git/kukuri.git (branch main) every 30 seconds.
Within ~30s a build starts on the worker:
setup-git-auth -> git checkout -> detekt-gate -> assemble
- -> jvm/android/wasm/native tests -> bundles -> deploy-to-lighttpd (FTP upload).
+ -> jvm/android/wasm/native tests -> bundles
+ -> wait-github-ios (blocks until the Actions "ios" run for the same commit
+ finishes; fails the build if it fails)
+ -> fetch-github-ios (downloads the "kukuri-ios" artifact, stages
+ distributions/kukuri-ios-<v>.zip)
+ -> deploy-to-lighttpd (FTP upload of all zips + the apk)
Watch progress: http://192.168.3.110:8010 (waterfall / console view)
CLI watcher (waits for a build newer than the given number; exit 0 = success):
@@ -137,7 +142,17 @@ github actions (ios):
6. iOS
------
-GitHub Actions builds the orgflow-domain iOS targets on every push to main
-(.github/workflows/ios.yml) and uploads the "kukuri-ios" Actions artifact
-(debug frameworks for iosArm64 / iosSimulatorArm64 + all klibs):
-https://github.com/ketsuban152/kukuri/actions
+Two places:
+ - buildbot ships "kukuri-ios-<v>.zip" (frameworks + klibs from the Actions
+ run) to http://192.168.3.110/artifact/kukuri/latest/ together with the
+ other artifacts.
+ - the raw "kukuri-ios" Actions artifact stays on
+ https://github.com/ketsuban152/kukuri/actions
+
+ios.yml uses actions/cache for ~/.gradle/caches, ~/.gradle/wrapper and ~/.konan
+(key: ios-<os>-<hash of build scripts>) - the first run after a cache-key
+change is cold, later runs reuse the Konan toolchain and task outputs.
+
+The worker reads /run/secrets/github_token (a repo-scoped PAT) for the
+artifact download; run-worker.sh mounts it from
+/root/buildbot/secrets/github_token.