canopycms-cdk 0.7.1 → 0.8.1

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.
@@ -1 +1 @@
1
- 2
1
+ 3
@@ -1 +1 @@
1
- 4308cf8234992d27e062ef6a026b74fa0feaa4582aab948c9906d1f9d467f3c9 index.js
1
+ 5a8f40789e1cee198bf3380867f06e75b80f2e874f624d98776ae0a8bb6df59a index.js
@@ -47,7 +47,7 @@ StandardError=append:/var/log/canopy-worker/worker.log
47
47
  StateDirectory=canopy-worker
48
48
  EnvironmentFile=/opt/canopy-worker/.env
49
49
  # What this unit provides; a bundle needing more refuses to start.
50
- Environment=CANOPYCMS_WORKER_CONTRACT=2
50
+ Environment=CANOPYCMS_WORKER_CONTRACT=3
51
51
  # The GitHub gateway, its only way to GitHub, the Clerk API and the
52
52
  # instance role.
53
53
  Environment=CANOPYCMS_GITHUB_GATEWAY_SOCKET=/run/canopy-github/gateway.sock
@@ -222,7 +222,7 @@ StateDirectoryMode=0700
222
222
  # 0640 root:canopy-github: the secrets, unreadable to the worker.
223
223
  EnvironmentFile=/opt/canopy-worker/gateway.env
224
224
  # What this unit provides; a bundle needing more refuses to start.
225
- Environment=CANOPYCMS_WORKER_CONTRACT=2
225
+ Environment=CANOPYCMS_WORKER_CONTRACT=3
226
226
  # Sandbox. Writable: the state dir and a private /tmp. No view of EFS,
227
227
  # which the gateway checks at boot, as it checks that cores are not
228
228
  # piped to a helper and that its core limit is zero.
@@ -9,6 +9,15 @@ CANOPYCMS_GITHUB_REPO=your-site
9
9
  AWS_REGION=us-east-1
10
10
  # The branch the worker syncs; the gateway never pushes it. Set it here and in the worker's .env.
11
11
  CANOPYCMS_BASE_BRANCH=main
12
+ # The settings branch the gateway pushes, the only one: canopycms-settings-<deployment name>, or
13
+ # CANOPYCMS_SETTINGS_BRANCH when set. Set both exactly as in the worker's .env.
14
+ CANOPYCMS_DEPLOYMENT_NAME=prod
15
+ #CANOPYCMS_SETTINGS_BRANCH=canopycms-settings-prod
16
+ # The prefix of every branch editors create, the only branches the gateway writes beside its
17
+ # settings branch, ending with /. It must resolve to the namespace the CMS Lambda resolves: the
18
+ # CDK stamps that resolved value, such as canopycms/prod/, on both. {deployment} in it stands for
19
+ # CANOPYCMS_DEPLOYMENT_NAME.
20
+ #CANOPYCMS_BRANCH_NAMESPACE=canopycms/{deployment}/
12
21
  # A token, by its Secrets Manager ARN (and the field, for a JSON secret)...
13
22
  CANOPYCMS_GITHUB_TOKEN_SECRET_ARN=arn:aws:secretsmanager:us-east-1:123456789012:secret:github-token
14
23
  #CANOPYCMS_GITHUB_TOKEN_SECRET_JSON_FIELD=token
@@ -23,5 +32,8 @@ CLERK_SECRET_KEY_SECRET_ARN=arn:aws:secretsmanager:us-east-1:123456789012:secret
23
32
  #CANOPYCMS_CLERK_ORGANIZATIONS_AS_GROUPS=false
24
33
  # Branches the gateway never pushes, deletes or opens a pull request from: names and `*` globs.
25
34
  #CANOPYCMS_PROTECTED_BRANCHES=release/*,production
35
+ # Beside its settings branch, the gateway writes only branches in its namespace, and these
36
+ # exact names from before it.
37
+ #CANOPYCMS_LEGACY_BRANCHES=spring-update,fix-typos
26
38
  # On spot capacity, so the gateway watches for an interruption notice too.
27
39
  #CANOPYCMS_WORKER_CAPACITY=spot