Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature]: new container runtime #2512

Merged
merged 139 commits into from
Mar 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
7a31d09
feature: Include the start init files.
Blu-J Aug 17, 2023
40b19c5
chore: Remove the long running from the docker
Blu-J Nov 8, 2023
18cd6c8
chore: Make sure the test is testing something is correct shape
Blu-J Nov 8, 2023
b5da076
chore: Add in some modifications to make the sandboxed and execute in…
Blu-J Nov 9, 2023
94d22ed
chore: Remove the other procedures since all are now via the js
Blu-J Nov 10, 2023
38a624f
chore: Remove the todoes that we have done.
Blu-J Nov 13, 2023
a36ab71
chore: Add some more comments for DrBones
Blu-J Nov 13, 2023
e8684cb
Merge branch 'feature/start_init' into chore/removing-non-long-running
Blu-J Nov 13, 2023
46f594a
chore: Add in the changes that where discussed with @Dr_Bonez in the …
Blu-J Nov 13, 2023
fcdc642
Merge branch 'next/minor' of github.com:Start9Labs/start-os into chor…
dr-bonez Nov 13, 2023
5f40d94
move container init system to project root
dr-bonez Nov 13, 2023
5c578c0
Merge branch 'next/minor' of github.com:Start9Labs/start-os into inte…
dr-bonez Nov 13, 2023
0e2fc07
remove js-engine
dr-bonez Nov 13, 2023
c988bca
Merge branch 'next/minor' of github.com:Start9Labs/start-os into inte…
dr-bonez Nov 13, 2023
069db28
Merge branch 'next/minor' of github.com:Start9Labs/start-os into inte…
dr-bonez Nov 17, 2023
11a2e96
Merge branch 'next/minor' of github.com:Start9Labs/start-os into inte…
dr-bonez Nov 17, 2023
65009e2
Merge branch 'next/minor' of github.com:Start9Labs/start-os into inte…
dr-bonez Nov 20, 2023
fab13db
Feature/lxc container runtime (#2514)
dr-bonez Feb 17, 2024
eae75c1
update network interfaces types
MattDHill Feb 17, 2024
d7bc7a2
make service interfaces and hosts one to one
MattDHill Feb 19, 2024
089199e
Feature/lxc container runtime (#2562)
dr-bonez Feb 22, 2024
39964bf
Feature/lxc container runtime (#2563)
dr-bonez Feb 22, 2024
3bd7596
chore: Fix some issues in the installation of a package and other rpc…
Blu-J Feb 22, 2024
87d6684
Frontend changes for 036 (#2554)
MattDHill Feb 23, 2024
4e3075a
chore: Add in the ability to remove the bad sections?
Blu-J Feb 23, 2024
50f0ead
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Feb 23, 2024
d87748f
add npm workspace file
dr-bonez Feb 26, 2024
ddeed65
remove workspace package json
dr-bonez Feb 27, 2024
6b990e1
chore: Up the version
Blu-J Feb 27, 2024
2f6d7ac
chore: Update to have the startsdk
Blu-J Feb 27, 2024
0b4b091
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Feb 27, 2024
f50ddb4
chore: somethinng
Blu-J Feb 27, 2024
171e0ed
chore: Something
Blu-J Feb 27, 2024
5366b4c
chore: Add another export
Blu-J Feb 27, 2024
11c9323
fix: Let the service be able to be started
Blu-J Mar 4, 2024
8802841
chore: Add some documentation for the service actor seed
Blu-J Mar 4, 2024
093a5d4
chore: Simplify the state into one
Blu-J Mar 6, 2024
8410929
feat: Add the stop/start loop for the service
Blu-J Mar 6, 2024
f3ccad1
chore: Add the process tree destroyer
Blu-J Mar 6, 2024
14be2fa
chore: Add in the ability to kill the tree of processes
Blu-J Mar 6, 2024
efbbaa5
feat: Get the health checks for the js
Blu-J Mar 7, 2024
328beab
chore: Add in the possibility to get the status code from the execute…
Blu-J Mar 7, 2024
a17ec42
chore: Remove some of the bad logging
Blu-J Mar 7, 2024
e0c9f8a
Feature/remove postgres (#2570)
dr-bonez Mar 7, 2024
31ea0fe
fix async cycle
dr-bonez Mar 7, 2024
2e7c3bf
use dockerhub compat
dr-bonez Mar 7, 2024
8665342
fix deadlock
dr-bonez Mar 7, 2024
d986bd2
sync ssh keys on add
dr-bonez Mar 8, 2024
4a28522
chore: Update the version of the cargo
Blu-J Mar 8, 2024
99bb55a
Update some of the types
Blu-J Mar 11, 2024
dc3dc4a
chore: Update some of the system for the embassy properties to be fil…
Blu-J Mar 11, 2024
1308b5b
wait up to 30s for ip address
dr-bonez Mar 11, 2024
64fb002
Merge branch 'integration/new-container-runtime' of github.com:Start9…
dr-bonez Mar 11, 2024
4d402b2
chore: Fix the issue that I made that made it impossible to start a s…
Blu-J Mar 11, 2024
c99d9d9
chore: Add in the properties to somewhere useful.
Blu-J Mar 11, 2024
750f35b
add `--include-private` to db dump rpc
dr-bonez Mar 11, 2024
1f47abf
Merge branch 'integration/new-container-runtime' of github.com:Start9…
dr-bonez Mar 11, 2024
ba325b1
feat: Move the store to private.
Blu-J Mar 12, 2024
b6fe0be
chore: Add in some more files for the testing of the sdk and the rust…
Blu-J Mar 13, 2024
a089d54
chore: Add some of the fixes to make the build work !!!
Blu-J Mar 13, 2024
e871822
chore: Fix the build for the start9labs/sdk was a new directory struc…
Blu-J Mar 14, 2024
45d50b1
chore: Update the types for the sdk
Blu-J Mar 14, 2024
a310c16
chore: Update the types hopefully
Blu-J Mar 14, 2024
e604c91
chore: UPdate to the make, getting rid of a circular dep
Blu-J Mar 15, 2024
1a396cf
reorganize package data and write dependencies rpc (#2571)
dr-bonez Mar 15, 2024
18a2040
chore: Fix the build
Blu-J Mar 15, 2024
9715873
chore: Add in the rest of the effects for now
Blu-J Mar 15, 2024
28fd2f0
More 036 Frontend changes (#2572)
MattDHill Mar 16, 2024
9732846
chore: Update the sdk to match the rust and vica verse
Blu-J Mar 18, 2024
a4cb270
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Mar 18, 2024
a02b531
update sdk
MattDHill Mar 18, 2024
8e2dc8b
chore: Fix the effects
Blu-J Mar 18, 2024
5f40fd6
chore: Remove the utils
Blu-J Mar 18, 2024
3c6c0b2
move mounts to daemons constructor
dr-bonez Mar 18, 2024
2ffa632
Merge branch 'integration/new-container-runtime' of github.com:Start9…
dr-bonez Mar 18, 2024
3a3df96
fix: Test
Blu-J Mar 18, 2024
962e3d8
more specific rust type
dr-bonez Mar 18, 2024
a0ce7f3
chore: Add in the thing to do the volumes correctly
Blu-J Mar 18, 2024
417befb
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Mar 18, 2024
c8be701
chore: Add in the mounts
Blu-J Mar 18, 2024
cc38dab
Rework PackageDataEntry for new strategy (#2573)
MattDHill Mar 19, 2024
3ac71e2
include sdk.Mounts
dr-bonez Mar 19, 2024
53108e8
Merge branch 'integration/new-container-runtime' of github.com:Start9…
dr-bonez Mar 19, 2024
590f6d4
chore: Update the types
Blu-J Mar 19, 2024
47b19e3
fix duplicate
dr-bonez Mar 19, 2024
9162697
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Mar 19, 2024
8d83f64
chore: Update the types for the mocks in the services
Blu-J Mar 19, 2024
57f548c
fix certificate chain
dr-bonez Mar 19, 2024
53d8261
chore: Update the types and get the container-runtime working
Blu-J Mar 20, 2024
41bc519
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Mar 20, 2024
ddd5e4c
blu-j paired changes
Dominion5254 Mar 20, 2024
c74bdc9
fix: util -> utils in the container-runtime
Blu-J Mar 20, 2024
4a27128
chore: Update the types for changes that Matt wanted with sdk + examples
Blu-J Mar 21, 2024
405b3be
complete get_container_ip effect handler
Dominion5254 Mar 21, 2024
ab836c6
remove unneeded imports
Dominion5254 Mar 21, 2024
66b0108
revamp manifest types
MattDHill Mar 21, 2024
a35baca
update rust types to match sdk changes
dr-bonez Mar 21, 2024
f5360cb
wip: Adding in properties and nested path
Blu-J Mar 23, 2024
7441de5
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Mar 23, 2024
b14646e
export tyeps from sdk
MattDHill Mar 24, 2024
c782bab
switch all FE to camelCase (#2576)
MattDHill Mar 24, 2024
fba1484
fix: Bringing in a building for the browser
Blu-J Mar 25, 2024
299d999
chore: Making sure that the values that we are returning are valid no…
Blu-J Mar 25, 2024
e148f14
wip: Properties
Blu-J Mar 25, 2024
2b3fddf
use correct serverconfig type
dr-bonez Mar 25, 2024
cf793f7
Merge branch 'integration/new-container-runtime' of github.com:Start9…
dr-bonez Mar 25, 2024
9cf720e
rename embassy to startos
dr-bonez Mar 26, 2024
4589d4b
update ts-rs to 8.1
dr-bonez Mar 26, 2024
f8441ab
chore: Add in the fix for the test integration to the actual sdk
Blu-J Mar 26, 2024
e25c50a
fix types to match
dr-bonez Mar 26, 2024
33e6be1
Merge branch 'integration/new-container-runtime' of github.com:Start9…
dr-bonez Mar 26, 2024
f9edff8
handle todos
dr-bonez Mar 26, 2024
22d8d08
update patch types for current dependencies
MattDHill Mar 27, 2024
bcc76dd
fix: The db dump on the private
Blu-J Mar 27, 2024
5698b83
Fix: Fix the issue where the restart after a service install and update,
Blu-J Mar 27, 2024
f770d50
export patchdb types
dr-bonez Mar 27, 2024
9cf62f0
Add some extra export action
Blu-J Mar 27, 2024
f41f5eb
export patchdb ts types from rust
dr-bonez Mar 27, 2024
65ca038
chore: Update and fix the things
Blu-J Mar 28, 2024
8ce6535
chore: Update the types for container runtime
Blu-J Mar 28, 2024
86d61d6
update types and format bindings
dr-bonez Mar 28, 2024
e05a95d
Merge branch 'integration/new-container-runtime' of github.com:Start9…
dr-bonez Mar 28, 2024
6e76bcb
fix updates rendering bug
MattDHill Mar 28, 2024
9f3902b
chore: Fix the last of the actions
Blu-J Mar 28, 2024
2395502
Merge branch 'integration/new-container-runtime' of github.com:Start9…
Blu-J Mar 28, 2024
92be4e7
build fixes
dr-bonez Mar 28, 2024
7c63d40
fix build
dr-bonez Mar 28, 2024
665eef6
fix unterminated quote
dr-bonez Mar 28, 2024
e7426ea
touch bindings before make touch
dr-bonez Mar 28, 2024
46412ac
add container runtime to compiled tar
dr-bonez Mar 29, 2024
94f1562
choose base image by arch instead of platform
dr-bonez Mar 29, 2024
61f68d9
install qemu
dr-bonez Mar 29, 2024
3bab767
install qemu as root
dr-bonez Mar 29, 2024
44e856e
fix make -t
dr-bonez Mar 29, 2024
bec63a9
remove extra sdk test line
dr-bonez Mar 29, 2024
1acdd67
chown volume mountpoints
dr-bonez Mar 29, 2024
2318593
fix cargo dep
dr-bonez Mar 29, 2024
b6992e3
yes
dr-bonez Mar 29, 2024
4d6dd44
allow downgrades
dr-bonez Mar 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
More 036 Frontend changes (#2572)
* update patchDB for futuristic revisions

* interfaces display updates

* remove zram and move tor to settings
MattDHill authored Mar 16, 2024
commit 28fd2f03140a2a8df3cb057709a6ee38692a56a8
3 changes: 1 addition & 2 deletions web/projects/ui/src/app/app/preloader/preloader.component.ts
Original file line number Diff line number Diff line change
@@ -40,8 +40,6 @@ const ICONS = [
'file-tray-stacked-outline',
'finger-print-outline',
'flash-outline',
'flask-outline',
'flash-off-outline',
'folder-open-outline',
'globe-outline',
'grid-outline',
@@ -70,6 +68,7 @@ const ICONS = [
'receipt-outline',
'refresh',
'reload',
'reload-circle-outline',
'remove',
'remove-circle-outline',
'remove-outline',
Original file line number Diff line number Diff line change
@@ -10,23 +10,23 @@
<ion-content class="ion-padding-top with-widgets">
<ion-item-group *ngIf="serviceInterfaces$ | async as serviceInterfaces">
<ng-container *ngIf="serviceInterfaces.ui.length">
<ion-item-divider>User Interfaces (UI)</ion-item-divider>
<ion-item-divider>User Interfaces</ion-item-divider>
<app-interfaces-item
*ngFor="let ui of serviceInterfaces.ui"
[iFace]="ui"
></app-interfaces-item>
</ng-container>

<ng-container *ngIf="serviceInterfaces.api.length">
<ion-item-divider>Application Program Interfaces (API)</ion-item-divider>
<ion-item-divider>Application Program Interfaces</ion-item-divider>
<app-interfaces-item
*ngFor="let api of serviceInterfaces.api"
[iFace]="api"
></app-interfaces-item>
</ng-container>

<ng-container *ngIf="serviceInterfaces.p2p.length">
<ion-item-divider>Peer-To-Peer Interfaces (P2P)</ion-item-divider>
<ion-item-divider>Peer-To-Peer Interfaces</ion-item-divider>
<app-interfaces-item
*ngFor="let p2p of serviceInterfaces.p2p"
[iFace]="p2p"
Original file line number Diff line number Diff line change
@@ -116,49 +116,54 @@ function getAddresses(
? [host.hostname]
: []

return hostnames
.map((h: any) => {
const addresses: MappedAddress[] = []
const addresses: MappedAddress[] = []

let name = ''
let hostname = ''
hostnames.forEach(h => {
let name = ''
let hostname = ''

if (h.kind === 'onion') {
name = 'Tor'
hostname = h.hostname.value
} else {
name = h.hostname.kind
hostname =
h.hostname.kind === 'domain'
? `${h.hostname.subdomain}.${h.hostname.domain}`
: h.hostname.value
}

if (h.hostname.sslPort) {
const port = h.hostname.sslPort === 443 ? '' : `:${h.hostname.sslPort}`
const scheme = addressInfo.bindOptions.addSsl?.scheme
? `${addressInfo.bindOptions.addSsl.scheme}://`
: ''

addresses.push({
name,
url: `${scheme}${username}${hostname}${port}${suffix}`,
})
}
if (h.kind === 'onion') {
name = 'Tor'
hostname = h.hostname.value
} else {
const hostnameKind = h.hostname.kind

if (h.hostname.port) {
const port = h.hostname.port === 80 ? '' : `:${h.hostname.port}`
const scheme = addressInfo.bindOptions.scheme
? `${addressInfo.bindOptions.scheme}://`
: ''

addresses.push({
name,
url: `${scheme}${username}${hostname}${port}${suffix}`,
})
if (hostnameKind === 'domain') {
name = 'Domain'
hostname = `${h.hostname.subdomain}.${h.hostname.domain}`
} else {
name =
hostnameKind === 'local'
? 'Local'
: `${h.networkInterfaceId} (${hostnameKind})`
hostname = h.hostname.value
}

return addresses
})
.flat()
}

if (h.hostname.sslPort) {
const port = h.hostname.sslPort === 443 ? '' : `:${h.hostname.sslPort}`
const scheme = addressInfo.bindOptions.addSsl?.scheme
? `${addressInfo.bindOptions.addSsl.scheme}://`
: ''

addresses.push({
name: name === 'Tor' ? 'Tor (HTTPS)' : name,
url: `${scheme}${username}${hostname}${port}${suffix}`,
})
}

if (h.hostname.port) {
const port = h.hostname.port === 80 ? '' : `:${h.hostname.port}`
const scheme = addressInfo.bindOptions.scheme
? `${addressInfo.bindOptions.scheme}://`
: ''

addresses.push({
name: name === 'Tor' ? 'Tor (HTTP)' : name,
url: `${scheme}${username}${hostname}${port}${suffix}`,
})
}
})

return addresses
}

This file was deleted.

This file was deleted.

Empty file.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -80,13 +80,6 @@ const routes: Routes = [
loadChildren: () =>
import('./wifi/wifi.module').then(m => m.WifiPageModule),
},
{
path: 'experimental-features',
loadChildren: () =>
import('./experimental-features/experimental-features.module').then(
m => m.ExperimentalFeaturesPageModule,
),
},
]

@NgModule({
Loading