gcb-host 0.8.0 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # gcb-host
2
2
 
3
+ ## 0.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#133](https://github.com/code-vaults/git-credential-broker/pull/133) [`53eafd7`](https://github.com/code-vaults/git-credential-broker/commit/53eafd732e4cbc7e282ce801c588288912f2603e) Thanks [@JounQin](https://github.com/JounQin)! - `compose` now emits the released `ghcr.io/code-vaults/gcb-host:<version>` image and runs its installed
8
+ `gcb daemon` binary. It no longer generates an `npx --package gcb-host` command or accepts `--package`.
9
+ The `--code` staged-code mode is unchanged.
10
+ - Updated dependencies []:
11
+ - gcb-core@0.8.1
12
+
3
13
  ## 0.8.0
4
14
 
5
15
  ### Patch Changes
@@ -8,16 +8,14 @@ export interface ComposeInput {
8
8
  readonly socketDir: string;
9
9
  /** `uid:gid` the sidecar runs as; must match the container that needs the socket. */
10
10
  readonly user: string;
11
- /** Base image. */
11
+ /** Base image; the released host image contains the `gcb` binary. */
12
12
  readonly image: string;
13
- /** Npm spec to run, e.g. `gcb@0.0.0`. */
14
- readonly packageSpec: string;
15
13
  /** Compose service and container name. */
16
14
  readonly name: string;
17
15
  /**
18
16
  * Host directory holding the broker's code, as `stage` exports it. When given, the sidecar runs
19
- * that code with the image's Node instead of fetching the package at start: no registry access at
20
- * boot, and the commit that runs is the one you reviewed.
17
+ * that code with the image's Node instead of running the image's installed binary: no registry
18
+ * access at boot, and the commit that runs is the one you reviewed.
21
19
  */
22
20
  readonly code?: string;
23
21
  }
@@ -31,7 +29,7 @@ export declare const CODE_DIR = "/opt/gcb";
31
29
  */
32
30
  export declare function renderCompose(input: ComposeInput): string;
33
31
  /** Usage text for `compose`. */
