Skip to content

Commit

Permalink
Releases/v2.2.5 (#273)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
1 parent 0b651ed commit 6524a53
Show file tree
Hide file tree
Showing 8,202 changed files with 848,203 additions and 45,592 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
493 changes: 275 additions & 218 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ branding:
icon: 'webapp.svg'
color: 'blue'
runs:
using: 'node12'
using: 'node16'
main: 'lib/main.js'
10 changes: 10 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
clearMocks: true,
moduleFileExtensions: ['js', 'ts'],
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.ts$': 'ts-jest'
},
verbose: true
}
4 changes: 2 additions & 2 deletions lib/ActionInputValidator/ActionValidators/IValidator.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class PublishProfileWebAppValidator {
validate() {
return __awaiter(this, void 0, void 0, function* () {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile, true);
Validations_1.validateAppDetails();
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
yield Validations_1.validatePackageInput();
});
}
}
exports.PublishProfileWebAppValidator = PublishProfileWebAppValidator;
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class PublishProfileWebAppValidator {
validate() {
return __awaiter(this, void 0, void 0, function* () {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile, true);
Validations_1.validateAppDetails();
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
yield Validations_1.validatePackageInput();
});
}
}
exports.PublishProfileWebAppValidator = PublishProfileWebAppValidator;
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnLinuxContainerWebAppValidator {
validate() {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.packageNotAllowed(actionParams.packageInput);
Validations_1.validateContainerInputs();
}
}
exports.SpnLinuxContainerWebAppValidator = SpnLinuxContainerWebAppValidator;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnLinuxContainerWebAppValidator {
validate() {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.packageNotAllowed(actionParams.packageInput);
Validations_1.validateContainerInputs();
}
}
exports.SpnLinuxContainerWebAppValidator = SpnLinuxContainerWebAppValidator;
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnLinuxWebAppValidator {
validate() {
return __awaiter(this, void 0, void 0, function* () {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
yield Validations_1.validatePackageInput();
});
}
}
exports.SpnLinuxWebAppValidator = SpnLinuxWebAppValidator;
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnLinuxWebAppValidator {
validate() {
return __awaiter(this, void 0, void 0, function* () {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
yield Validations_1.validatePackageInput();
});
}
}
exports.SpnLinuxWebAppValidator = SpnLinuxWebAppValidator;
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnWindowsContainerWebAppValidator {
validate() {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.packageNotAllowed(actionParams.packageInput);
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
Validations_1.multiContainerNotAllowed(actionParams.multiContainerConfigFile);
Validations_1.validateContainerInputs();
}
}
exports.SpnWindowsContainerWebAppValidator = SpnWindowsContainerWebAppValidator;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnWindowsContainerWebAppValidator {
validate() {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.packageNotAllowed(actionParams.packageInput);
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
Validations_1.multiContainerNotAllowed(actionParams.multiContainerConfigFile);
Validations_1.validateContainerInputs();
}
}
exports.SpnWindowsContainerWebAppValidator = SpnWindowsContainerWebAppValidator;
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnWindowsWebAppValidator {
validate() {
return __awaiter(this, void 0, void 0, function* () {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
yield Validations_1.validatePackageInput();
});
}
}
exports.SpnWindowsWebAppValidator = SpnWindowsWebAppValidator;
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
const Validations_1 = require("../Validations");
const actionparameters_1 = require("../../actionparameters");
class SpnWindowsWebAppValidator {
validate() {
return __awaiter(this, void 0, void 0, function* () {
let actionParams = actionparameters_1.ActionParameters.getActionParams();
Validations_1.containerInputsNotAllowed(actionParams.images, actionParams.multiContainerConfigFile);
Validations_1.startupCommandNotAllowed(actionParams.startupCommand);
yield Validations_1.validatePackageInput();
});
}
}
exports.SpnWindowsWebAppValidator = SpnWindowsWebAppValidator;
Loading

0 comments on commit 6524a53

Please sign in to comment.