Skip to content

Commit

Permalink
WIP: multipart uploads for large assets
Browse files Browse the repository at this point in the history
Change-type: major
  • Loading branch information
otaviojacobi committed Apr 18, 2024
1 parent 5cd7626 commit 433e7cb
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
20 changes: 10 additions & 10 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"@balena/env-parsing": "^1.1.10",
"@balena/es-version": "^1.0.3",
"@balena/node-metrics-gatherer": "^6.0.3",
"@balena/pinejs": "^16.0.0",
"@balena/pinejs-webresource-cloudfront": "^0.1.0",
"@balena/pinejs": "17.0.0-build-wip-large-file-uploads-8d9c57891b422476172efba74cacc2a0fea09248-1",
"@balena/pinejs-webresource-cloudfront": "0.1.1-build-test-large-file-uploads-3684b80641a54d75ea9d8302e1d6628395385c27-1",
"@sentry/node": "^7.99.0",
"@types/basic-auth": "^1.1.8",
"@types/bluebird": "^3.5.42",
Expand Down
2 changes: 1 addition & 1 deletion src/balena-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ export interface ReleaseAsset {
release: { __id: number } | [Release];
asset_key: string;
id: number;
asset: WebResource;
asset: WebResource | null;
}

export interface MyApplication {
Expand Down
2 changes: 1 addition & 1 deletion src/balena.sbvr
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ Fact type: release has asset key

-- release asset
Fact type: release asset has asset
Necessity: each release asset has exactly one asset.
Necessity: each release asset has at most one asset.


-- service environment variable
Expand Down
2 changes: 2 additions & 0 deletions src/migrations/00086-nullable-release-assets-asset.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "release asset"
ALTER COLUMN "asset" DROP NOT NULL;

0 comments on commit 433e7cb

Please sign in to comment.