git clone https://github.com/ORG/azure-application-uta-westeurope.git
cd azure-application-uta-westeurope
git remote add upstream https://github.com/ORG/azure-application-dev-westeurope.git
git pull upsteam main
git config merge.ours.driver true
git checkout main
git checkout upstream/main -- .gitattributes
git commit -m "Added .gitattributes"
git pushgit checkout main
git pull --prune
#### Remove
git branch -D release/qua
git fetch upstream
git diff main upstream/main -- ':!/.github/address_spaces.txt' ':!/.github/workflows/context.json'
git checkout -b release/qua
git merge upstream/main --allow-unrelated-histories --strategy-option theirs
git push --set-upstream origin release/qua%%{init: { 'theme': 'base', 'gitGraph': { 'mainBranchName': 'main (prod)', 'showCommitLabel': false}} }%%
gitGraph
branch "main (qua)" order: 7
branch "main (dev)" order: 9
commit
branch "feature/XXX" order: 10
commit
checkout "main (dev)"
merge "feature/XXX" tag:"PR"
checkout "main (qua)"
commit
branch release/qua order: 8
merge "main (dev)"
checkout "main (qua)"
merge release/qua tag:"PR"
checkout "main (prod)"
commit
branch release/prod order: 6
merge "main (qua)"
checkout "main (prod)"
merge release/prod tag:"PR"
cd .\Documents\
git clone https://github.com/actions/runner-images.git
cd .\runner-images\
Import-Module .\helpers\GenerateResourcesAndImage.ps1
#Windows
.\helpers\GenerateResourcesAndImage.ps1; GenerateResourcesAndImage `
-SubscriptionId '123abc' `
-ResourceGroupName 'rg-infra-image-prod-01' `
-ImageType 'Windows2022' `
-ManagedImageName ("image-agent-windows-$(Get-Date -Format "yyyy-MM-dd")").ToLower() `
-AzureLocation 'westeurope' `
-AzureClientId "123abc" `
-AzureClientSecret "123abc" `
-ImageGenerationRepositoryRoot $pwd `
-SecondsToWaitForServicePrincipalSetup 120 `
-AzureTenantId "123abc" `
-OnError "ask" `
-Tags @{}
#Linux 2024
.\helpers\GenerateResourcesAndImage.ps1; GenerateResourcesAndImage `
-SubscriptionId '123abc' `
-ResourceGroupName 'rg-infra-image-prod-01' `
-ImageType 'Ubuntu2404' `
-ManagedImageName ("image-agent-linux24-$(Get-Date -Format "yyyy-MM-dd")").ToLower() `
-AzureLocation 'westeurope' `
-AzureClientId "123abc" `
-AzureClientSecret "123abc" `
-ImageGenerationRepositoryRoot $pwd `
-SecondsToWaitForServicePrincipalSetup 120 `
-AzureTenantId "123abc" `
-OnError "ask" `
-Tags @{}Project Settings -> Project Configuration -> Areas -> Select the specific Area -> Right click or click "..." -> Select Security -> Select the specific group or user, make sure "Edit work items in this node" is set to Allow.