Skip to content

Commit 6524a53

Browse files
kumaraksh1suaggarasranjaN-Ushaeaarora-ms
authored
Releases/v2.2.5 (#273)
* Remove publish profile from logs (#18) * Remove publish profile from logs * ignore case for app name and slot * Fix typo in action.yml * Update README.md * Update README.md * Update README.md * Remove duplicate error messages (#23) * Update README.md * Added L0 tests and yml workflow * Workflow file added * Login&sample workflow * Sampleworkflow * Cloudshell quickstart * word correction * alignment * "create webapp in Azure using app service" * Publish prof container master (#35) * Added support for container apps with publish profile * Renamed publish profile container provider * refactor * Addressed review comments * Integrated diagnostics runtime API to get appOS * updated error message * updated error messages * updated error message * updated unit tests for publish profile container * quotes fix * changes in PublishProfileContainerWebAppValidator * refactor * added package-lock.json * adding lib * Documentation updates for publish profile container (#40) * updated action.yml * Update action.yml * Update action.yml * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Fixing typo * updating webappkind enum (#44) * Moving setresourcedetails into Publish profile container (#47) * change in validation factory * Update ValidatorFactory.js * fix for runtime os * update error log * updated error log * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * publish profile for slot deployment * updated document for slot * Fix private registry credentials example config (#58) * Expand explanation of az ad sp create-for-rbac in readme (#65) * Expanding explanation of az ad sp create-for-rbac * Small edits * Add note on managing service principals * Small clarifications, especially to heading * Clarify that examples are given in the article * Update secrets link * Bump @actions/core from 1.2.1 to 1.2.6 Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.1 to 1.2.6. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) Signed-off-by: dependabot[bot] <[email protected]> * Create issue-label-bot.yaml * New appkind support (#1) * New app-kind support * handling publish profile username scenarios * renamed test folder * renamed test folder in config file * added comments * Bump lodash from 4.17.15 to 4.17.20 (#72) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update README.md (#69) Placed a link to ensure that customers loop back to the pre-requisite section before building a Web App if they have skipped over it. * Update README.md (#80) * Update README.md * Update README.md (#82) * Fixed a small syntax error in the markdown 😊 (#84) * Update README.md (#87) * Make app-name and slot-name as lower case * Temp add node_modules * audit fix * update node version * temp commit for test * revert temp commit * remove node_modules * remove unnecessary file * Addressing comment * Update issue templates * Updated Readme for webapps-deploy actions (#97) * Update README.md * Update README.md * Update README.md Co-authored-by: Usha N <[email protected]> * added logs for multicontainer support (#104) * fix for duplicate duployment issue (#111) * Fix typo in error message (#116) * Fix typo in error message Change "credentails" to "credentials". * Fix typo in lib Also fix the typo in the built code in the lib folder. * Bump y18n from 4.0.0 to 4.0.1 Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] <[email protected]> * Creating a workflow to label stale issues and PRs 1. Creating a workflow to label stale issues and PRs which have been open for 14 days with no activity. 2. Also close the stale issue in 5 days. PRs are not closed automatically as of now. * Update stale.yml * Update stale.yml * Updating trigger to run on a schedule only. * Update and rename stale.yml to defaultLabels.yml (#153) * Users/balaga gayatri/defaultlabels (#158) * Update and rename stale.yml to defaultLabels.yml * Update defaultLabels.yml * Update defaultLabels.yml * Update defaultLabels.yml * updating users/amkawade/kubeapp with master (#169) (#170) * updating users/amkawade/kubeapp with master (#169) * Bump lodash from 4.17.15 to 4.17.20 (#72) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.20) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Update README.md (#69) Placed a link to ensure that customers loop back to the pre-requisite section before building a Web App if they have skipped over it. * Update README.md (#80) * Update README.md * Update README.md (#82) * Fixed a small syntax error in the markdown 😊 (#84) * Update README.md (#87) * Make app-name and slot-name as lower case * Temp add node_modules * audit fix * update node version * temp commit for test * revert temp commit * remove node_modules * remove unnecessary file * Addressing comment * Update issue templates * Updated Readme for webapps-deploy actions (#97) * Update README.md * Update README.md * Update README.md Co-authored-by: Usha N <[email protected]> * added logs for multicontainer support (#104) * fix for duplicate duployment issue (#111) * Fix typo in error message (#116) * Fix typo in error message Change "credentails" to "credentials". * Fix typo in lib Also fix the typo in the built code in the lib folder. * Bump y18n from 4.0.0 to 4.0.1 Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. - [Release notes](https://github.com/yargs/y18n/releases) - [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md) - [Commits](https://github.com/yargs/y18n/commits) Signed-off-by: dependabot[bot] <[email protected]> * Creating a workflow to label stale issues and PRs 1. Creating a workflow to label stale issues and PRs which have been open for 14 days with no activity. 2. Also close the stale issue in 5 days. PRs are not closed automatically as of now. * Update stale.yml * Update stale.yml * Updating trigger to run on a schedule only. * Update and rename stale.yml to defaultLabels.yml (#153) * Users/balaga gayatri/defaultlabels (#158) * Update and rename stale.yml to defaultLabels.yml * Update defaultLabels.yml * Update defaultLabels.yml * Update defaultLabels.yml Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rabeea Emad <[email protected]> Co-authored-by: Jason Freeberg <[email protected]> Co-authored-by: aksm-ms <[email protected]> Co-authored-by: Teo Voinea <[email protected]> Co-authored-by: Usha N <[email protected]> Co-authored-by: xaxle <[email protected]> Co-authored-by: Shivangi Mittal <[email protected]> Co-authored-by: 20shivangi <[email protected]> Co-authored-by: Amruta Kawade <[email protected]> Co-authored-by: Zainudeen V K <[email protected]> Co-authored-by: Usha N <[email protected]> Co-authored-by: Martin Costello <[email protected]> Co-authored-by: Kanchan Verma <[email protected]> * updating lib files * kubeapp lib files * resolving conflicts Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rabeea Emad <[email protected]> Co-authored-by: Jason Freeberg <[email protected]> Co-authored-by: aksm-ms <[email protected]> Co-authored-by: Teo Voinea <[email protected]> Co-authored-by: Usha N <[email protected]> Co-authored-by: xaxle <[email protected]> Co-authored-by: Shivangi Mittal <[email protected]> Co-authored-by: 20shivangi <[email protected]> Co-authored-by: Amruta Kawade <[email protected]> Co-authored-by: Zainudeen V K <[email protected]> Co-authored-by: Usha N <[email protected]> Co-authored-by: Martin Costello <[email protected]> Co-authored-by: Kanchan Verma <[email protected]> * Users/balaga gayatri/multi container master (#171) * added multicontainer support for linux * resolve conflicts * Update PublishProfileWebAppValidator.js * Update SpnLinuxContainerWebAppValidator.js * Update SpnWindowsContainerWebAppValidator.js * Update SpnWindowsWebAppValidator.js * Update WebAppContainerDeployment.js * Update Validations.js * Update Validations.js * Update PublishProfileWebAppContainerDeploymentProvider.js * Update PublishProfileContainerWebAppValidator.js * added necessary conditions * Adding commit message to zipDeploy payload (#127) * added commit message to zipDeploy payload * added commit message to zipDeploy payload * Added input field to the action.yml * removed node_modules * removed nodemodules * Removed node_modules from source code * Users/balaga gayatri/commit message fix (#125) * added commit message to zipDeploy payload * added commit message to zipDeploy payload * Added input field to the action.yml * removed node_modules * removed nodemodules * Removed node_modules from source code * removed taking input through action.yml * removed node_modules after testing * Users/balaga gayatri/commit message fix (#126) * added commit message to zipDeploy payload without action.yml input * Update action.yml * Removing formatting * removed whitespaces * adding node_modules * adding node_modules * debugging for head_commit message * debugging for head_commit message * debugging for head_commit message * debugging for head_commit message * Added empty commit message for non push github event * Update main.ts * Update main.ts * Users/balaga gayatri/commit message fix (#131) * Added empty commit message for non push github event * changes * added node_modules * node_modules * updated lib file * whitespace changes * Bump ws from 7.3.1 to 7.4.6 (#155) Bumps [ws](https://github.com/websockets/ws) from 7.3.1 to 7.4.6. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.3.1...7.4.6) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump hosted-git-info from 2.8.8 to 2.8.9 (#139) Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. - [Release notes](https://github.com/npm/hosted-git-info/releases) - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md) - [Commits](npm/hosted-git-info@v2.8.8...v2.8.9) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump lodash from 4.17.20 to 4.17.21 (#137) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.20...4.17.21) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Create CODEOWNERS (#175) * Remove windowsContainerAppNotAllowedForPublishProfile validator. (#134) * Fix typo in command name `az ad sp create-for-rbac` (#179) Everything else refers to `sp` so I assume this is just a typo. * Fix README to mention Windows container can also publish via publishing profile (#185) * Remove windowsContainerAppNotAllowedForPublishProfile validator. * Fix readme to mention Windows container can also publish using publishing profile. * Users/balaga gayatri/prchecksrepo (#163) * Create intergation-tests.yml * Create InvokeL2RepoDispatchEvent.sh * Update intergation-tests.yml * Update InvokeL2RepoDispatchEvent.sh * Update intergation-tests.yml * Delete InvokeL2RepoDispatchEvent.sh * Delete intergation-tests.yml * Create webapp_dotnet_windows_code.yml * Update webapp_dotnet_windows_code.yml * Update webapp_dotnet_windows_code.yml * Update webapp_dotnet_windows_code.yml * Update webapp_dotnet_windows_code.yml * Create webapp_python_linux_code.yml * Delete webapp_dotnet_windows_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update webapp_python_linux_code.yml * Update and rename webapp_python_linux_code.yml to pr_check_webapp_dotnet_windows.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_webapp_dotnet_windows.yml Added automation test environment * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_webapp_dotnet_windows.yml * Create pr_check_windows_container_pubprofile.yml * Update pr_check_windows_container_pubprofile.yml * Update pr_check_windows_container_pubprofile.yml * Update pr_check_windows_container_pubprofile.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_windows_container_pubprofile.yml Co-authored-by: Kanika Pasrija <[email protected]> * Rename CODEOWNERS to CODEOWNER * Delete CODEOWNER * Create CODEOWNERS * Rename bug-report---feature-request.md to bug-report-feature-request.md * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_windows_container_pubprofile.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_windows_container_pubprofile.yml * Update README.md * Trim commit message to not include description * Updating the workflow files with new resources (#249) * Update pr_check_windows_container_pubprofile.yml * Update pr_check_webapp_dotnet_windows.yml * Update pr_check_windows_container_pubprofile.yml (#250) * add sample github action yml for go apps on azure app services * Added node version 16 in action.yml at line no.35 (#264) This change was done for below warning message. : Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: azure/webapps-deploy@v2 * Update @actions/core (#258) * node modules updated * Removed workflow file and test folder * fixed the merge conflicts * node modules updated * Releases/v2.2.5 new pr (#274) * Limit the length of commit message (#271) * Limit the length of commit message * Refactor * Added comment Co-authored-by: Akshay Kumar <[email protected]> * updating packages Co-authored-by: Akshay Kumar <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Sumiran Aggarwal <[email protected]> Co-authored-by: asranja <[email protected]> Co-authored-by: Ashish Ranjan <[email protected]> Co-authored-by: UshaN <[email protected]> Co-authored-by: Eavanshi Arora <[email protected]> Co-authored-by: Eavanshi Arora <[email protected]> Co-authored-by: harshitha1112 <[email protected]> Co-authored-by: aksm-ms <[email protected]> Co-authored-by: Orta Therox <[email protected]> Co-authored-by: Arjun Gupta <[email protected]> Co-authored-by: Amruta Kawade <[email protected]> Co-authored-by: Amruta Kawade <[email protected]> Co-authored-by: Gustav Tonér <[email protected]> Co-authored-by: Kraig Brockschmidt <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Rabeea Emad <[email protected]> Co-authored-by: Jason Freeberg <[email protected]> Co-authored-by: Teo Voinea <[email protected]> Co-authored-by: Shivangi Mittal <[email protected]> Co-authored-by: 20shivangi <[email protected]> Co-authored-by: Zainudeen V K <[email protected]> Co-authored-by: Usha N <[email protected]> Co-authored-by: Martin Costello <[email protected]> Co-authored-by: Kanchan Verma <[email protected]> Co-authored-by: Balaga Gayatri <[email protected]> Co-authored-by: chunye <[email protected]> Co-authored-by: Thibaud Colas <[email protected]> Co-authored-by: Kanika Pasrija <[email protected]> Co-authored-by: Nathan Bierema <[email protected]> Co-authored-by: shpraka <[email protected]> Co-authored-by: Shubham Jain <[email protected]> Co-authored-by: Shubham Jain <[email protected]> Co-authored-by: chetan-vaidya3d <[email protected]> Co-authored-by: erik-itland <[email protected]> Co-authored-by: Shashi Prakash <[email protected]> Co-authored-by: Akshay Kumar <[email protected]>
1 parent 0b651ed commit 6524a53

File tree

8,202 files changed

+848203
-45592
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,202 files changed

+848203
-45592
lines changed

README.md

+275-218
Large diffs are not rendered by default.

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ branding:
3232
icon: 'webapp.svg'
3333
color: 'blue'
3434
runs:
35-
using: 'node12'
35+
using: 'node16'
3636
main: 'lib/main.js'

jest.config.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
clearMocks: true,
3+
moduleFileExtensions: ['js', 'ts'],
4+
testEnvironment: 'node',
5+
testMatch: ['**/*.test.ts'],
6+
transform: {
7+
'^.+\\.ts$': 'ts-jest'
8+
},
9+
verbose: true
10+
}
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
"use strict";
2-
Object.defineProperty(exports, "__esModule", { value: true });
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
"use strict";
2-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4-
return new (P || (P = Promise))(function (resolve, reject) {
5-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8-
step((generator = generator.apply(thisArg, _arguments || [])).next());
9-
});
10-
};
11-
Object.defineProperty(exports, "__esModule", { value: true });
12-
const Validations_1 = require("../Validations");
13-
const actionparameters_1 = require("../../actionparameters");
14-
class PublishProfileWebAppValidator {
15-
validate() {
16-
return __awaiter(this, void 0, void 0, function* () {
17-
let actionParams = actionparameters_1.ActionParameters.getActionParams();
18-
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile, true);
19-
Validations_1.validateAppDetails();
20-
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
21-
yield Validations_1.validatePackageInput();
22-
});
23-
}
24-
}
25-
exports.PublishProfileWebAppValidator = PublishProfileWebAppValidator;
1+
"use strict";
2+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4+
return new (P || (P = Promise))(function (resolve, reject) {
5+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8+
step((generator = generator.apply(thisArg, _arguments || [])).next());
9+
});
10+
};
11+
Object.defineProperty(exports, "__esModule", { value: true });
12+
const Validations_1 = require("../Validations");
13+
const actionparameters_1 = require("../../actionparameters");
14+
class PublishProfileWebAppValidator {
15+
validate() {
16+
return __awaiter(this, void 0, void 0, function* () {
17+
let actionParams = actionparameters_1.ActionParameters.getActionParams();
18+
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile, true);
19+
Validations_1.validateAppDetails();
20+
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
21+
yield Validations_1.validatePackageInput();
22+
});
23+
}
24+
}
25+
exports.PublishProfileWebAppValidator = PublishProfileWebAppValidator;
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
"use strict";
2-
Object.defineProperty(exports, "__esModule", { value: true });
3-
const Validations_1 = require("../Validations");
4-
const actionparameters_1 = require("../../actionparameters");
5-
class SpnLinuxContainerWebAppValidator {
6-
validate() {
7-
let actionParams = actionparameters_1.ActionParameters.getActionParams();
8-
Validations_1.packageNotAllowed(actionParams.packageInput);
9-
Validations_1.validateContainerInputs();
10-
}
11-
}
12-
exports.SpnLinuxContainerWebAppValidator = SpnLinuxContainerWebAppValidator;
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
const Validations_1 = require("../Validations");
4+
const actionparameters_1 = require("../../actionparameters");
5+
class SpnLinuxContainerWebAppValidator {
6+
validate() {
7+
let actionParams = actionparameters_1.ActionParameters.getActionParams();
8+
Validations_1.packageNotAllowed(actionParams.packageInput);
9+
Validations_1.validateContainerInputs();
10+
}
11+
}
12+
exports.SpnLinuxContainerWebAppValidator = SpnLinuxContainerWebAppValidator;
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
"use strict";
2-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4-
return new (P || (P = Promise))(function (resolve, reject) {
5-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8-
step((generator = generator.apply(thisArg, _arguments || [])).next());
9-
});
10-
};
11-
Object.defineProperty(exports, "__esModule", { value: true });
12-
const Validations_1 = require("../Validations");
13-
const actionparameters_1 = require("../../actionparameters");
14-
class SpnLinuxWebAppValidator {
15-
validate() {
16-
return __awaiter(this, void 0, void 0, function* () {
17-
let actionParams = actionparameters_1.ActionParameters.getActionParams();
18-
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
19-
yield Validations_1.validatePackageInput();
20-
});
21-
}
22-
}
23-
exports.SpnLinuxWebAppValidator = SpnLinuxWebAppValidator;
1+
"use strict";
2+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4+
return new (P || (P = Promise))(function (resolve, reject) {
5+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8+
step((generator = generator.apply(thisArg, _arguments || [])).next());
9+
});
10+
};
11+
Object.defineProperty(exports, "__esModule", { value: true });
12+
const Validations_1 = require("../Validations");
13+
const actionparameters_1 = require("../../actionparameters");
14+
class SpnLinuxWebAppValidator {
15+
validate() {
16+
return __awaiter(this, void 0, void 0, function* () {
17+
let actionParams = actionparameters_1.ActionParameters.getActionParams();
18+
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
19+
yield Validations_1.validatePackageInput();
20+
});
21+
}
22+
}
23+
exports.SpnLinuxWebAppValidator = SpnLinuxWebAppValidator;
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
"use strict";
2-
Object.defineProperty(exports, "__esModule", { value: true });
3-
const Validations_1 = require("../Validations");
4-
const actionparameters_1 = require("../../actionparameters");
5-
class SpnWindowsContainerWebAppValidator {
6-
validate() {
7-
let actionParams = actionparameters_1.ActionParameters.getActionParams();
8-
Validations_1.packageNotAllowed(actionParams.packageInput);
9-
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
10-
Validations_1.multiContainerNotAllowed(actionParams.multiContainerConfigFile);
11-
Validations_1.validateContainerInputs();
12-
}
13-
}
14-
exports.SpnWindowsContainerWebAppValidator = SpnWindowsContainerWebAppValidator;
1+
"use strict";
2+
Object.defineProperty(exports, "__esModule", { value: true });
3+
const Validations_1 = require("../Validations");
4+
const actionparameters_1 = require("../../actionparameters");
5+
class SpnWindowsContainerWebAppValidator {
6+
validate() {
7+
let actionParams = actionparameters_1.ActionParameters.getActionParams();
8+
Validations_1.packageNotAllowed(actionParams.packageInput);
9+
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
10+
Validations_1.multiContainerNotAllowed(actionParams.multiContainerConfigFile);
11+
Validations_1.validateContainerInputs();
12+
}
13+
}
14+
exports.SpnWindowsContainerWebAppValidator = SpnWindowsContainerWebAppValidator;
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
"use strict";
2-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4-
return new (P || (P = Promise))(function (resolve, reject) {
5-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8-
step((generator = generator.apply(thisArg, _arguments || [])).next());
9-
});
10-
};
11-
Object.defineProperty(exports, "__esModule", { value: true });
12-
const Validations_1 = require("../Validations");
13-
const actionparameters_1 = require("../../actionparameters");
14-
class SpnWindowsWebAppValidator {
15-
validate() {
16-
return __awaiter(this, void 0, void 0, function* () {
17-
let actionParams = actionparameters_1.ActionParameters.getActionParams();
18-
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
19-
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
20-
yield Validations_1.validatePackageInput();
21-
});
22-
}
23-
}
24-
exports.SpnWindowsWebAppValidator = SpnWindowsWebAppValidator;
1+
"use strict";
2+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4+
return new (P || (P = Promise))(function (resolve, reject) {
5+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8+
step((generator = generator.apply(thisArg, _arguments || [])).next());
9+
});
10+
};
11+
Object.defineProperty(exports, "__esModule", { value: true });
12+
const Validations_1 = require("../Validations");
13+
const actionparameters_1 = require("../../actionparameters");
14+
class SpnWindowsWebAppValidator {
15+
validate() {
16+
return __awaiter(this, void 0, void 0, function* () {
17+
let actionParams = actionparameters_1.ActionParameters.getActionParams();
18+
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
19+
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
20+
yield Validations_1.validatePackageInput();
21+
});
22+
}
23+
}
24+
exports.SpnWindowsWebAppValidator = SpnWindowsWebAppValidator;

0 commit comments

Comments
 (0)