Skip to content

Commit

Permalink
cloudchamber: Start cloudchamber apply, the new command to deploy
Browse files Browse the repository at this point in the history
container app changes

This command is able to take the [[container-app]] configurations, and
deploy them to Cloudchamber.

To render the differences, we are introducing a new dependency with
"diff". This was already included in the pnpm lock, however we could
consider not rolling out a new dependency into wrangler unless
absolutely necessary.

The command is designed to be CI friendly. In the tests there is some
example command renders from different kind of configurations.

One of the biggest TODOs here is proper error rendering. We hope to
improve that overtime, and pinpoint to the user in the wrangler.toml
what went wrong.
  • Loading branch information
gabivlj committed Nov 22, 2024
1 parent 0d314ed commit 9550737
Show file tree
Hide file tree
Showing 13 changed files with 1,335 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/angry-apricots-swim.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"wrangler": minor
---

introduce a new cloudchamber command `apply`, which will be used by customers to deploy container-apps
2 changes: 2 additions & 0 deletions packages/wrangler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"blake3-wasm": "^2.1.5",
"chokidar": "^4.0.1",
"date-fns": "^4.1.0",
"diff": "^1.1.1",
"esbuild": "0.17.19",
"itty-time": "^1.0.6",
"miniflare": "workspace:*",
Expand Down Expand Up @@ -104,6 +105,7 @@
"@sentry/utils": "^7.86.0",
"@types/body-parser": "^1.19.2",
"@types/command-exists": "^1.2.0",
"@types/diff": "^6.0.0",
"@types/express": "^4.17.13",
"@types/glob-to-regexp": "^0.4.1",
"@types/is-ci": "^3.0.0",
Expand Down
Loading

0 comments on commit 9550737

Please sign in to comment.