chore: publish IntegraCI build modules 732ec6c83925
This commit is contained in:
1 parent
7a84930dea
commit
5f8a24d014
133 files changed
+18990
-2
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# IntegraCI — Mobile Flutter Dagger Module
|
||||
|
||||
Build, test, sign and publish Flutter apps.
|
||||
|
||||
Separate from `mobile-android` on purpose: Flutter owns its own Gradle
|
||||
invocation, puts artefacts under `build/app/outputs/flutter-apk/`, and tests
|
||||
with the Dart runner. A Flutter repo handed the native Android module is given a
|
||||
Gradle project it does not have at its root.
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
dagger call build --source . --flutter-version 3.24.5 export --path ./mobile-out
|
||||
dagger call test --source .
|
||||
dagger call sign --artifact ./mobile-out/app.aab --keystore file:ks.jks \
|
||||
--keystore-password env:KS --key-alias upload --key-password env:KP \
|
||||
export --path ./mobile-out/signed-app.aab
|
||||
dagger call publish-raw --artifact ./mobile-out/signed-app.aab \
|
||||
--url http://nexus:8081 --repository mobile-artifacts \
|
||||
--path acme/app/1.0.0/app.aab --username ci --password env:PW
|
||||
```
|
||||
|
||||
`--flutter-version` is a property of the REPO. One application onboarded through
|
||||
this platform is pinned to `sdk: ">=2.15.1 <3.0.0"` and cannot build on a modern
|
||||
stable channel at all; pinning here is what lets that be stated rather than
|
||||
discovered.
|
||||
Reference in new issue
Block a user