Skip to content

LouMM/function-app-extension-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

function-app-extension-test

This will create a dedicated function app ready for extension testing.

One-time setup

  1. Install the Azure CLI and log in. Run az login and follow the instructions.
  2. You may need to specify the subscrition. Run az account set -s SUBSCRIPTION where "SUBSCRIPTION" is a subscription name or subscription ID.
  3. Make sure Web Apps knows how to deploy from GitHub. Manually connect this repo to a test site in the portal and perform the authorization for your account.

Setup the test

  1. Clone the repo and cd to it.
  2. Create a resource group in West US 2. Run az group create -l REGION -n GROUPNAME where "REGION" and "GROUPNAME" are values you provide. "REGION" should be an Azure region such as "WestUS2". "GROUPNAME" is just a name for the resource group; that value will be used again later.
  3. Deploy the template. Run az group deployment create -n TestDeployment -g GROUPNAME --template-file function-app-for-extension-template.json.

The template should pull contents from the FunctionApp folder in the GitHub repo.

Now you can run your tests.

Teardown

  1. Delete the resource group. Run az group delete -n GROUPNAME.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published