| Vulnerabilities | |||||
|---|---|---|---|---|---|
| Version | Suggest | Low | Medium | High | Critical |
| 0.0.22 | 0 | 0 | 0 | 0 | 0 |
| 0.0.21 | 0 | 0 | 0 | 0 | 0 |
| 0.0.20 | 0 | 0 | 0 | 0 | 0 |
| 0.0.19 | 0 | 0 | 0 | 0 | 0 |
| 0.0.18 | 0 | 0 | 0 | 0 | 0 |
| 0.0.17 | 0 | 0 | 0 | 0 | 0 |
| 0.0.16 | 0 | 0 | 0 | 0 | 0 |
| 0.0.15 | 0 | 0 | 0 | 0 | 0 |
| 0.0.14 | 0 | 0 | 0 | 0 | 0 |
| 0.0.13 | 0 | 0 | 0 | 0 | 0 |
| 0.0.12 | 0 | 0 | 0 | 0 | 0 |
| 0.0.11 | 0 | 0 | 0 | 0 | 0 |
| 0.0.10 | 0 | 0 | 0 | 0 | 0 |
| 0.0.9 | 0 | 0 | 0 | 0 | 0 |
| 0.0.8 | 0 | 0 | 0 | 0 | 0 |
| 0.0.7 | 0 | 0 | 0 | 0 | 0 |
| 0.0.6 | 0 | 0 | 0 | 0 | 0 |
0.0.22 - This version may not be safe as it has not been updated for a long time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
MIT - MIT License🚧 The project is currently work in progress. Please do not use in production as we expect developments over time. 🚧
This project provides the class AzureDevopsBuildManager and supporting classes. This manager class allows the caller to manage Azure Devops pipelines that are maintained within an Azure Devops account. This project was created to be able to support command line tooling for the AZ Cli.
To install the package from pip:
pip install azure-functions-devops-build
To use the API, you need to first establish a connection to azure by loging into your azure account using az login. You can then follow the example as below. Firstly we get the token from login and use this to authenticate the different python function calls.
from azure.cli.core import get_default_cli
from azure.cli.core._profile import Profile
from azure_functions_devops_build.organization.organization_manager import OrganizationManager
import pprint
# Get your token from the az login cache
cli_ctx = get_default_cli()
profile = Profile(cli_ctx=cli_ctx)
creds, _, _ = profile.get_login_credentials(subscription_id=None)
# Create an organization manager using your credentials
organization_manager = OrganizationManager(creds=creds)
# Get the list of organizations for your user
organizations = organization_manager.list_organizations()
# Show details about each organization in the console
for organization in organizations.value:
pprint.pprint(organization.__dict__)This Python library extensively uses the Azure DevOps REST APIs and Azure Devops Python API. See the Azure DevOps REST API reference for details on calling different APIs and Azure DevOps Python SDK for details on the azure-devops-python-api.
See samples by looking at tests or viewing the az-cli functionapp devops-build module.
Several things need to be setup before you can run the tests:
az login.python -m tests.suite
python -m tests.{NAME_OF_MANAGER} eg. python -m tests.test_builder_manager
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.