An open API service indexing awesome lists of open source software.

https://github.com/marcusfelling/azuredevopspipelinebuildserver

Scripts to automate the creation of a Azure DevOps pipeline build server using Packer and Chef
https://github.com/marcusfelling/azuredevopspipelinebuildserver

azure devops

Last synced: about 2 months ago
JSON representation

Scripts to automate the creation of a Azure DevOps pipeline build server using Packer and Chef

Awesome Lists containing this project

README

          

## Packer and Chef scripts to create a Azure DevOps build server (Windows) golden image (AMI)

Order of execution:
1. `berks vendor` to pull in dependancies
2. `packer build`:
- Initializes disks
- Runs Windows cookbook to add service account, create necessary folders, installs features, sets timezone
- Runs Software cookbook to install required software components
- Retarts instance
- Syspreps the instance
- Creates AMI

Finally, VSTS recipe should then be run during launch. I chose to use Chef solo in the CloudFormation launch config (not included in this repo).

I used a VSTS build definition to run the above, grab the AMI ID from the packer build output, then update the AMI ID variable in the deployment tool that's used to launch new instances.