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

Update CI/CD to run for CERTEU #126

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
creds: ${{secrets.AZURE_CREDENTIALS}}
enable-AzPSSession: true

- name: Run Azure PowerShell script
- name: Run Azure PowerShell script for DIGIT
uses: azure/powershell@v1
with:
azPSVersion: '3.1.0'
Expand All @@ -32,3 +32,13 @@ jobs:
Install-Module -Force -Name "AzLandingZone" -Repository "AzLandingZoneRepo"
Import-Module -Name "AzLandingZone"
New-AzLandingZone -SOC "DIGIT" -autoupdate $true -location "westeurope" -enableEventHub $true -securityContacts "[email protected]" -retentionPeriod 365

- name: Run Azure PowerShell script for CERTEU
uses: azure/powershell@v1
with:
azPSVersion: '3.1.0'
inlineScript: |
Register-PSRepository -Name "AzLandingZoneRepo" -SourceLocation "https://pkgs.dev.azure.com/devops0837/LandingZonePublic/_packaging/developmentfeed/nuget/v2" -publishLocation "https://pkgs.dev.azure.com/devops0837/LandingZonePublic/_packaging/developmentfeed/nuget/v2"
Install-Module -Force -Name "AzLandingZone" -Repository "AzLandingZoneRepo"
Import-Module -Name "AzLandingZone"
New-AzLandingZone -SOC "CERTEU" -autoupdate $true -location "westeurope" -enableEventHub $true -securityContacts "[email protected]" -retentionPeriod 365