зеркало из https://github.com/Azure/ipam.git
Identified issue, fixed two identified code bugs
This commit is contained in:
Родитель
e39cf2704d
Коммит
59417535df
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче