package
0.0.0-20241009004650-84ea22048b9a
Repository: https://github.com/azure/azure-dev.git
Documentation: pkg.go.dev
# Functions
create the PR build policy to ensure that the pipeline runs on a new pull request this also disables direct pushes to the default branch and requires changes to go through a PR.
create a new Azure DevOps pipeline.
create a new repository in the current project.
create a new service connection that will be used in the deployment pipeline.
helper method to ensure an Azure DevOps organization name exists either in .env or system environment variables.
helper method to ensure an Azure DevOps PAT exists either in .env or system environment variables.
helper method to return an Azure DevOps connection used the AzDo go sdk.
returns a default repo from a newly created AzDo project.
prompt the user to select a repo and return a repository object.
GetGitRepository find the repository by its name.
return an azdo project by name.
prompt the user to select form a list of existing Azure DevOps projects.
prompts the user for a new AzDo project name and creates the project returns project name, project id, error.
No description provided by the author
run a pipeline.
No description provided by the author
# Variables
success message after azd pipeline config is successful.
environment variable that holds the Azure DevOps Organization Name.
Environment Configuration name used to store the project Id.
Environment Configuration name used to store the project name.
Environment Configuration name used to store repo ID.
Environment Configuration name used to store the Repo Name.
web url for the configured repo.
hostname of the AzDo PaaS service.
environment variable that holds the Azure DevOps PAT.
azure devops project description.
name of the azure pipeline that will be created.
path to the azure pipeline yaml.
target Azure Cloud.
default branch for pipeline and branch policy.
name of the service connection that will be used in the AzDo project.