@willbooster/wb 23.2.0 → 23.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/index.js +3 -3
- package/docker/bash/install-litestream.sh +13 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -149,9 +149,16 @@ Options:
|
|
|
149
149
|
--help Show help [boolean]
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
##
|
|
152
|
+
## Cloudflare Container rollouts
|
|
153
153
|
|
|
154
|
-
`wb deploy --
|
|
154
|
+
`wb deploy --containers-rollout=<mode>` forwards the selected mode to Wrangler for build validation and deployment:
|
|
155
|
+
|
|
156
|
+
- `none` deploys Worker code and secrets without container image lookup, build, push, or reuse.
|
|
157
|
+
- `gradual` and `immediate` reuse published images from unchanged committed build contexts before deploying with the selected rollout mode.
|
|
158
|
+
|
|
159
|
+
Omitting the option uses the normal Wrangler deployment without image reuse.
|
|
160
|
+
|
|
161
|
+
Image reuse supports single-image container entries with `image` and either `name` or `class_name`. Docker is required on a cache miss. Commit the Dockerfile inside its Git build context. Builds exclude untracked and generated files and reject uncommitted changes to tracked context files.
|
|
155
162
|
|
|
156
163
|
The reuse key includes the deployment's Worker name, the context's Git tree, the relative Dockerfile path, `image_vars`, and `linux/amd64`. Changes to tracked documentation or files excluded by `.dockerignore` also rebuild the image. To refresh external dependencies, update the committed context. Serialize deployments of the same Worker. Changes to other container settings can still trigger replacement by Cloudflare.
|
|
157
164
|
|