feat(selfhost): add persistent host update service
This commit is contained in:
@@ -152,6 +152,10 @@ test('release assets pin compose, environment and installer to one version', ()
|
||||
assert.doesNotMatch(files.get('docker-compose.selfhost.yml').toString(), /FEDEO_VERSION:-dev/);
|
||||
assert.match(files.get('.env.example').toString(), /^FEDEO_VERSION=1\.2\.0$/m);
|
||||
assert.match(files.get('selfhost-install.sh').toString(), /FEDEO_REF:-v1\.2\.0/);
|
||||
for (const name of ['selfhost-update-service.py', 'selfhost-update-service-install.sh', 'fedeo-updater.service']) {
|
||||
assert.ok(files.get(name)?.length > 0, `missing service asset: ${name}`);
|
||||
assert.ok(files.get('SHA256SUMS').toString().includes(` ${name}\n`));
|
||||
}
|
||||
assert.equal(files.get('SHA256SUMS').toString().trim().split('\n').length, files.size - 1);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user