Identified issue, fixed two identified code bugs

This commit is contained in:
Matthew Garrett 2023-08-24 09:27:31 -07:00
Родитель e39cf2704d
Коммит 59417535df
1 изменённых файлов: 2 добавлений и 10 удалений

12
.github/workflows/azure-ipam-testing.yml поставляемый
Просмотреть файл

@ -80,15 +80,7 @@ jobs:
$composeYaml['services']['ipam-engine'].image = $engineContainer $composeYaml['services']['ipam-engine'].image = $engineContainer
$composeYaml['services']['nginx-proxy'].image = $lbContainer $composeYaml['services']['nginx-proxy'].image = $lbContainer
$composeYaml | ConvertTo-Yaml | Out-File -FilePath ./docker-compose-prod.yml $composeYaml | ConvertTo-Yaml | Out-File -FilePath ./docker-compose.prod.yml
Write-Host "-----------------------------------"
Get-ChildItem | Select-Object Name
Write-Host "-----------------------------------"
$composeYaml | ConvertTo-Yaml
Write-Host "-----------------------------------"
Get-Content -Path ./docker-compose.prod.yml
Write-Host "-----------------------------------"
- name: Deploy Azure IPAM - name: Deploy Azure IPAM
working-directory: deploy working-directory: deploy
@ -196,7 +188,7 @@ jobs:
$engineApp = Get-AzADApplication -ApplicationId ${{ needs.deploy.outputs.ipamEngineAppId }} $engineApp = Get-AzADApplication -ApplicationId ${{ needs.deploy.outputs.ipamEngineAppId }}
Remove-AzResourceGroup -Name ${{ needs.deploy.outputs.ipamResourceGroup }} -Force Remove-AzResourceGroup -Name ${{ needs.deploy.outputs.ipamResourceGroup }} -Force
Remove-AzRoleAssignment -ObjectId $engineApp.ObjectId -Scope $scope -RoleDefinitionName Reader Remove-AzRoleAssignment -ObjectId $engineApp.Id -Scope $scope -RoleDefinitionName Reader
$uiApp | Remove-AzADApplication $uiApp | Remove-AzADApplication
$engineApp | Remove-AzADApplication $engineApp | Remove-AzADApplication