Skip to content

Commit

Releases no longer show as deploys of g1t.sh. The runner, runner image, desktop and phone release jobs read production's secrets without making a deployment (environment with deployment: false, as the deploy's plan job does), so a release in progress no longer puts 'Building' and its tag's commit on the project's production card.

syntaqxcommitted Parentec711adBrowse files
4 files+45−90/4 viewed
+25−5
6767 needs: version
6868 # The larger machine: linking Tauri on the small one dies with a bus error.
6969 runs-on: g1t-4core
70− environment: production
70+ # Production's secrets, without a deployment: a release is not a deploy of
71+ # g1t.sh, and would otherwise show on its card as one in progress.
72+ environment:
73+ name: production
74+ deployment: false
7175 timeout-minutes: 60 # the most g1t's own machines run a job
7276 steps:
7377 - uses: actions/checkout@v5
114118 needs: version
115119 if: vars.DESKTOP_WINDOWS_RUNNER == 'true'
116120 runs-on: [self-hosted, windows]
117− environment: production
121+ # Production's secrets, without a deployment: a release is not a deploy of
122+ # g1t.sh, and would otherwise show on its card as one in progress.
123+ environment:
124+ name: production
125+ deployment: false
118126 timeout-minutes: 90
119127 steps:
120128 - uses: actions/checkout@v5
147155 needs: version
148156 if: vars.DESKTOP_WINDOWS_FROM_LINUX == 'true' && vars.DESKTOP_WINDOWS_RUNNER != 'true'
149157 runs-on: g1t-4core
150− environment: production
158+ # Production's secrets, without a deployment: a release is not a deploy of
159+ # g1t.sh, and would otherwise show on its card as one in progress.
160+ environment:
161+ name: production
162+ deployment: false
151163 timeout-minutes: 60 # the most g1t's own machines run a job
152164 steps:
153165 - uses: actions/checkout@v5
194206 needs: version
195207 if: vars.DESKTOP_MACOS_RUNNER == 'true'
196208 runs-on: [self-hosted, macos]
197− environment: production
209+ # Production's secrets, without a deployment: a release is not a deploy of
210+ # g1t.sh, and would otherwise show on its card as one in progress.
211+ environment:
212+ name: production
213+ deployment: false
198214 timeout-minutes: 90
199215 steps:
200216 - uses: actions/checkout@v5
226242 && contains(fromJSON('["success","skipped"]'), needs.windows_cross.result)
227243 && contains(fromJSON('["success","skipped"]'), needs.macos.result)
228244 runs-on: ubuntu-latest
229− environment: production
245+ # Production's secrets, without a deployment: a release is not a deploy of
246+ # g1t.sh, and would otherwise show on its card as one in progress.
247+ environment:
248+ name: production
249+ deployment: false
230250 timeout-minutes: 20
231251 steps:
232252 - uses: actions/checkout@v5
+5−1
4545 release:
4646 name: Build and publish to g1t.sh/downloads/mobile
4747 runs-on: ubuntu-latest
48− environment: production
48+ # Production's secrets, without a deployment: a release is not a deploy of
49+ # g1t.sh, and would otherwise show on its card as one in progress.
50+ environment:
51+ name: production
52+ deployment: false
4953 timeout-minutes: 60
5054 steps:
5155 - uses: actions/checkout@v5
+5−1
5858 # repository variable RUNNER_BASE_SELF_HOSTED is "true": without one,
5959 # each run waited in the queue for a day and a half and then failed.
6060 if: ${{ vars.RUNNER_BASE_SELF_HOSTED == 'true' }}
61− environment: production
61+ # Production's secrets, without a deployment: a release is not a deploy of
62+ # g1t.sh, and would otherwise show on its card as one in progress.
63+ environment:
64+ name: production
65+ deployment: false
6266 timeout-minutes: 60
6367 steps:
6468 - uses: actions/checkout@v5
+10−2
2929 binaries:
3030 name: Build, sign and publish
3131 runs-on: ubuntu-latest
32− environment: production
32+ # Production's secrets, without a deployment: a release is not a deploy of
33+ # g1t.sh, and would otherwise show on its card as one in progress.
34+ environment:
35+ name: production
36+ deployment: false
3337 timeout-minutes: 60
3438 steps:
3539 - uses: actions/checkout@v5
9599 # Builds for arm64 as well as amd64, which needs QEMU's emulators
96100 # registered on the machine: a self-hosted runner's, for now.
97101 runs-on: [self-hosted, docker]
98− environment: production
102+ # Production's secrets, without a deployment: a release is not a deploy of
103+ # g1t.sh, and would otherwise show on its card as one in progress.
104+ environment:
105+ name: production
106+ deployment: false
99107 timeout-minutes: 30
100108 # Its token pushes the image to g1t's registry.
101109 permissions: