Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: Added provision resource checks before publish #6662

Merged
merged 8 commits into from
Apr 2, 2021

Conversation

GeoffCoxMSFT
Copy link
Member

Description

Before publishing, the publishing profile needs to be checked to verify that the provisioning occurred at least once successfully and that all required resources have values from successful provisioning.

To avoid blocking the user unnecessarily , the checks verify the minimum values exist and do not verify values that could be empty for some deployments.

Task Item

fixes #6627

Screenshots

N/A - verification errors are displayed through the standard notification and result messages

@GeoffCoxMSFT GeoffCoxMSFT requested a review from hatpick April 2, 2021 16:13
@GeoffCoxMSFT GeoffCoxMSFT self-assigned this Apr 2, 2021
@GeoffCoxMSFT GeoffCoxMSFT requested a review from cwhitten April 2, 2021 16:13
@GeoffCoxMSFT
Copy link
Member Author

@cwhitten - I think this should fix the ABS 'Open in composer' scenario when trying to publish.

@coveralls
Copy link

coveralls commented Apr 2, 2021

Coverage Status

Coverage remained the same at 51.393% when pulling 7c3e7f9 on gcox/feature6627 into 76075db on main.

hatpick
hatpick previously approved these changes Apr 2, 2021
extensions/azurePublish/src/node/index.ts Outdated Show resolved Hide resolved
extensions/azurePublish/src/node/index.ts Show resolved Hide resolved
extensions/azurePublish/src/node/index.ts Outdated Show resolved Hide resolved
@GeoffCoxMSFT GeoffCoxMSFT merged commit 8b7ea1a into main Apr 2, 2021
@GeoffCoxMSFT GeoffCoxMSFT deleted the gcox/feature6627 branch April 2, 2021 19:44
@cwhitten cwhitten mentioned this pull request May 20, 2021
lei9444 pushed a commit to lei9444/BotFramework-Composer-1 that referenced this pull request Jun 15, 2021
* Added provision resource checks before publish

* Remove unused import

* Added return type for linter

* changed to use reduce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[3/29 bug bash] Publishing profile error not clear/progress message suggestion
3 participants