Skip to content

Self-hosted agent for azure pipelines that runs dotnet-sdk-6.0, aspnetcore-runtime-6.0 and nodejs 16.x.

License

Notifications You must be signed in to change notification settings

rteixeirax/azure-devops-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure devops agent

Licence GitHub Release Docker Pulls Deploy

Self-hosted agent for azure pipelines that runs dotnet-sdk-6.0, aspnetcore-runtime-6.0 and nodejs 16.x.

Microsoft documentation

Docker-compose

version: "3"
services:
  azure-devops-agent:
    container_name: azure-devops-agent
    image: rteixeirax/azure-devops-agent
    restart: unless-stopped
    environment:
      - AZP_URL=https://your.server.instance
      - AZP_TOKEN=your_access_token
      - AZP_AGENT_NAME=your_agent_name
      - AZP_POOL=Default
      - AZP_WORK=_work

Docker cli

docker run -d \
  --name=azure-devops-agent \
  -e AZP_URL=https://your.server.instance \
  -e AZP_TOKEN=your_access_token \
  -e AZP_AGENT_NAME=your_agent_name \
  -e AZP_POOL=Default \
  -e AZP_WORK=_work \
  --restart unless-stopped \
  rteixeirax/azure-devops-agent

Environment variables

Variable Description
AZP_URL The URL of the Azure DevOps or Azure DevOps Server instance.
AZP_TOKEN Personal Access Token (PAT) with Agent Pools (read, manage) scope, created by a user who has permission to configure agents, at AZP_URL.
AZP_AGENT_NAME Agent name (default value: the container hostname).
AZP_POOL Agent pool name (default value: Default).
AZP_WORK Work directory (default value: _work).

About

Self-hosted agent for azure pipelines that runs dotnet-sdk-6.0, aspnetcore-runtime-6.0 and nodejs 16.x.

Resources

License

Stars

Watchers

Forks