Skip to main content
Version: 2411

Task 02: Create source control project

Runbook GitHub GitLab Azure DevOps

DOCUMENT CATEGORY: Runbook Step
SCOPE: Source control project creation
PURPOSE: Create deployment source control project from Azure Local template
MASTER REFERENCE: Source Control Project Setup Guide

Status: Active


Objective​

Create a new source control project/repository for the deployment using the Azure Local template.


Prerequisites​

  • Bootstrap complete (Task 01)
  • Source control platform access (GitHub, GitLab, or Azure DevOps)

Procedure​

Create Repository from Template​

  1. Navigate to the Azure Local organization on GitHub
  2. Open the desired template repository
  3. Click Use this template → Create a new repository
  4. Configure:
FieldValue
OwnerYour organization
Repository name<org>-azurelocal (e.g. iic-azurelocal)
VisibilityPrivate
  1. Click Create repository
  2. Wait for repository creation to complete

Tip: If using GitHub Teams, move the repository to the appropriate team after creation via Settings → Manage access.


Verification​

  • Project/repository created successfully
  • Project appears in the correct group/organization
  • Project name follows your organization's naming convention
  • Template content is present in the repository

Next Steps​

Configure Project Settings


References​


Variables from variables.yml​

VariableConfig PathExample
Project Namecicd.project.nameazurelocal-deployment
Organization URLcicd.organization.urlhttps://dev.azure.com/contoso
Repository Namecicd.repository.nameinfrastructure

Toolkit Reference

Scripts for this task are located in the azurelocal-toolkit repository under scripts/deploy/ in the appropriate task folder.


Alternatives​

The procedures in this task use the scripted methods shown in the tabs above. Additional deployment methods including Azure CLI and Bash scripts are available in the azurelocal-toolkit repository under scripts/deploy/.

MethodDescription
Azure CLIPowerShell-based Azure CLI scripts for Azure resource operations
BashLinux/macOS compatible shell scripts for pipeline environments
PreviousUpNext
← Task 01: BootstrapPhase 01: CI/CD SetupTask 03: Configure Project Settings ->

Troubleshooting​

IssueCauseResolution
Repository creation failsInsufficient permissions on source control platformVerify account has project/repo creation rights
Template not availableOrganization template restrictionsContact platform administrator to enable templates

Version Control​

VersionDateAuthorChanges
1.0.02025-03-25Azure Local CloudInitial release