-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathBuildImageInAzureImageSourceContext.ts
More file actions
28 lines (23 loc) · 1.37 KB
/
BuildImageInAzureImageSourceContext.ts
File metadata and controls
28 lines (23 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.md in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { Run as AcrRun, ContainerRegistryManagementClient } from '@azure/arm-containerregistry';
import * as vscode from 'vscode';
import type { BuildImageInAzureTelemetryProps as TelemetryProps } from '../../../../telemetry/ImageSourceTelemetryProps';
import type { SetTelemetryProps } from '../../../../telemetry/SetTelemetryProps';
import { ContainerRegistryImageSourceBaseContext } from '../containerRegistry/ContainerRegistryImageSourceContext';
import type { AcrBuildSupportedOS } from './OSPickStep';
export interface BuildImageInAzureImageSourceBaseContext extends ContainerRegistryImageSourceBaseContext {
rootFolder: vscode.WorkspaceFolder;
dockerfilePath: string;
imageName: string;
os: AcrBuildSupportedOS;
uploadedSourceLocation: string;
tarFilePath: string;
client: ContainerRegistryManagementClient;
resourceGroupName: string;
registryName: string;
run: AcrRun;
}
export type BuildImageInAzureImageSourceContext = BuildImageInAzureImageSourceBaseContext & SetTelemetryProps<TelemetryProps>;