feat(install): build the Flutter web app in Docker, optional ./install --apk, chosen web password, startup report

This commit is contained in:
2026-10-23 21:45:14 +01:00
parent 3136132144
commit 7958d1830e
16 changed files with 776 additions and 29 deletions
@@ -2,9 +2,29 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:pipelines_app/features/updates/app_updates.dart';
void main() {
test('builds live beside the server, under the preview origin', () {
test('builds live on the server\'s own web origin', () {
expect(
updatesBaseFor(Uri.parse('wss://host.ts.net:8443/connect')).toString(),
updatesBaseFor(
Uri.parse('wss://host.ts.net:8443/connect'),
configured: '',
).toString(),
'https://host.ts.net:8443/updates/',
);
expect(
updatesBaseFor(
Uri.parse('ws://192.168.1.5:8082/connect'),
configured: '',
).toString(),
'http://192.168.1.5:8082/updates/',
);
});
test('a build can name another update feed', () {
expect(
updatesBaseFor(
Uri.parse('wss://host.ts.net:8443/connect'),
configured: 'https://host.ts.net:8096/updates',
).toString(),
'https://host.ts.net:8096/updates/',
);
});