diff options
| author | ketsuban <ketsuban@kukuri.dev> | 2026-09-03 12:27:52 +0000 |
|---|---|---|
| committer | ketsuban <ketsuban@kukuri.dev> | 2026-09-03 12:27:52 +0000 |
| commit | 8503830f47ba885579311cbcd80b362255d8c2c4 (patch) | |
| tree | 22c108a3a2c71692480b382cc866df43f415363d /deploy/README.txt | |
| parent | 2c4001f6ad589f450bd3d9db7708c48b12070dd9 (diff) | |
| download | kukuri-main.tar.gz kukuri-main.tar.bz2 kukuri-main.zip | |
ios: gradle/konan cache in Actions; buildbot waits for the ios run and ships its artifact to lighttpd; run-worker.sh: mount git_pass+github_tokenmain
Diffstat (limited to 'deploy/README.txt')
| -rw-r--r-- | deploy/README.txt | 25 |
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. |
