The purpose of this repository is to test the Azure rolling deployment functionality.
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>- Deploy the Function
Before starting the rolling deployment test, deploy the function using:
./run.sh- 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.
- Send Continuous Requests
Open five terminal windows, and in each one, start a process that sends continuous requests:
while [ 1 ]; do; ./request.sh; doneAll 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)