Skip to content

Commit c5271e4

Browse files
authored
Merge pull request #818 from obeli-sk/deployment-verify
Add `deployment verify --fix`
2 parents 9b43481 + 884f155 commit c5271e4

14 files changed

Lines changed: 1099 additions & 187 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Added
1010

11+
- *(cli)* Added `obelisk deployment verify` for compiling and verifying a local `deployment.toml`
12+
without starting the server or accessing its database or content-addressed store.
13+
- *(cli)* `obelisk deployment verify --fix` corrects mismatched content digests in the passed
14+
deployment file and updates the passed server config's exec allowlist, sorted by activity name.
15+
Without `--fix`, verification reports every mismatched local digest at once.
1116
- *(server)* Added an operator-owned `[[outbound_http.allowed_host]]` allowlist for
1217
component-originated HTTP. It uses the same host, method, URL regex, secret, and replacement
1318
location grammar as deployment `allowed_host` entries. Destinations and secret placements are
@@ -25,6 +30,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2530

2631
### Changed
2732

33+
- *(cli)* Deployment configuration warnings are collected during verification, deduplicated, and
34+
printed together in stable order after compilation, with source file and line locations when
35+
available.
36+
- *(server)* `allow_exec_activities` now maps exec activity names to their reviewed content digests.
37+
The previous digest-array form remains accepted for compatibility.
2838
- **Breaking:** *(server)* Component outbound HTTP is now denied unless both server.toml
2939
`[[outbound_http.allowed_host]]` and deployment.toml component `allowed_host` entries permit it.
3040
An omitted server allowlist denies all outbound HTTP. Existing deployments that use HTTP must copy

0 commit comments

Comments
 (0)