fix: start deep search launchagent reliably
Memind CI / Test, build, and release guards (pull_request) Successful in 4m7s
Memind CI / Test, build, and release guards (pull_request) Successful in 4m7s
This commit is contained in:
@@ -19,6 +19,8 @@ test('Deep Search production runtime is isolated from Portal releases', () => {
|
||||
|
||||
const installer = read('scripts/install-deep-search-runtime-prod.sh');
|
||||
assert.match(installer, /cn\.tkmind\.memind-deep-search/);
|
||||
assert.match(installer, /<string>\/bin\/bash<\/string>/);
|
||||
assert.match(installer, /<key>WorkingDirectory<\/key><string>\$\{RUNTIME_BASE\}<\/string>/);
|
||||
assert.match(installer, /chmod 600/);
|
||||
assert.match(installer, /openssl rand -hex 32/);
|
||||
|
||||
@@ -27,5 +29,6 @@ test('Deep Search production runtime is isolated from Portal releases', () => {
|
||||
assert.match(release, /CONFIRMED_CI_SHA/);
|
||||
assert.match(release, /shasum -a 256/);
|
||||
assert.match(release, /rollback/);
|
||||
assert.match(release, /launchctl bootout.*label/);
|
||||
assert.doesNotMatch(release, /release-portal-runtime-prod/);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user