xworkmate-app/scripts/ci
Haitao Pan fa161247d3
Ci/vault secrets per platform release (#45)
* chore(security): add gitleaks config allowlisting vendored/test fixtures

Suppress false positives so `gitleaks detect` is clean:
- third_party/* (cargokit ships a public binary-verification key)
- workspace_management_unit_test.dart (obfuscated "token" fixture)
- gatewayruntime/runtime_test.go (hardcoded "device-1" test key pair)

Real leaked secrets are purged from history, not allowlisted.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* chore(security): remove historical secret fixtures

* chore(release): bump build metadata for 1.1.5+2

* chore(release): bump version to 1.1.5+2

* chore(release): bump build metadata for 1.1.5+2

---------

Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>

* ci(release): add TestFlight release matrix

* chore(release): bump version to 1.1.5+2

* chore(release): bump build metadata for 1.1.5+2

* ci(release): add TestFlight release matrix

---------

Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>

* ci(release): load Vault secrets per-platform in build matrix

The build matrix loaded all 17 signing secrets in one shared block for
every platform. vault-action's ignoreNotFound only suppresses path-level
404s, not field-level "No match data" errors, so a single missing field
(e.g. APPLE_MAC_PROVISION_PROFILE_BASE64) failed every leg — including
linux/windows/android that need no Apple secrets.

Split the load into per-OS-family steps gated by matrix.platform:
- Apple (macos/ios): Apple cert + provisioning + keychain + export method
- Windows: WINDOWS_PFX_* + codesign subject
- Android: ANDROID_KEYSTORE_* + key alias/password
Linux requests nothing.

Also drop APP_STORE_CONNECT_* from the build matrix: only
testflight_upload.sh consumes them and it runs in the release job, which
loads them itself. The build matrix no longer depends on them.

Add shell: bash to the Export step (its `{ … } >> $GITHUB_ENV` brace
syntax is bash-only and would fail under the default pwsh on windows).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Haitao Pan <haitao.pan@xworkmate.ai>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
2026-06-29 15:56:26 +08:00
..
apple_signing.sh fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
build_matrix_artifacts.sh Ci/vault secrets per platform release (#45) 2026-06-29 15:56:26 +08:00
build_version.py fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
compute_release_metadata.sh fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
github_release_upload.sh Add multi-platform build and release workflow 2026-03-21 10:08:12 +08:00
install_flutter_sdk.ps1 Add multi-platform build and release workflow 2026-03-21 10:08:12 +08:00
install_flutter_sdk.sh Add multi-platform build and release workflow 2026-03-21 10:08:12 +08:00
monitor_build_and_release.sh Fix release pipeline verification and latest release tagging 2026-04-11 10:31:15 +08:00
platform_preflight.sh fix(ci): keep macos/ios build lanes running when Apple signing secrets are missing 2026-06-05 18:39:25 +08:00
run_code_analysis.sh chore: remove stale gateway settings and app ffi paths 2026-05-13 16:45:54 +08:00
run_flutter_ci_suite.sh chore: remove stale gateway settings and app ffi paths 2026-05-13 16:45:54 +08:00
run_layered_tests.sh ci: run desktop integration/patrol tests under xvfb (#22) 2026-06-28 14:46:00 +08:00
run_patrol_suite.sh Remove Patrol from macOS package 2026-06-05 21:47:08 +08:00
setup_platform_deps.sh ci: run desktop integration/patrol tests under xvfb (#22) 2026-06-28 14:46:00 +08:00
testflight_upload.sh Ci/vault secrets per platform release (#45) 2026-06-29 15:56:26 +08:00
verify_api_interface_contract.sh fix(ci): parse provider catalog and gateway providers from capabilities fallback 2026-06-03 17:11:12 +08:00
verify_api_scenario_contract.sh fix: repair bridge login sync runtime state 2026-06-01 10:02:13 +08:00
verify_remote_provider_contract.sh fix(ci): parse provider catalog and gateway providers from capabilities fallback 2026-06-03 17:11:12 +08:00