Microsoft's AzureDevops server agent packaged in docker container.
2.0K
| Name | Description |
|---|---|
| AZP_URL | URL of your Azure DevOps server. |
| AZP_ACCOUNT | Account that will be used to connect to Azure DevOps server. It must have appropriate permissions to modify requested agent pool - either being aministrator of said pool or by being server administrator. |
| AZP_TOKEN | PAT token for account specified in AZP_ACCOUNT. |
| AZP_AGENT_NAME | Name of the new agent that will be reported to Azure DevOps server. |
| AZP_POOL | Pool that the agent will be registered to. |
| AZP_WORK | Root work folder (inside the docker image, you can mount it to host in case you need to share it with other docker image). |
version: '3'
services:
agent:
image: argutec/azuredevops-agent:latest
environment:
AZP_URL: [https://yourserver.com]
AZP_ACCOUNT: [buildservice-account]
AZP_TOKEN: [PAT_TOKEN]
AZP_AGENT_NAME: [build-agent-01]
AZP_POOL: [build-pool]
AZP_WORK: [/_work]
# In case you need to use docker commands in your agent's workload
volumes:
- /var/run/docker.sock:/var/run/docker.sock
In case you need to use another docker image or docker command during your build/release process, you can share docker socket of hosts image and run your docker commands on host. If you need to share your files with another container, you have to share folders on both containers to host system. More on this can be found in this article https://itnext.io/docker-in-docker-521958d34efd.
In example docker-compose.yml in this document there is already docker socket shared.
| Version | Date | Description |
|---|---|---|
| 1.0.0.1 | 2019-09-17 | Added zip/unzip support. |
| 1.0.0.0 | 2019-09-12 | First version. |
Content type
Image
Digest
sha256:cf21a41a5…
Size
411.5 MB
Last updated
11 months ago
docker pull argutec/azuredevops-agent