Skip to content

Commit

Permalink
e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
patelchandni committed May 22, 2024
1 parent 224d38b commit c7295e6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/appservice-rest/Kudu/azure-app-kudu-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { KuduServiceClient } from './KuduServiceClient';
import { exists } from '@actions/io/lib/io-util';

import core = require('@actions/core');
import { CANCELLED } from 'dns';

export const KUDU_DEPLOYMENT_CONSTANTS = {
CANCELLED: -1,
Expand Down
2 changes: 1 addition & 1 deletion src/handlers/contentPreparer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ export class ContentPreparer implements IOrchestratable {
"You can use it to exclude files from deployment.")
return
}

FuncIgnore.removeFilesFromFuncIgnore(packagePath, funcignoreParser);
return;
}
Expand Down
6 changes: 3 additions & 3 deletions src/handlers/parameterValidator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ export class ParameterValidator implements IOrchestratable {
private _respectPomXml: string;
private _respectFuncignore: string;
private _scmDoBuildDuringDeployment: string;
private _remoteBuild: string;
private _enableOryxBuild: string;
private _scmCredentials: IScmCredentials
private _sku: string;
private _remoteBuild: string;

constructor() {
this.parseScmCredentials = this.parseScmCredentials.bind(this);
Expand All @@ -44,9 +44,9 @@ export class ParameterValidator implements IOrchestratable {
this._respectPomXml = core.getInput(ConfigurationConstant.ParamInRespectPomXml);
this._respectFuncignore = core.getInput(ConfigurationConstant.ParamInRespectFuncignore);
this._scmDoBuildDuringDeployment = core.getInput(ConfigurationConstant.ParamInScmDoBuildDuringDeployment);
this._remoteBuild = core.getInput(ConfigurationConstant.ParamInRemoteBuild);
this._enableOryxBuild = core.getInput(ConfigurationConstant.ParamInEnableOryxBuild);
this._sku = core.getInput(ConfigurationConstant.ParamInSku);
this._remoteBuild = core.getInput(ConfigurationConstant.ParamInRemoteBuild);

// Validate field
if (this._slot !== undefined && this._slot.trim() === "") {
Expand All @@ -66,9 +66,9 @@ export class ParameterValidator implements IOrchestratable {
params.respectPomXml = Parser.IsTrueLike(this._respectPomXml);
params.respectFuncignore = Parser.IsTrueLike(this._respectFuncignore);
params.scmDoBuildDuringDeployment = ScmBuildUtil.FromString(this._scmDoBuildDuringDeployment);
params.remoteBuild = Parser.IsTrueLike(this._remoteBuild);
params.enableOryxBuild = EnableOryxBuildUtil.FromString(this._enableOryxBuild);
params.sku = this._sku.toLowerCase();
params.remoteBuild = Parser.IsTrueLike(this._remoteBuild);
return params;
}

Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/IActionParameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface IActionParameters {
respectPomXml: boolean;
respectFuncignore: boolean;
scmDoBuildDuringDeployment: ScmBuildConstant;
remoteBuild: boolean;
enableOryxBuild: EnableOryxBuildConstant;
sku: string;
remoteBuild: boolean;
}
4 changes: 2 additions & 2 deletions src/managers/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export class Builder {
respectPomXml: false,
respectFuncignore: false,
scmDoBuildDuringDeployment: ScmBuildConstant.Disabled,
remoteBuild: false,
enableOryxBuild: EnableOryxBuildConstant.Disabled,
sku: undefined
sku: undefined,
remoteBuild: false
}
}

Expand Down

0 comments on commit c7295e6

Please sign in to comment.