Repository navigation
60 lines (55 loc) · 2.28 KB
/
Copy pathios-ship-contract.yml
File metadata and controls
60 lines (55 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: iOS ship contract
# Pins the iOS auto-ship wiring (owner 2026-10-17): a merge to main that
# touches the iOS app's native tree, including the shared Sources/QuotaCore files
# its targets compile, uploads a TestFlight build with no human step. The Mac
# app no longer ships to TestFlight (CC-169, owner ruling 2026-10-19). Offline and
# credential-free: it reads the workflow text and project.yml, and runs the
# scheduled-gate and key-handoff shell tests. See
# scripts/ios-ship-workflow.test.mjs.
on:
pull_request:
paths:
- '.github/workflows/ios-ship*.yml'
- 'ios/CodeCapsCompanion/project.yml'
- 'scripts/ios-*'
- 'scripts/infisical-fetch*.mjs'
- 'scripts/stage-asc-key*'
- 'scripts/ios-fleet/**'
- 'scripts/test-ios-stage-asc-key.sh'
push:
branches: [main]
paths:
- '.github/workflows/ios-ship*.yml'
- 'ios/CodeCapsCompanion/project.yml'
- 'scripts/ios-*'
- 'scripts/infisical-fetch*.mjs'
- 'scripts/stage-asc-key*'
- 'scripts/ios-fleet/**'
- 'scripts/test-ios-stage-asc-key.sh'
workflow_dispatch:
concurrency:
group: ios-ship-contract-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
contract:
name: iOS ship contract
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
- name: Pin the auto-ship wiring
run: |
node --test scripts/ios-ship-workflow.test.mjs scripts/stage-asc-key.node-test.mjs scripts/infisical-fetch.node-test.mjs scripts/infisical-fetch-expand.node-test.mjs scripts/ios-enable-apns.test.mjs
bash scripts/ios-fleet/test-asc-credentials.sh
bash scripts/ios-fleet/test-tf-ready-outcome.sh
node --test scripts/ios-fleet/test-asc-credentials.mjs
node --test scripts/ios-fleet/test-asc-client.mjs
node --test scripts/ios-fleet/test-asc-upload.mjs
node --test scripts/ios-fleet/test-asc-submit.mjs
node --test scripts/ios-fleet/test-asc-key.test.mjs
python3 scripts/ios-fleet/test_pick_simulator.py
python3 scripts/ios-fleet/test_screenshot_ink.py
bash scripts/ios-fleet/test-capture-script.sh
bash scripts/ios-fleet/test-publish-ios-versions.sh