Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@GeoffCoxMSFT
Copy link
Member

Description

This uses the project's runtime key to determine if the provisioning should require the Azure web app or Azure function resource.

Also includes required workaround for manual tokens in non-electron for the Azure provisioning dialog flow.

Task Item

closes #6527

Screenshots

One a single item now appears for publishing to Azure
image

@coveralls
Copy link

coveralls commented Apr 4, 2021

Coverage Status

Coverage decreased (-0.03%) to 51.599% when pulling 737524d on gcox/feature6527 into 9f6c16e on main.

/**
* Returns true if the runtime key is adaptive; false otherwise.
* Example adaptive runtime keys: 'adaptive-runtime-dotnet-webapp' or 'adaptive-runtime-node-functions'
* Example older adaptive runtime keys: 'csharp-azurewebapp-v2'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, this was used for a pretty brief period of time during the early stages of the runtimes. Only people running preview bits would have projects with the csharp-azurewebapp-v2 value.

benbrown
benbrown previously approved these changes Apr 5, 2021
Copy link
Contributor

@benbrown benbrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before we merge this, we need to update the migration function that rewrites the settings to modify existing publishing profiles to use this new type.

@GeoffCoxMSFT GeoffCoxMSFT merged commit 8bea594 into main Apr 7, 2021
@GeoffCoxMSFT GeoffCoxMSFT deleted the gcox/feature6527 branch April 7, 2021 21:06
@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publishing/provisioning: enforce choice of web app vs functions based on runtime

5 participants