@bakers-build/addon-runtime-docker 0.20.0 → 0.21.1-next.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/dist/src/backend.js +3 -2
- package/package.json +5 -5
package/dist/src/backend.js
CHANGED
|
@@ -4,7 +4,7 @@ import { existsSync, mkdirSync, realpathSync, rmSync, writeFileSync, } from 'nod
|
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import { dirname, isAbsolute, join, resolve, sep } from 'node:path';
|
|
6
6
|
import { promisify } from 'node:util';
|
|
7
|
-
import { shellQuote } from '@bakers-build/core';
|
|
7
|
+
import { DispatchBlocked, shellQuote, } from '@bakers-build/core';
|
|
8
8
|
import { API_KEY_PLACEHOLDER, dockerArgs, PROXY_PORTS, } from './args.js';
|
|
9
9
|
const EGRESS_NETWORK = 'bb-runtime-egress';
|
|
10
10
|
/** The first 12 hex chars of the sha256 of `text`. */
|
|
@@ -140,7 +140,8 @@ export function dockerRuntime(options, deps) {
|
|
|
140
140
|
if (source[k])
|
|
141
141
|
credentials[k] = source[k];
|
|
142
142
|
if (api && Object.keys(credentials).length === 0)
|
|
143
|
-
|
|
143
|
+
// Env files are read at start: only a restart, which drops every hold, heals this.
|
|
144
|
+
throw new DispatchBlocked(`runtime-docker: ${api.credentialHint}`, () => false);
|
|
144
145
|
return credentials;
|
|
145
146
|
};
|
|
146
147
|
const runtime = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bakers-build/addon-runtime-docker",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.1-next.1",
|
|
4
4
|
"description": "Start each agent run in its own Docker or Podman container.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"directory": "bakers-cli/addons/runtime-docker"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@bakers-build/conductor": "^0.
|
|
28
|
-
"@bakers-build/core": "^0.
|
|
27
|
+
"@bakers-build/conductor": "^0.21.1-next.1",
|
|
28
|
+
"@bakers-build/core": "^0.21.1-next.1"
|
|
29
29
|
},
|
|
30
30
|
"bakersBuild": {
|
|
31
|
-
"commit": "
|
|
32
|
-
"channel": "
|
|
31
|
+
"commit": "e68e166d4a443132ec8797eaa946a77e0943cfe6",
|
|
32
|
+
"channel": "next"
|
|
33
33
|
}
|
|
34
34
|
}
|