https://github.com/lenisha/vsts-agent-infrastructure
docker image and terraform install for vsts agent with packer,terraform,ansible tools
https://github.com/lenisha/vsts-agent-infrastructure
aci azure vsts-agent
Last synced: about 1 month ago
JSON representation
docker image and terraform install for vsts agent with packer,terraform,ansible tools
- Host: GitHub
- URL: https://github.com/lenisha/vsts-agent-infrastructure
- Owner: lenisha
- Created: 2018-04-27T22:23:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-02-13T14:11:51.000Z (over 5 years ago)
- Last Synced: 2024-10-18T06:16:03.211Z (8 months ago)
- Topics: aci, azure, vsts-agent
- Language: HCL
- Homepage: https://open.microsoft.com/2018/05/22/how-to-create-vsts-agent-azure-aci-terraform/
- Size: 8.79 KB
- Stars: 13
- Watchers: 5
- Forks: 19
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
VSTS Agent Docker Image
====================This repository contains `Dockerfile` definitions for [lenisha/vsts-agent-infrastructure](https://github.com/lenisha/vsts-agent-infrastructure) Docker images.
[](https://registry.hub.docker.com/u/lenisha/vsts-agent-infrastructure)
[](https://registry.hub.docker.com/u/lenisha/vsts-agent-infrastructure) [](https://microbadger.com/images/lenisha/vsts-agent-infrastructure "Get your own image badge on microbadger.com")Docker image for VSTS Agent with infrastrucure tools installed
```
ENV TERRAFORM_VERSION 0.11.10
ENV PACKER_VERSION 1.3.2
ENV ANSIBLE_VERSION 2.0.0.2
```## How to use these image
VSTS agents must be started with account connection information, which is provided through two environment variables:- `VSTS_ACCOUNT`: the name of the Visual Studio account
- `VSTS_TOKEN`: a personal access token (PAT) for the Visual Studio account that has been given at least the **Agent Pools (read, manage)** scope.
- `VSTS_AGENT`: the name of the agent (default: `"$(hostname)"`)
- `VSTS_POOL`: the name of the agent pool (default: `"Default"`)To run the default VSTS agent image for a specific Visual Studio account:
```
docker run \
-e VSTS_ACCOUNT= \
-e VSTS_TOKEN= \
-e VSTS_AGENT='$(hostname)-agent' \
-e VSTS_POOL=mypool \
-it lenisha/vsts-agent-infrastructure
```## Notes
TODO: add automatic updates when new release postedOther tools installed on VSTS image are listed:
[vsts agent tools](https://github.com/Microsoft/vsts-agent-docker/blob/6689c2bd45304ec56d2628f393355b52a451453e/README.md#standard-images)