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/k8_v2 #754

Draft
wants to merge 40 commits into
base: feature/c2d_docker
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2c56498
start work on docker c2d
alexcos20 Oct 1, 2024
bfcfc21
more on db
alexcos20 Oct 1, 2024
30fdbf2
fix c2d database
alexcos20 Oct 2, 2024
08f5d34
generic c2d schema
alexcos20 Oct 2, 2024
ab52c87
BREAKING: refactor ComputeAsset and ComputeStartCommand interfaces
alexcos20 Oct 5, 2024
0c3f7e3
add freeCompute handler
alexcos20 Oct 5, 2024
9e1fd39
Merge branch 'main' into feature/c2d_docker
alexcos20 Oct 5, 2024
da59f18
working POC of Docker compute
alexcos20 Oct 6, 2024
b85325c
small fixes
alexcos20 Oct 6, 2024
c3887aa
update deps
alexcos20 Oct 6, 2024
610bc4e
update ignores
alexcos20 Oct 6, 2024
d26a8c5
fix getComputeJobResult and getComputeJobStatus
alexcos20 Oct 7, 2024
0ecf3e5
fix conflicts merge main
paulo-ocean Oct 17, 2024
88aecf1
wip: add sql lite db
paulo-ocean Oct 21, 2024
f45278d
merge main
paulo-ocean Oct 22, 2024
b8b86f1
Merge branch 'main' into feature/c2d_docker
paulo-ocean Oct 22, 2024
e13a027
more changes + refactor internal blob/body
paulo-ocean Oct 22, 2024
07851ca
add get running jobs
paulo-ocean Oct 22, 2024
04ca135
minor changes on DB struct, defaults
paulo-ocean Oct 23, 2024
66d97f7
add logging
paulo-ocean Oct 23, 2024
b28ca2c
Merge branch 'main' into feature/c2d_docker
paulo-ocean Oct 24, 2024
36a8b95
small refactor
paulo-ocean Oct 24, 2024
4a4c6d7
change log to inof
paulo-ocean Oct 24, 2024
4f15d9c
Merge branch 'main' into feature/c2d_docker
paulo-ocean Oct 25, 2024
28dd303
wip: adding cron to delete expired storage and expired jobs
paulo-ocean Oct 25, 2024
ed5d2ec
add test for getting expied and clean
paulo-ocean Oct 28, 2024
bcd0878
refactor deletion, add .env properties
paulo-ocean Oct 28, 2024
ac5effa
small refactor
paulo-ocean Oct 28, 2024
85ac957
Merge branch 'main' into feature/c2d_docker
paulo-ocean Oct 29, 2024
710ec29
cleanup free job aftre download results
paulo-ocean Oct 29, 2024
795efc6
some logs
paulo-ocean Oct 30, 2024
0967141
Merge branch 'main' into feature/c2d_docker
paulo-ocean Oct 30, 2024
3c99d71
more logs + small refactor
paulo-ocean Oct 31, 2024
855c768
Merge branch 'main' into feature/c2d_docker
paulo-ocean Nov 4, 2024
5aae86b
fix: check for file object
paulo-ocean Nov 5, 2024
ccf3d29
wip: add env vars for docket compute envs
paulo-ocean Nov 5, 2024
d872753
wip: add env vars for docket compute envs
paulo-ocean Nov 5, 2024
745dc90
merge main
paulo-ocean Nov 6, 2024
40121ab
add config options
paulo-ocean Nov 6, 2024
3bba502
wip
alexcos20 Nov 18, 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
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ node_modules
/dist/*
!/dist/dashboard
logs
c2d_storage
.env.local
.env
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,3 +155,4 @@ html-report.html
# databases
*.sqlite
databases/*
c2d_storage/*
197 changes: 196 additions & 1 deletion dist/dashboard/404.html
Original file line number Diff line number Diff line change
@@ -1 +1,196 @@
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><title>404: This page could not be found</title><meta name="next-head-count" content="3"/><link rel="preload" href="/_next/static/css/28e16ff29a58442c.css" as="style" crossorigin=""/><link rel="stylesheet" href="/_next/static/css/28e16ff29a58442c.css" crossorigin="" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" crossorigin="" nomodule="" src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"></script><script src="/_next/static/chunks/webpack-fe817b75e2ea8908.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/framework-ca706bf673a13738.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/main-66d85fc6f7952338.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_app-8a605b014f26ab32.js" defer="" crossorigin=""></script><script src="/_next/static/chunks/pages/_error-e4216aab802f5810.js" defer="" crossorigin=""></script><script src="/_next/static/dWTZat63Weh2kEqjHUkGv/_buildManifest.js" defer="" crossorigin=""></script><script src="/_next/static/dWTZat63Weh2kEqjHUkGv/_ssgManifest.js" defer="" crossorigin=""></script></head><body><div id="__next"><div data-rk=""><style>[data-rk]{--rk-blurs-modalOverlay:blur(0px);--rk-fonts-body:SFRounded, ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";--rk-radii-actionButton:9999px;--rk-radii-connectButton:12px;--rk-radii-menuButton:12px;--rk-radii-modal:24px;--rk-radii-modalMobile:28px;--rk-colors-accentColor:#0E76FD;--rk-colors-accentColorForeground:#FFF;--rk-colors-actionButtonBorder:rgba(0, 0, 0, 0.04);--rk-colors-actionButtonBorderMobile:rgba(0, 0, 0, 0.06);--rk-colors-actionButtonSecondaryBackground:rgba(0, 0, 0, 0.06);--rk-colors-closeButton:rgba(60, 66, 66, 0.8);--rk-colors-closeButtonBackground:rgba(0, 0, 0, 0.06);--rk-colors-connectButtonBackground:#FFF;--rk-colors-connectButtonBackgroundError:#FF494A;--rk-colors-connectButtonInnerBackground:linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.06));--rk-colors-connectButtonText:#25292E;--rk-colors-connectButtonTextError:#FFF;--rk-colors-connectionIndicator:#30E000;--rk-colors-downloadBottomCardBackground:linear-gradient(126deg, rgba(255, 255, 255, 0) 9.49%, rgba(171, 171, 171, 0.04) 71.04%), #FFFFFF;--rk-colors-downloadTopCardBackground:linear-gradient(126deg, rgba(171, 171, 171, 0.2) 9.49%, rgba(255, 255, 255, 0) 71.04%), #FFFFFF;--rk-colors-error:#FF494A;--rk-colors-generalBorder:rgba(0, 0, 0, 0.06);--rk-colors-generalBorderDim:rgba(0, 0, 0, 0.03);--rk-colors-menuItemBackground:rgba(60, 66, 66, 0.1);--rk-colors-modalBackdrop:rgba(0, 0, 0, 0.3);--rk-colors-modalBackground:#FFF;--rk-colors-modalBorder:transparent;--rk-colors-modalText:#25292E;--rk-colors-modalTextDim:rgba(60, 66, 66, 0.3);--rk-colors-modalTextSecondary:rgba(60, 66, 66, 0.6);--rk-colors-profileAction:#FFF;--rk-colors-profileActionHover:rgba(255, 255, 255, 0.5);--rk-colors-profileForeground:rgba(60, 66, 66, 0.06);--rk-colors-selectedOptionBorder:rgba(60, 66, 66, 0.1);--rk-colors-standby:#FFD641;--rk-shadows-connectButton:0px 4px 12px rgba(0, 0, 0, 0.1);--rk-shadows-dialog:0px 8px 32px rgba(0, 0, 0, 0.32);--rk-shadows-profileDetailsAction:0px 2px 6px rgba(37, 41, 46, 0.04);--rk-shadows-selectedOption:0px 2px 6px rgba(0, 0, 0, 0.24);--rk-shadows-selectedWallet:0px 2px 6px rgba(0, 0, 0, 0.12);--rk-shadows-walletLogo:0px 2px 16px rgba(0, 0, 0, 0.16);}</style><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">This page could not be found<!-- -->.</h2></div></div></div></div></div><script id="__NEXT_DATA__" type="application/json" crossorigin="">{"props":{"pageProps":{"statusCode":404}},"page":"/_error","query":{},"buildId":"dWTZat63Weh2kEqjHUkGv","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>404: This page could not be found</title>
<meta name="next-head-count" content="3" />
<link
rel="preload"
href="/_next/static/css/28e16ff29a58442c.css"
as="style"
crossorigin=""
/>
<link
rel="stylesheet"
href="/_next/static/css/28e16ff29a58442c.css"
crossorigin=""
data-n-g=""
/>
<noscript data-n-css=""></noscript>
<script
defer=""
crossorigin=""
nomodule=""
src="/_next/static/chunks/polyfills-c67a75d1b6f99dc8.js"
></script>
<script
src="/_next/static/chunks/webpack-fe817b75e2ea8908.js"
defer=""
crossorigin=""
></script>
<script
src="/_next/static/chunks/framework-ca706bf673a13738.js"
defer=""
crossorigin=""
></script>
<script
src="/_next/static/chunks/main-66d85fc6f7952338.js"
defer=""
crossorigin=""
></script>
<script
src="/_next/static/chunks/pages/_app-8a605b014f26ab32.js"
defer=""
crossorigin=""
></script>
<script
src="/_next/static/chunks/pages/_error-e4216aab802f5810.js"
defer=""
crossorigin=""
></script>
<script
src="/_next/static/dWTZat63Weh2kEqjHUkGv/_buildManifest.js"
defer=""
crossorigin=""
></script>
<script
src="/_next/static/dWTZat63Weh2kEqjHUkGv/_ssgManifest.js"
defer=""
crossorigin=""
></script>
</head>
<body>
<div id="__next">
<div data-rk="">
<style>
[data-rk] {
--rk-blurs-modalOverlay: blur(0px);
--rk-fonts-body: SFRounded, ui-rounded, 'SF Pro Rounded', -apple-system,
BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
--rk-radii-actionButton: 9999px;
--rk-radii-connectButton: 12px;
--rk-radii-menuButton: 12px;
--rk-radii-modal: 24px;
--rk-radii-modalMobile: 28px;
--rk-colors-accentColor: #0e76fd;
--rk-colors-accentColorForeground: #fff;
--rk-colors-actionButtonBorder: rgba(0, 0, 0, 0.04);
--rk-colors-actionButtonBorderMobile: rgba(0, 0, 0, 0.06);
--rk-colors-actionButtonSecondaryBackground: rgba(0, 0, 0, 0.06);
--rk-colors-closeButton: rgba(60, 66, 66, 0.8);
--rk-colors-closeButtonBackground: rgba(0, 0, 0, 0.06);
--rk-colors-connectButtonBackground: #fff;
--rk-colors-connectButtonBackgroundError: #ff494a;
--rk-colors-connectButtonInnerBackground: linear-gradient(
0deg,
rgba(0, 0, 0, 0.03),
rgba(0, 0, 0, 0.06)
);
--rk-colors-connectButtonText: #25292e;
--rk-colors-connectButtonTextError: #fff;
--rk-colors-connectionIndicator: #30e000;
--rk-colors-downloadBottomCardBackground: linear-gradient(
126deg,
rgba(255, 255, 255, 0) 9.49%,
rgba(171, 171, 171, 0.04) 71.04%
),
#ffffff;
--rk-colors-downloadTopCardBackground: linear-gradient(
126deg,
rgba(171, 171, 171, 0.2) 9.49%,
rgba(255, 255, 255, 0) 71.04%
),
#ffffff;
--rk-colors-error: #ff494a;
--rk-colors-generalBorder: rgba(0, 0, 0, 0.06);
--rk-colors-generalBorderDim: rgba(0, 0, 0, 0.03);
--rk-colors-menuItemBackground: rgba(60, 66, 66, 0.1);
--rk-colors-modalBackdrop: rgba(0, 0, 0, 0.3);
--rk-colors-modalBackground: #fff;
--rk-colors-modalBorder: transparent;
--rk-colors-modalText: #25292e;
--rk-colors-modalTextDim: rgba(60, 66, 66, 0.3);
--rk-colors-modalTextSecondary: rgba(60, 66, 66, 0.6);
--rk-colors-profileAction: #fff;
--rk-colors-profileActionHover: rgba(255, 255, 255, 0.5);
--rk-colors-profileForeground: rgba(60, 66, 66, 0.06);
--rk-colors-selectedOptionBorder: rgba(60, 66, 66, 0.1);
--rk-colors-standby: #ffd641;
--rk-shadows-connectButton: 0px 4px 12px rgba(0, 0, 0, 0.1);
--rk-shadows-dialog: 0px 8px 32px rgba(0, 0, 0, 0.32);
--rk-shadows-profileDetailsAction: 0px 2px 6px rgba(37, 41, 46, 0.04);
--rk-shadows-selectedOption: 0px 2px 6px rgba(0, 0, 0, 0.24);
--rk-shadows-selectedWallet: 0px 2px 6px rgba(0, 0, 0, 0.12);
--rk-shadows-walletLogo: 0px 2px 16px rgba(0, 0, 0, 0.16);
}
</style>
<div
style="
font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji';
height: 100vh;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
"
>
<div style="line-height: 48px">
<style>
body {
color: #000;
background: #fff;
margin: 0;
}
.next-error-h1 {
border-right: 1px solid rgba(0, 0, 0, 0.3);
}
@media (prefers-color-scheme: dark) {
body {
color: #fff;
background: #000;
}
.next-error-h1 {
border-right: 1px solid rgba(255, 255, 255, 0.3);
}
}
</style>
<h1
class="next-error-h1"
style="
display: inline-block;
margin: 0 20px 0 0;
padding-right: 23px;
font-size: 24px;
font-weight: 500;
vertical-align: top;
"
>
404
</h1>
<div style="display: inline-block">
<h2 style="font-size: 14px; font-weight: 400; line-height: 28px">
This page could not be found<!-- -->.
</h2>
</div>
</div>
</div>
</div>
</div>
<script id="__NEXT_DATA__" type="application/json" crossorigin="">
{
"props": { "pageProps": { "statusCode": 404 } },
"page": "/_error",
"query": {},
"buildId": "dWTZat63Weh2kEqjHUkGv",
"nextExport": true,
"isFallback": false,
"gip": true,
"scriptLoader": []
}
</script>
</body>
</html>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB();
Loading
Loading