GithubHelp home page GithubHelp logo

suhas92 / azuredevops-agents Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robertoprevato/azuredevops-agents

0.0 1.0 0.0 30 KB

Images for self-hosted DevOps agents

License: MIT License

Dockerfile 5.51% Shell 94.49%

azuredevops-agents's Introduction

AzureDevOps-agents

Images for self-hosted DevOps agents running in Docker. The preparation of these images has been described in this post: Self-hosted Azure DevOps agents running in Docker.

Credit

Most of the bash scripts in this repository are adopted from the official Hosted images prepared by Microsoft, with minor modifications, from this repository: https://github.com/microsoft/azure-pipelines-image-generation/; these images feature a modified start.sh script that supports caching of tools and agent files across restarts, as described in the post linked above.

Using images from DockerHub

These images have been published to my DockerHub repositories, and can be fetched from there.

docker pull robertoprevato/devopsubuntu16.04

docker pull robertoprevato/devopsubuntu16.04-python

docker pull robertoprevato/devopsubuntu16.04-docker

Building images

You can use the provided build.sh file to create images on your host. Otherwise, first create the base image:

# from Ubuntu 16.04-base:
docker build -t devopsagentubuntu:16.04 .

Then create other images that depend on it.

To run the images

Create an access token in Azure DevOps, then:

docker run -e AZP_URL=<YOUR-ORGANIZATION-URL> \
-e AZP_TOKEN=<YOUR-TOKEN> \
-e AZP_AGENT_NAME='Self-hosted Ubuntu 16.04' devopsubuntu16.04:latest

# or, from inside the container, in /azp:
AZP_URL=<YOUR-ORGANIZATION-URL> \
AZP_TOKEN=<YOUR-TOKEN> \
AZP_AGENT_NAME='Self-hosted Ubuntu 16.04' ./start.sh

azuredevops-agents's People

Contributors

robertoprevato avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.