Git Product home page Git Product logo

jonmikeli / azure-devops-commands Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 1.0 479 KB

Bash scripts gathering a set of 'az devops' command calls to industrialize the creation of Azure DevOps Team Projects. Not all the Azure DevOps features are exposed through 'az devops'.

License: GNU Affero General Public License v3.0

Shell 100.00%
az-cli az-devops azure-devops azure-devops-teamproject azure-devops-teams azure-devops-teams-embership azure-devops-areas azure-devops-settings industrialization

azure-devops-commands's Introduction

Azure DevOps Commands

This repository contains a set of az cli commands related to Azure DevOps operations.

The commands take in charge basic operations when it comes to creating Team Projects. The script can be useful in contexts where the Team Projects need to be created in an industrialized manner and according to specific rules/configurations.

Covered steps

  • Team Project creation
  • Teams creation
  • Areas creation
  • Areas and Teams permissions
  • Teams memberships
  • Repository creations
  • Configuration of policies (repository)
  • Wiki creation
  • Structure of folders at pipeline level
  • Group of variables (per repository) with default values
  • Extensions installation

The other fields cannot be scripted for now.

The names of projects, repositories, areas, folders, teams, etc are normed and follow certain types of practices.

How to use the scripts?

Scripts

The repository contains two scripts:

  • createTeamProject.sh, script launcher
  • commands.sh, contains the logic

How to...

You only need to execute createTeamProject.sh or call directly the command.sh script with the required parameters.

createTeamProject.sh

createTeamProject.sh contains the settings to call commands.sh (kind of a "helper").

./commands.sh \
-o "https://your_organization" \
-c "[customer name]" \
-m "[customer code]" \
-p "[team project name]" \
-f "[path to the file containing the PAT code]"

azure-devops-commands's People

Contributors

jonmikeli avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

matdonell

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.