Skip to content

Azure Pipelines environment VM agent running as a Docker container, replicated using Swarm

License

Notifications You must be signed in to change notification settings

qcrisw/azure-vm-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-vm-agent

Azure Pipelines virtual machine deployment agent running as a Docker container, replicated using Swarm.

System requirements

  • Docker
  • Docker Compose

Build

You only need to build if you change the source. Otherwise, the image will be pulled automatically.

docker-compose build

Configure

Fill in missing configuration in the environment section of docker-compose.yaml. Create a directory on the host to host jobs data and Docker tasks volumes:

sudo mkdir -p /azvm/_work

AZVM_TOKEN can be obtained from User settings -> Personal Access Token -> + New Token (Read+Write+Manage permission)

Run

docker swarm init # for the first time only
docker stack deploy -c docker-compose.yaml azvmagent

About

Azure Pipelines environment VM agent running as a Docker container, replicated using Swarm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •