Skip to content

An old open source project in Python for automating operations with ADO in it's classic pipelines format

Notifications You must be signed in to change notification settings

milesbarnard/azure-devops-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This project is to aid with the quick set up of CI/CD pipelines for Azure Devops. Invoking this command will do the following:

  • Set up a Git repository
  • Set up a build pipeline with a YAML template for dotnet, dotnet-core, python or node.js
  • Set up a deployment pipeline with n stages, link the artifact and stages together

Getting Started

  1. Installation process:

    On Linux:

    git clone https://github.com/milesbarnardw2/azure-devops-quickstart.git
    cd azure-devops-quickstart
    python3 -m pip install --user virtualenv
    python3 -m venv env
    source env/bin/activate
    pip install -r ./requirements.txt
    
  2. Software dependencies: Python3, Git

  3. Usage:

    Links:

    To create a pipeline (from within virtual environment created above):

    python3 project_setup.py create \
        --project_name "<the name of your project>" \
        --personal_access_token "<your azure devops personal access token>" \
        --organisation_name "<azure devops organisation name>" \
        --azure_project_name "<azure devops project name>" \
        --environment_names "dev" "<any number of environments after this>" \
         --user_email "<your azure devops email>"
    

    To remove a pipeline:

    python3 project_setup.py delete \
        --project_name "<the name of your project>" \
        --personal_access_token "<azure devops personal access token>" \
        --organisation_name "<azure devops organisation name>" \
        --azure_project_name "<azure devops project name>"
    
  4. API References:

Contribute

TODO: Explain how other users and developers can contribute to make your code better.

About

An old open source project in Python for automating operations with ADO in it's classic pipelines format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages