Skip to content

Infrastructure for IIS Web App Deployment Using WinRM extension

License

Notifications You must be signed in to change notification settings

Deekshitha981/winrm-infrastructure

 
 

Repository files navigation

WinRM Infrastructure

Deploy whole infrastructure for IIS Web App Deployment Using WinRM extension in one click. image

Prerequisites

  1. Create a new app registration on Azure to be able to authenticate from Azure/login task.
  2. Add federated credentials as a way of authentication. It's also possible to use client secrets, but WIF is recommended approach.
  3. Add AZURE_CLIENT_ID, AZURE_SUBSCRIPTION_ID, AZURE_TENANT_ID to repository secrets.
  4. Generated a new Azure DevOps PAT with build permissions and add it to repository secrets with this key: AZURE_DEVOPS_PAT
  5. Add you Azure DevOps organization URL to secrets with this key: AZURE_DEVOPS_ORG
  6. Create a new self-hosted agent pool in your Azure DevOps organization and name it Self-Hosted
  7. Now you're ready to start the Deploy Infrastructure pipeline.

In the end your repository secrets should look like this:

image
Secret name Description
AZURE_CLIENT_ID Application (client) ID from Azure App registration.
AZURE_DEVOPS_ORG Link to your Azure DevOps organization in this format: https://dev.azure.com/MyOrganizationName
AZURE_DEVOPS_PAT Azure DevOps PAT token with Build permissions. Needs to register the build agent.
AZURE_SUBSCRIPTION_ID Your Azure subscription ID.
AZURE_TENANT_ID Directory (tenant) ID from Azure App registration.

About

Infrastructure for IIS Web App Deployment Using WinRM extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 73.6%
  • PowerShell 26.4%