Skip to content

Commit 3050cd1

Browse files
committed
Merge branch 'fix-windows-ec2' into ec2-windows-ssm
2 parents 0624656 + ccdd2ed commit 3050cd1

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/dotnet-ec2-canary.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
workflow_dispatch: # be able to run the workflow on demand
1111
schedule:
1212
- cron: '*/15 * * * *' # run the workflow every 15 minutes
13+
push:
14+
branches:
15+
- "fix-windows-ec2"
1316

1417
permissions:
1518
id-token: write

.github/workflows/dotnet-sample-app-s3-deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
name: Sample App Deployment - Dotnet S3
55
on:
66
workflow_dispatch: # be able to run the workflow on demand
7+
push:
8+
branches:
9+
- "fix-windows-ec2"
710

811
permissions:
912
id-token: write

sample-apps/dotnet/dotnet-ec2-win-main-setup.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ while ($elapsedTime -lt $timeout) {
3333
Write-Host "Install Finished"
3434
break
3535
} else {
36+
$call_cloudwatch = & "C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1"
3637
Write-Host "Cloudwatch Agent not found: $filePath. Checking again in $interval seconds..."
3738
Start-Sleep -Seconds $interval
3839
$elapsedTime += $interval

sample-apps/dotnet/dotnet-ec2-win-remote-setup.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ while ($elapsedTime -lt $timeout) {
3131
Write-Host "Install Finished"
3232
break
3333
} else {
34+
$call_cloudwatch = & "C:\Program Files\Amazon\AmazonCloudWatchAgent\amazon-cloudwatch-agent-ctl.ps1"
3435
Write-Host "Cloudwatch Agent not found: $filePath. Checking again in $interval seconds..."
3536
Start-Sleep -Seconds $interval
3637
$elapsedTime += $interval

0 commit comments

Comments
 (0)