Refactor/project structure (#3085)

* refactor project structure

* environment-based default registry

* fix tests

* update build container

* use docker platform for iso build emulation

* simplify compat

* Fix docker platform spec in run-compat.sh

* handle riscv compat

* fix bug with dep error exists attr

* undo removal of sorting

* use qemu for iso stage

---------

Co-authored-by: Mariusz Kogen <k0gen@pm.me>
Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
Aiden McClelland
2025-12-22 13:39:38 -07:00
committed by GitHub
parent eda08d5b0f
commit 96ae532879
389 changed files with 744 additions and 4005 deletions

View File

@@ -6,6 +6,7 @@ const {
gitHash,
useMocks,
ui: { api, mocks },
defaultRegistry,
} = require('../../../../../config.json') as WorkspaceConfig
@Injectable({
@@ -26,6 +27,7 @@ export class ConfigService {
api = api
skipStartupAlerts = useMocks && mocks.skipStartupAlerts
supportsWebSockets = !!window.WebSocket
defaultRegistry = defaultRegistry
isTor(): boolean {
return useMocks ? mocks.maskAs === 'tor' : this.hostname.endsWith('.onion')

View File

@@ -156,15 +156,14 @@ export class DepErrorService {
const depStatus = getInstalledBaseStatus(dep.statusInfo)
// not running
if (depStatus !== 'running' && depStatus !== 'starting') {
return {
type: 'notRunning',
}
}
// health check failure
if (currentDep?.kind === 'running') {
// not running
if (depStatus !== 'running' && depStatus !== 'starting') {
return {
type: 'notRunning',
}
}
// health check failure
for (let id of currentDep.healthChecks) {
const check = dep.statusInfo.health[id]
if (check?.result !== 'success') {