File tree 2 files changed +8
-5
lines changed
2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 16
16
init :
17
17
name : Initialize Azure IPAM Build
18
18
runs-on : ubuntu-latest
19
+ environment : production
19
20
outputs :
20
21
ipamVersion : ${{ steps.extractVersion.outputs.ipamVersion }}
21
22
steps :
34
35
build :
35
36
name : Build Azure IPAM Containers
36
37
runs-on : ubuntu-latest
38
+ environment : production
37
39
needs : [ init ]
38
40
steps :
39
41
- name : Azure Login
61
63
build-legacy :
62
64
name : Build Legacy Azure IPAM Containers
63
65
runs-on : ubuntu-latest
66
+ environment : production
64
67
needs : [ init ]
65
68
steps :
66
69
- name : Azure Login
Original file line number Diff line number Diff line change @@ -154,17 +154,17 @@ try {
154
154
155
155
Write-Host " INFO: Running NPM Install..." - ForegroundColor Green
156
156
157
- # Build Azure IPAM UI
157
+ # Install Azure IPAM UI Dependencies
158
158
$npmInstallErr = $ (
159
- $npmInstall = npm ci -- no- progress -- no- update-notifier -- no- fund
159
+ $npmInstall = npm ci -- no- progress -- no- update-notifier -- no- fund -- loglevel error
160
160
) 2>&1
161
161
162
162
# Switch back to original dir
163
163
Pop-Location
164
164
165
- # Exit if NPM Build fails
165
+ # Exit if NPM Install fails
166
166
if ($npmInstallErr ) {
167
- Write-Host " ERROR: NPM Build failed!" - ForegroundColor red
167
+ Write-Host " ERROR: NPM Install failed!" - ForegroundColor red
168
168
throw $npmInstallErr
169
169
}
170
170
@@ -183,7 +183,7 @@ try {
183
183
184
184
# Exit if NPM Build fails
185
185
if ($npmBuildErr ) {
186
- Write-Host " ERROR: NPM Install failed!" - ForegroundColor red
186
+ Write-Host " ERROR: NPM Build failed!" - ForegroundColor red
187
187
throw $npmBuildErr
188
188
}
189
189
You can’t perform that action at this time.
0 commit comments