34
- export declare const COMPOSE_USAGE = "Usage: gcb compose [options]\n\nPrint a Docker sidecar definition for the broker (to stdout). Pair it with a config written by\n`init --mode sidecar`, whose paths this file fixes.\n\n --dir <path> Host directory holding broker.config.yml, app.pem and log/ (default: the config's directory)\n --config <path> The sidecar's config, checked before anything is printed\n (default: $GIT_BROKER_CONFIG, else ./broker.config.yml)\n --socket-dir <path> Host directory the pushing container already mounts\n --code <path> Run code mounted from this host directory instead of fetching the package\n at start (as `stage` exports it); nothing is fetched or built at boot\n --user <uid:gid> UID the sidecar runs as (default: this user)\n --image <name> Base image (default: node:24-slim)\n --package <spec> npm spec to run (default: gcb-host@<version>)\n --name <name> Service and container name (default: gcb)\n -h, --help Show this help\n";
32
+ export declare const COMPOSE_USAGE = "Usage: gcb compose [options]\n\nPrint a Docker sidecar definition for the broker (to stdout). Pair it with a config written by\n`init --mode sidecar`, whose paths this file fixes.\n\n --dir <path> Host directory holding broker.config.yml, app.pem and log/ (default: the config's directory)\n --config <path> The sidecar's config, checked before anything is printed\n (default: $GIT_BROKER_CONFIG, else ./broker.config.yml)\n --socket-dir <path> Host directory the pushing container already mounts\n --code <path> Run code mounted from this host directory instead of the installed binary\n (as `stage` exports it); nothing is fetched or built at boot\n --user <uid:gid> UID the sidecar runs as (default: this user)\n --image <name> Base image (default: ghcr.io/code-vaults/gcb-host:<version>)\n --name <name> Service and container name (default: gcb)\n -h, --help Show this help\n";
35
33
  /**
36
34
  * Run the `compose` command.
37
35
  *
@@ -1 +1 @@
1
- {"version":3,"file":"compose.d.ts","sourceRoot":"","sources":["../../src/commands/compose.ts"],"names":[],"mappings":"AAyBA,4CAA4C;AAC5C,MAAM,WAAW,YAAY;IAC3B,kEAAkE;IAClE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAA;IACpB,uEAAuE;IACvE,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAA;IAC5B,yFAAyF;IACzF,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,qFAAqF;IACrF,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;IACrB,kBAAkB;IAClB,QAAQ,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;GAKG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,CA6D1D"}
@@ -3,8 +3,8 @@
3
3
  *
4
4
  * The broker runs in its own container with the private key mounted read-only, no published ports,
5
5
  * no capabilities and a read-only root filesystem; the only surface it shares with anything else is
6
- * the socket directory. The container fetches the published package, so there is no checkout to
7
- * copy and nothing to build on the host.
6
+ * the socket directory. The released image contains the package, so there is no checkout to copy and
7
+ * nothing to build on the host.
8
8
  *
9
9
  * The mount targets are constants from `deployment.ts`, shared with `init --mode sidecar`, so the
10
10
  * paths recorded in `broker.config.yml` and the paths this file mounts cannot drift apart.
@@ -53,14 +53,8 @@ export function renderCompose(input) {
53
53
  ? `# It runs the code mounted read-only from ${input.code}, which is whatever \`stage\` put there —
54
54
  # see the STAGED.json beside it for the commit. stage does not install dependencies or build:
55
55
  # run \`corepack yarn install\` in that directory first, then the source entry point runs here.`
56
- : `# The image fetches the published package at start:
57
- #
58
- # npx --yes --package '${input.packageSpec}' gcb daemon
59
- #
60
- # To avoid depending on the registry at boot, either render this file with --code <directory> to
61
- # run staged code from a mount, or point --image at an image of your own that already has the
62
- # package installed, and change \`command\` to the binary in it:
63
- # ["gcb", "daemon", "--config", "${mountedConfigPath}"]`;
56
+ : `# The image contains gcb-host and the command below runs its installed \`gcb\` binary.
57
+ # To pin a reviewed commit instead, render this file with --code <directory>.`;
64
58
  // The egress lines belong to both renders: a --code deployment is a sidecar too, and without them it
65
59
  // would carry no proxy variables at all, so the daemon would go direct and hang rather than refuse.
66
60
  const egress = `
@@ -72,13 +66,8 @@ export function renderCompose(input) {
72
66
  - NODE_USE_ENV_PROXY=1
73
67
  # Runtime override: a URL pins a proxy, an empty value goes direct, unset keeps the above.
74
68
  - GCB_PROXY=\${GCB_PROXY-default}`;
75
- const environment = fromCode
76
- ? `
77
- environment:${egress}`
78
- : `
79
- environment:
80
- # npx needs somewhere writable for its cache; /tmp is a tmpfs above.
81
- - npm_config_cache=/tmp/npm-cache${egress}`;
69
+ const environment = `
70
+ environment:${egress}`;
82
71
  // A bind mount for a path that does not exist becomes a directory, and the broker would then read a
83
72
  // directory instead of a token — for every action, not only the personal ones. Emit it once `authorize`
84
73
  // has written the file, and say what to run until then.
@@ -88,7 +77,7 @@ export function renderCompose(input) {
88
77
  '\n # for a path that does not exist would become a directory, and the broker would read that.';
89
78
  const start = fromCode
90
79
  ? `exec node --conditions=development ${CODE_DIR}/packages/host/bin/gcb.js daemon --config ${mountedConfigArg}`
91
- : `exec npx --yes --package '${input.packageSpec}' gcb daemon --config ${mountedConfigArg}`;
80
+ : `exec gcb daemon --config ${mountedConfigArg}`;
92
81
  const command = ` - sh
93
82
  - -c
94
83
  - |
@@ -165,11 +154,10 @@ Print a Docker sidecar definition for the broker (to stdout). Pair it with a con
165
154
  --config <path> The sidecar's config, checked before anything is printed
166
155
  (default: $GIT_BROKER_CONFIG, else ./broker.config.yml)
167
156
  --socket-dir <path> Host directory the pushing container already mounts
168
- --code <path> Run code mounted from this host directory instead of fetching the package
169
- at start (as \`stage\` exports it); nothing is fetched or built at boot
157
+ --code <path> Run code mounted from this host directory instead of the installed binary
158
+ (as \`stage\` exports it); nothing is fetched or built at boot
170
159
  --user <uid:gid> UID the sidecar runs as (default: this user)
171
- --image <name> Base image (default: node:24-slim)
172
- --package <spec> npm spec to run (default: gcb-host@<version>)
160
+ --image <name> Base image (default: ghcr.io/code-vaults/gcb-host:<version>)
173
161
  --name <name> Service and container name (default: gcb)
174
162
  -h, --help Show this help
175
163
  `;
@@ -185,6 +173,9 @@ export function runCompose(argv) {
185
173
  say(COMPOSE_USAGE);
186
174
  return 0;
187
175
  }
176
+ if (argv.some(argument => argument === '--package' || argument.startsWith('--package='))) {
177
+ fail('--package is not supported; pin the released image with --image instead');
178
+ }
188
179
  const explicitConfig = args.value('config');
189
180
  const dirArg = args.value('dir');
190
181
  const configPath = path.resolve(explicitConfig === undefined
@@ -224,8 +215,7 @@ export function runCompose(argv) {
224
215
  configPath: configFile,
225
216
  socketDir,
226
217
  user,
227
- image: args.value('image') ?? 'node:24-slim',
228
- packageSpec: args.value('package') ?? `gcb-host@${PACKAGE_VERSION}`,
218
+ image: args.value('image') ?? `ghcr.io/code-vaults/gcb-host:${PACKAGE_VERSION}`,
229
219
  name: args.value('name') ?? 'gcb',
230
220
  code: args.value('code'),
231
221
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"compose.js","sourceRoot":"","sources":["../../src/commands/compose.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAAE,MAAM,SAAS,CAAA;AACxB,OAAO,IAAI,MAAM,WAAW,CAAA;AAE5B,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AAEtE,OAAO,EACL,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,OAAO,EACP,eAAe,GAChB,MAAM,cAAc,CAAA;AA0BrB,uDAAuD;AACvD,MAAM,CAAC,MAAM,QAAQ,GAAG,UAAU,CAAA;AAElC,6EAA6E;AAC7E,SAAS,UAAU,CAAC,IAAY,EAAE,SAAiB,EAAE,IAAa;IAChE,MAAM,GAAG,GAAG,GAAG,IAAI,IAAI,SAAS,GAAG,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,EAAE,EAAE,CAAA;IACzE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,CAAA;IAC9C,qGAAqG;IACrG,OAAO,2BAA2B,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAA;AAClF,CAAC;AAED,6EAA6E;AAC7E,SAAS,kBAAkB,CAAC,UAAkB;IAC5C,IAAI,CAAC;QACH,OAAO,EAAE,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GED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gcb-host",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "type": "module",
5
5
  "description": "Host-side gcb broker, configuration, providers and administration commands.",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "lib"
28
28
  ],
29
29
  "dependencies": {
30
- "gcb-core": "0.8.0",
30
+ "gcb-core": "0.8.1",
31
31
  "node-fetch-native": "^1.6.7",
32
32
  "x-fetch": "^0.3.0",
33
33
  "yaml": "^2.9.1"