Coder Social home page Coder Social logo

spazure's Introduction

Spazure

Automation toolset for Azure DevOps written on Sparrow

Getting started

zef install --/test Sparrow6

export SP6_REPO=http://repo.westus.cloudapp.azure.com

s6 --index-update

s6 --search ado

s6 --install ado-git-branch-create

s6 --plg-run ado-git-branch-create@project=Backends,repo=Catalog,branch_from=dev,branch=feature

Or if you prefer Raku API:

task-run "create branch", "ado-git-branch-create", %(
    project => "Backends",
    repo => "Catalog",
    branch_from => "dev",
    branch => "feature"
);

Authentication

Create file named ~/.sparrow-azure-devops.sh

token=$PAT
api=https://dev.azure.com/$organization
user=$api_user

Where:

  • user

User to sign requests

  • token

User personal access token (PAT)

  • api

Azure DevOps API URL

Environment variables

  • SPARROW_ADO_DEBUG

Set to 1 if you need debug response from API

See also

Ado related Sparrow plugins - http://repo.westus.cloudapp.azure.com/hub/search?q=ado

Sparrow plugins source code - https://github.com/melezhik/sparrow-plugins

Sparrow project - https://github.com/melezhik/Sparrow6

spazure's People

Contributors

melezhik avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

d3v3l0

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.