https://github.com/melezhik/spazure
Automation toolset for Azure DevOps written on Sparrow
https://github.com/melezhik/spazure
automation azuredevops raku sparrow
Last synced: about 1 month ago
JSON representation
Automation toolset for Azure DevOps written on Sparrow
- Host: GitHub
- URL: https://github.com/melezhik/spazure
- Owner: melezhik
- Created: 2020-06-17T22:01:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-19T03:39:20.000Z (almost 5 years ago)
- Last Synced: 2025-02-15T14:15:59.774Z (3 months ago)
- Topics: automation, azuredevops, raku, sparrow
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 ados6 --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:```raku
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