mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 01:25:36 -05:00
Added UI for user to accept EULA when deploying sql proj to docker container (#17762)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { IDeploySettings } from '../IDeploySettings';
|
||||
import type * as azdataType from 'azdata';
|
||||
|
||||
export enum AppSettingType {
|
||||
None,
|
||||
@@ -27,6 +28,15 @@ export interface ILocalDbSetting {
|
||||
password: string,
|
||||
dbName: string,
|
||||
dockerBaseImage: string,
|
||||
dockerBaseImageEula: string,
|
||||
connectionRetryTimeout?: number,
|
||||
profileName?: string
|
||||
}
|
||||
|
||||
export interface DockerImageInfo {
|
||||
name: string,
|
||||
agreementInfo: AgreementInfo
|
||||
}
|
||||
export interface AgreementInfo {
|
||||
link: azdataType.LinkArea;
|
||||
}
|
||||
|
||||
@@ -131,6 +131,11 @@ export class DeployService {
|
||||
}
|
||||
|
||||
await this.verifyDocker();
|
||||
this.logToOutput(constants.dockerImageMessage);
|
||||
this.logToOutput(profile.localDbSetting.dockerBaseImage);
|
||||
|
||||
this.logToOutput(constants.dockerImageEulaMessage);
|
||||
this.logToOutput(profile.localDbSetting.dockerBaseImageEula);
|
||||
|
||||
const imageSpec = this.getDockerImageSpec(project.projectFileName, profile.localDbSetting.dockerBaseImage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user