{"id":20376685,"url":"https://github.com/andrebriggs/bedrock-azdo","last_synced_at":"2026-02-12T18:32:02.323Z","repository":{"id":150973524,"uuid":"205480478","full_name":"andrebriggs/bedrock-azdo","owner":"andrebriggs","description":null,"archived":false,"fork":false,"pushed_at":"2019-09-03T19:01:41.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T22:49:51.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andrebriggs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-31T01:44:56.000Z","updated_at":"2019-09-03T19:01:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"462c9cef-f050-479e-b271-aa2c07b91557","html_url":"https://github.com/andrebriggs/bedrock-azdo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andrebriggs/bedrock-azdo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fbedrock-azdo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fbedrock-azdo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fbedrock-azdo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fbedrock-azdo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrebriggs","download_url":"https://codeload.github.com/andrebriggs/bedrock-azdo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrebriggs%2Fbedrock-azdo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29376865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T18:17:34.915Z","status":"ssl_error","status_checked_at":"2026-02-12T18:17:34.495Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T01:39:09.065Z","updated_at":"2026-02-12T18:32:02.308Z","avatar_url":"https://github.com/andrebriggs.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to automate Bedrock GitOps set up using official AzDO CLI\n\n## Pre-reqs\n* Have an existing AzDO organization\n    * Or create an org via Azure Marketplace (can probably be automated)\n* Install `az devops cli` extension to `az`\n* Install `hub` if wanting GitHub repos\n    * Out of scope for the moment but PAT and ORg would be needed too \n\n## Inputs we need\n* AzDO Project Name\n* AzDO Org Name\n* AzDO PAT for Org\n* HLD Repo Name\n* Manifest Repo Name\n* ACR Name (Resource Group + Sub Id)\n* Service Principal??\n* Org Email addresses of people we want to give access to AzDO project\n\n## How do I set who has access to the AzDO Project?\n* Optionally create a \"team\" and associate it with the project\n  * `az devops team create`\n* Optionally add users (via email address) to the \"team\"\n  * `az devops user add`\n\n## How do I create Git repos?\n* Create Azure git repos\n  * `az repos create --name AppCode -p Rocket2019 | jq webUrl`\n* Create GitHub repos\n    ```\n    git init\n    ...\n    hub create\n    git push\n    ```\n\n# How do I connect other cloud resoruces to the AzDO project?\n* Create AzureRM service endpoint\n  * ```az devops service-endpoint azurerm create```\n\n* Set up connection to existing ACR\n  * ```Use REST API```\n\n* Optionally create GitHub service connection to existing GitHub repos\n  * `az devops service-endpoint github create`\n\n# How do I create variables that pipelines can access?\n* Create a variable group for the pipelines\n  * `az pipelines variable-group create --name git_ops_vars --variables city=\"san francisco\" zipcode=94105 --authorize true -p Rocket2019`\n\n* Can't seem to set secret in variable group or add new var to group. Use REST api instead\n  * `az pipelines variable create --name access_token --value foo --secret`\n\n# How do I connect the git repos to the AzDO project to make pipelines?    \n* I prefer we locally generated `azure-pipeline.yml` files along with all the other scaffolded files we want and commit/push into the remote Git repos.\n\n* After we push the `azure-pipeline.yml` files and we can create a pipeline by associated the Git repo to the yaml file: \n  * `az pipelines create --name TurkeyPipeline -p Rocket2019 --repository dev.azure.com/abrig/Rocket2019/_git/AppCode --branch master --yaml-path azure-pipeline.yml`        \n\n* **IF MONOREPO**: After creating the pipeline we will want to update the names of the build definition.Will have to use REST API\n  * `az pipelines build definition list`\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrebriggs%2Fbedrock-azdo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrebriggs%2Fbedrock-azdo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrebriggs%2Fbedrock-azdo/lists"}