Commit 14e3cdd
committed
chore(ci): deploy the dashboard agent dormant, drop the reviewer gate, add a ref input
The agent deploys with --skip-promotion, so a deploy lands dormant and nothing
goes live until DASHBOARD_AGENT_VERSION is flipped. The per-environment reviewer
gate therefore bought nothing but a pile-up: every agent-path merge queued a
staging+prod deploy that sat pending on an approval nobody granted, and
cancel-in-progress: false made each new push cancel the previously-pending leg.
In practice the agent only ever deployed via a manual dispatch + approval.
Drop the environment gate so pushes deploy dormant versions unattended, flip
cancel-in-progress to true so a newer push supersedes an in-flight deploy instead
of stacking, and add a workflow_dispatch ref input to deploy a specific commit,
branch, or tag when needed.
The deploy token moves from the two environment secrets to a repo/org secret of
the same name (TRIGGER_DASHBOARD_AGENT_DEPLOY_TOKEN), since dropping environment
means the env-scoped secret no longer resolves.1 parent a302f65 commit 14e3cdd
1 file changed
Lines changed: 22 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | 17 | | |
| |||
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
17 | 28 | | |
18 | 29 | | |
19 | 30 | | |
| |||
27 | 38 | | |
28 | 39 | | |
29 | 40 | | |
30 | | - | |
| 41 | + | |
| 42 | + | |
31 | 43 | | |
32 | 44 | | |
| 45 | + | |
| 46 | + | |
33 | 47 | | |
34 | | - | |
| 48 | + | |
35 | 49 | | |
36 | 50 | | |
37 | 51 | | |
| |||
41 | 55 | | |
42 | 56 | | |
43 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
44 | 61 | | |
45 | 62 | | |
46 | 63 | | |
| |||
0 commit comments