Skip to content

Commit 860121b

Browse files
authored
refactor(release): separate GCP image deployment (#11108)
2 parents 06cb157 + e3ae2d3 commit 860121b

7 files changed

Lines changed: 684 additions & 504 deletions

File tree

.github/workflows/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ graph TB
5959
FindDisks[zfnd-find-cached-disks.yml]
6060
Deploy[zfnd-deploy-integration-tests-gcp.yml]
6161
DeployNodes[zfnd-deploy-nodes-gcp.yml]
62+
DeployPrebuilt[zfnd-deploy-prebuilt-nodes-gcp.yml]
6263
Cleanup[zfnd-delete-gcp-resources.yml]
6364
end
6465
@@ -75,6 +76,8 @@ graph TB
7576
PrepareBinaries --> AttachBinaries
7677
BuildDocker --> IT
7778
IT --> FindDisks --> Deploy
79+
DeployNodes --> BuildDocker
80+
DeployNodes --> DeployPrebuilt
7881
7982
%% Styling
8083
classDef primary fill:#2374ab,stroke:#2374ab,color:white
@@ -83,7 +86,7 @@ graph TB
8386
class BuildDocker,PrepareBinaries,AttachBinaries primary
8487
class ReleaseWorkflow,ReleaseBinaries primary
8588
class Unit,Lint,Coverage,DockerCfg,CrateBuild,PRGate,Docs,Security secondary
86-
class IT,FindDisks,Deploy,DeployNodes,Cleanup secondary
89+
class IT,FindDisks,Deploy,DeployNodes,DeployPrebuilt,Cleanup secondary
8790
class PR,Push,ReleaseEvent,Schedule,Manual trigger
8891
```
8992

@@ -207,7 +210,8 @@ gh api 'repos/ZcashFoundation/zebra/actions/caches?per_page=100' \
207210
- **Attach release binaries** (`zfnd-attach-release-binaries.yml`): Attaches the prepared binary bundle to an existing GitHub Release
208211
- **Find cached disks** (`zfnd-find-cached-disks.yml`): Discovers GCP disks for stateful tests
209212
- **Deploy integration tests** (`zfnd-deploy-integration-tests-gcp.yml`): Orchestrates GCP VMs and test runs
210-
- **Deploy nodes** (`zfnd-deploy-nodes-gcp.yml`): Provision long-lived nodes
213+
- **Deploy nodes** (`zfnd-deploy-nodes-gcp.yml`): Build the event-specific image and orchestrate long-lived node deployment
214+
- **Deploy prebuilt nodes** (`zfnd-deploy-prebuilt-nodes-gcp.yml`): Deploy an explicit immutable GAR image identity
211215
- **Delete GCP resources** (`zfnd-delete-gcp-resources.yml`): Cleanup utilities
212216
- Helper scripts in `.github/workflows/scripts/` used by the above
213217

0 commit comments

Comments
 (0)