Skip to content

leeej84/DevOps-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Use an Azure DevOps pipeline to deploy a Windows VDA using HashiCorp Packer. This produces a gold image ready for Citrix Virtual Apps and Desktops.

Prerequisite

You'll need the follwing pre-reqs before getting started.

Azure DevOps

  • Account
  • Access to an existing or new Azure Devops project

Azure

  • Service Principal information

az ad sp create-for-rbac --name MySP

  • Storage Account
    • Document Storage account access key
  • Container within Storage Account for media installation files
  • Container within Storage Account for built gold images to reside

Steps

Follow the below process to build a Windows 10 VDA

  1. From Azure DevOps. Select Repos
  2. Import a Git repository
  3. From Pipelines create new
    • Select "Azure Repos Git"
    • Select imported repo
    • Existing Azure Pipelines YAML file
    • Select /pipeline.yml
    • Select Variables and add the below table
  4. Run pipeline

Pipeline Variables

Variable Description Example
client_id SPN Client ID (appid) Secret
client_secret SPN Client Secret (password) Secret
goldimage_container Storage Account Container that will contain gold image goldimages
location Location to deploy temp VM centralus
media_container Storage account container that contatins install media media
rg_name Resource group where storage account is located rg-converge-central
sa_key Storage Account Key Secret
storage_account Storage Account Name mysupercoolpackerstorage
subid Azure Subscription ID Secret
tenantid SPN Tenant ID (tenant) Secret
vda VDA File Name VDAServerSetup_2006.exe
vdacontrollers Comma seperated list of cloud connectors CTX-CC01.LAB.LOCAL

About

DevOps-Automation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published