Skip to content

gradientedge/msft-azure-rolling-deployment

Repository files navigation

Azure Rolling Deployment

The purpose of this repository is to test the Azure rolling deployment functionality.

Prerequisite

Before running the tests, configure the following environment variables:

export ENDPOINT=<function endpoint>
export FUNCTION_NAME=<Azure Function name>
export RESOURCE_GROUP_NAME=<Azure resource group where the function is deployed>
export VAULT_ENDPOINT=<Key Vault endpoint>

How to run

  1. Deploy the Function

Before starting the rolling deployment test, deploy the function using:

./run.sh
  1. Start Continuous Deployments

Run the following command to continuously deploy the function:

while [ 1 ]; do; ./deploy.sh &>> deploy.log; done 

The output of each deployment will be logged to the deploy.log file.

  1. Send Continuous Requests

Open five terminal windows, and in each one, start a process that sends continuous requests:

while [ 1 ]; do; ./request.sh; done

All requests will be logged to the request.log file in the following format:

Tue Nov  4 11:16:20 GMT 2025 | http-with-keyvault-prewarm | 200 | 00-e707e9d4ae8ee86a4423c02e51ce4690-bfc529ee82b392ba-01 | 1.408911 |

Format explanation:

timestamp | endpoint | HTTP status code | operation ID | duration (seconds)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published