Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the scripts to leverage DevBox Taks for customization #22

Merged
merged 1 commit into from Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
85 changes: 0 additions & 85 deletions Deploy/ARMTemplates/computeGallery/BackEnd-InstallWSL.ps1

This file was deleted.

Expand Up @@ -56,36 +56,6 @@
"filters": [
"exclude:$_.Title -like '*Preview*'"
]
},
{
"type": "PowerShell",
"name": "Updating Dependencies",
"inline": [
"Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Evilazaro/MicrosoftDevBox/main/Deploy/ARMTemplates/computeGallery/updateDependencies.ps1'));"
]
},
{
"type": "PowerShell",
"name": "Cloning GitHub Repos",
"inline": [
"Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Evilazaro/MicrosoftDevBox/main/Deploy/ARMTemplates/computeGallery/cloneRepos.ps1'));"
]
},
{
"type": "PowerShell",
"name": "Installing Dependencies and Customizations",
"inline": [
"Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/Evilazaro/MicrosoftDevBox/main/Deploy/ARMTemplates/computeGallery/BackEnd-Customizations.ps1'));"
]
},
{
"type": "PowerShell",
"name": "Adding current user to docker-users group",
"inline": [
"Set-ExecutionPolicy Bypass -Scope Process -Force;",
"Write-Host 'Adding current user to docker-users group';",
"Add-LocalGroupMember -Group 'docker-users' -Member 'Everyone';"
]
}
],
"distribute": [
Expand Down
62 changes: 0 additions & 62 deletions Deploy/ARMTemplates/computeGallery/cloneRepos.ps1

This file was deleted.

106 changes: 0 additions & 106 deletions Deploy/ARMTemplates/computeGallery/frontEndEngineerImgTemplate.json

This file was deleted.

17 changes: 1 addition & 16 deletions Deploy/ARMTemplates/devBox/devCentertemplate.json
Expand Up @@ -55,27 +55,12 @@
],
"properties": {
"gitHub": {
"uri": "https://github.com/microsoft/devcenter-catalog.git",
"uri": "https://github.com/Evilazaro/MicrosoftDevBox.git",
"branch": "main",
"path": "Tasks"
}
}
},
{
"type": "Microsoft.DevCenter/devcenters/catalogs",
"apiVersion": "2023-10-01-preview",
"name": "[concat(parameters('devCenterName'), '/quickstart-environment-definitions')]",
"dependsOn": [
"[resourceId('Microsoft.DevCenter/devcenters', parameters('devCenterName'))]"
],
"properties": {
"gitHub": {
"uri": "https://github.com/microsoft/devcenter-catalog.git",
"branch": "main",
"path": "Environment-Definitions"
}
}
},
{
"type": "Microsoft.DevCenter/devcenters/attachednetworks",
"apiVersion": "2023-04-01",
Expand Down
1 change: 0 additions & 1 deletion Deploy/Bash/deploy.sh
Expand Up @@ -195,7 +195,6 @@ function buildImage

declare -A image_params
image_params["Engineer-Clean-Img"]="Engineer-Clean petv2-Fabric ./DownloadedTempTemplates/engineerCleanTemplate-Output.json https://raw.githubusercontent.com/Evilazaro/MicrosoftDevBox/$branch/Deploy/ARMTemplates/computeGallery/engineerCleanTemplate.json Contoso"
image_params["FrontEnd-Img"]="VSCode-FrontEnd-Docker petv2-Fabric ./DownloadedTempTemplates/FrontEnd-Docker-Output.json https://raw.githubusercontent.com/Evilazaro/MicrosoftDevBox/$branch/Deploy/ARMTemplates/computeGallery/frontEndEngineerImgTemplate.json Contoso"
image_params["BackEnd-Docker-Img"]="VS22-BackEnd-Docker petv2-Fabric ./DownloadedTempTemplates/BackEnd-Docker-Output.json https://raw.githubusercontent.com/Evilazaro/MicrosoftDevBox/$branch/Deploy/ARMTemplates/computeGallery/backEndEngineerImgTemplateFullCustomized.json Contoso"

for imageName in "${!image_params[@]}"; do
Expand Down