feat: add baseos image kinds
This commit is contained in:
@@ -62,6 +62,7 @@ export interface IBaseOsNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type TBaseOsImageArchitecture = 'amd64' | 'arm64' | 'rpi';
|
export type TBaseOsImageArchitecture = 'amd64' | 'arm64' | 'rpi';
|
||||||
|
export type TBaseOsImageKind = 'ubuntu-iso' | 'balena-raw';
|
||||||
|
|
||||||
export type TBaseOsImageBuildStatus = 'queued' | 'building' | 'ready' | 'failed' | 'cancelled';
|
export type TBaseOsImageBuildStatus = 'queued' | 'building' | 'ready' | 'failed' | 'cancelled';
|
||||||
|
|
||||||
@@ -85,6 +86,7 @@ export interface IBaseOsImageBuild {
|
|||||||
data: {
|
data: {
|
||||||
status: TBaseOsImageBuildStatus;
|
status: TBaseOsImageBuildStatus;
|
||||||
architecture: TBaseOsImageArchitecture;
|
architecture: TBaseOsImageArchitecture;
|
||||||
|
imageKind?: TBaseOsImageKind;
|
||||||
cloudlyUrl: string;
|
cloudlyUrl: string;
|
||||||
sourceImageUrl?: string;
|
sourceImageUrl?: string;
|
||||||
ubuntuVersion?: string;
|
ubuntuVersion?: string;
|
||||||
@@ -104,6 +106,7 @@ export interface IBaseOsImageBuild {
|
|||||||
|
|
||||||
export interface IBaseOsImageBuildRequest {
|
export interface IBaseOsImageBuildRequest {
|
||||||
architecture: TBaseOsImageArchitecture;
|
architecture: TBaseOsImageArchitecture;
|
||||||
|
imageKind?: TBaseOsImageKind;
|
||||||
cloudlyUrl?: string;
|
cloudlyUrl?: string;
|
||||||
sourceImageUrl?: string;
|
sourceImageUrl?: string;
|
||||||
ubuntuVersion?: string;
|
ubuntuVersion?: string;
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ export interface ICloudlySettings {
|
|||||||
// CoreBuild worker used for image generation
|
// CoreBuild worker used for image generation
|
||||||
corebuildWorkerUrl?: string;
|
corebuildWorkerUrl?: string;
|
||||||
corebuildWorkerToken?: string;
|
corebuildWorkerToken?: string;
|
||||||
|
corebuildWorkersJson?: string;
|
||||||
|
|
||||||
// AWS Credentials
|
// AWS Credentials
|
||||||
awsAccessKey?: string;
|
awsAccessKey?: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user