Skip to content
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
381 commits
Select commit Hold shift + click to select a range
1d6209a
updated validations again
AsakerMohd Jul 26, 2024
a1156c4
updated sdk call trace validation
AsakerMohd Jul 26, 2024
7bb18d8
other chagnes
AsakerMohd Jul 26, 2024
099ffa5
more changes
AsakerMohd Jul 26, 2024
6a5b7b7
updated the remote service validation
AsakerMohd Jul 26, 2024
5864661
Merge branch 'dotnetE2ETests' into dotnetMergeBranch
AsakerMohd Jul 31, 2024
c3774fa
Fix based on comments
XinRanZhAWS Jul 31, 2024
6e842b6
move the patch and validation to seperate action
XinRanZhAWS Aug 1, 2024
460dc9d
Remove temporary measure for enable-appsignal
XinRanZhAWS Aug 1, 2024
ca2494f
Merge from main
XinRanZhAWS Aug 1, 2024
0370cb3
Quick test
XinRanZhAWS Aug 2, 2024
97655aa
Revert "Quick test"
XinRanZhAWS Aug 2, 2024
0530488
wording
XinRanZhAWS Aug 2, 2024
3d88b62
Modify to match private ip behaviour
XinRanZhAWS Aug 6, 2024
30b5d5f
Merge branch 'main' into dotnetMergeBranch
XinRanZhAWS Aug 6, 2024
c5ffae0
Modify to match private ip behaviour
XinRanZhAWS Aug 6, 2024
a45d8e7
asg modify for private ip
XinRanZhAWS Aug 6, 2024
332abf2
asg modify for private ip
XinRanZhAWS Aug 6, 2024
a295ab3
Make change based on non-Public IP change in mainline
XinRanZhAWS Aug 7, 2024
f93c08d
Merge branch 'main' into dotnetMergeBranch
XinRanZhAWS Aug 7, 2024
aa53a86
stop using container to execute test
XinRanZhAWS Aug 7, 2024
d0cadc2
Merge remote-tracking branch 'origin/dotnetMergeBranch' into dotnetMe…
XinRanZhAWS Aug 7, 2024
714ba59
use new way to emit traces
XinRanZhAWS Aug 7, 2024
ef4ff13
use new way to execute terraform
XinRanZhAWS Aug 7, 2024
6e32d32
Merge branch 'main' into dotnetMergeBranch
XinRanZhAWS Aug 7, 2024
c257312
Fix based on harry's comment
XinRanZhAWS Aug 7, 2024
2501aae
Delete unneeded K8s for now
XinRanZhAWS Aug 7, 2024
ba22711
Update .github/workflows/aspnet-sample-app-ecr-deploy.yml
XinRanZhAWS Aug 7, 2024
b018d94
Update .github/workflows/aspnet-sample-app-s3-deploy.yml
XinRanZhAWS Aug 7, 2024
f50fd37
replaces inputs.xxx and secrets.xxx to env variable
XinRanZhAWS Aug 7, 2024
6aaeff9
Merge remote-tracking branch 'origin/dotnetMergeBranch' into dotnetMe…
XinRanZhAWS Aug 7, 2024
f39e8b7
Use Get Bucket Location for Dotnet Sample App
XinRanZhAWS Aug 8, 2024
fec795f
Use Get Bucket Location for Dotnet Sample App
XinRanZhAWS Aug 8, 2024
0f0e60a
one time execute to deploy sample app change
XinRanZhAWS Aug 8, 2024
e011b2b
dotnet s3 fix
XinRanZhAWS Aug 8, 2024
1daefde
dotnet s3 fix
XinRanZhAWS Aug 8, 2024
f3068c4
dotnet s3 fix
XinRanZhAWS Aug 8, 2024
5bb65bd
Fix for ASG
XinRanZhAWS Aug 8, 2024
7a60621
Fix for EKS
XinRanZhAWS Aug 8, 2024
5c6ada6
Merge branch 'main' into dotnetMergeBranch
XinRanZhAWS Aug 8, 2024
9faf3c5
Merge branch 'main' into dotnetMergeBranch
XinRanZhAWS Aug 9, 2024
bd0600f
Merge branch 'main' into dotnetMergeBranch
XinRanZhAWS Aug 13, 2024
df6d6d6
Part 1 K8s
XinRanZhAWS Aug 14, 2024
99f6a59
fix typo
XinRanZhAWS Aug 14, 2024
1e0bfce
fix typo
XinRanZhAWS Aug 14, 2024
b2fc22d
Merge branch 'dotnetMergeBranch' into dotnetMergeBranch-windows
XinRanZhAWS Aug 14, 2024
a6f3989
Fix typo and issues
XinRanZhAWS Aug 15, 2024
8a269ba
Merge branch 'dotnetMergeBranch' into dotnetMergeBranch-windows
XinRanZhAWS Aug 15, 2024
33fcce0
create ps1 script for windows dotnet e2e setup
XinRanZhAWS Aug 15, 2024
dc89337
Fix a typo
XinRanZhAWS Aug 15, 2024
63427fb
$ does create trouble in powershell, remove the $
XinRanZhAWS Aug 15, 2024
8dfd565
param
XinRanZhAWS Aug 16, 2024
15a860d
include remote_resource and traffic_generator setup
XinRanZhAWS Aug 16, 2024
2cc2311
fix typo
XinRanZhAWS Aug 16, 2024
afc51b8
fix typo
XinRanZhAWS Aug 16, 2024
e99360a
fix typo
XinRanZhAWS Aug 16, 2024
6a0856c
exit after execution
XinRanZhAWS Aug 16, 2024
b2cadc3
unblock script
XinRanZhAWS Aug 16, 2024
f1388d9
line wrap problem fix
XinRanZhAWS Aug 16, 2024
9885452
force extract
XinRanZhAWS Aug 16, 2024
1495a2b
debug
XinRanZhAWS Aug 16, 2024
976c84f
debug
XinRanZhAWS Aug 16, 2024
64a91d8
debug
XinRanZhAWS Aug 16, 2024
63dde9c
functional version
XinRanZhAWS Aug 16, 2024
8e6af4a
add test id as script param
XinRanZhAWS Aug 20, 2024
8ec018d
Included
XinRanZhAWS Aug 20, 2024
10c811b
Functional, should be
XinRanZhAWS Aug 20, 2024
f61dcd9
Functional, should be
XinRanZhAWS Aug 20, 2024
95de7de
test string issue
XinRanZhAWS Aug 20, 2024
30c5e28
test string issue
XinRanZhAWS Aug 21, 2024
8643aaa
use new way to download sample app
XinRanZhAWS Aug 21, 2024
22fa4d1
upload sample app zip too
XinRanZhAWS Aug 21, 2024
f27dcb0
allow windows dotnet ec2 test
XinRanZhAWS Aug 21, 2024
ca83385
allow windows dotnet ec2 test
XinRanZhAWS Aug 21, 2024
2abb85a
Test for new way in AWS CLI install
XinRanZhAWS Aug 21, 2024
9bb23fd
Test for new way in AWS CLI install
XinRanZhAWS Aug 21, 2024
82afcbd
Clean up comments
XinRanZhAWS Aug 21, 2024
d3c935e
deal with file
XinRanZhAWS Aug 22, 2024
f6a5153
deal with file
XinRanZhAWS Aug 22, 2024
a5cccca
deal with aws cli
XinRanZhAWS Aug 22, 2024
5d4fc4b
remove need of key
XinRanZhAWS Aug 22, 2024
efeae26
windows zip file
XinRanZhAWS Aug 22, 2024
9e0ef49
fix dotnet ec2 default
XinRanZhAWS Aug 22, 2024
1c2023c
Revert this lol
XinRanZhAWS Aug 22, 2024
d003d09
fix a typo
XinRanZhAWS Aug 22, 2024
0b3592c
fix asg and remove comments
XinRanZhAWS Aug 22, 2024
2acd5bc
revert this too, lol
XinRanZhAWS Aug 22, 2024
ebae051
Fix asg
XinRanZhAWS Aug 22, 2024
756edb2
fix a long existing issue in E2E ASG Test
XinRanZhAWS Aug 23, 2024
a645500
EKS finished version
XinRanZhAWS Aug 23, 2024
3bfbaf7
revert me x3
XinRanZhAWS Aug 23, 2024
ce5b9dd
Delete Dockerfile
thpierce Aug 23, 2024
3c55a4f
fix traffic generator
XinRanZhAWS Aug 23, 2024
fd695b3
Revert "Revert this lol"
XinRanZhAWS Aug 23, 2024
82cbe05
Revert "revert this too, lol"
XinRanZhAWS Aug 23, 2024
b0f69a3
Delete Dockerfile
thpierce Aug 23, 2024
0b96a2d
Delete Dockerfile
thpierce Aug 23, 2024
80ba2f1
Revert "Revert "Revert this lol""
XinRanZhAWS Aug 23, 2024
2b7acf6
Revert "Revert "revert this too, lol""
XinRanZhAWS Aug 23, 2024
9e45caf
Revert "revert this too, lol"
XinRanZhAWS Aug 23, 2024
855d91d
Revert "Revert this lol"
XinRanZhAWS Aug 23, 2024
d6d8ab2
Merge remote-tracking branch 'origin/dotnetMergeBranch-revert' into d…
XinRanZhAWS Aug 23, 2024
99f688f
fix issues
XinRanZhAWS Aug 23, 2024
b62a5e5
do not delete
XinRanZhAWS Aug 23, 2024
3664ce6
Merge branch 'dotnetMergeBranch-revert' into dotnetMergeBranch
XinRanZhAWS Aug 23, 2024
474d415
Merge branch 'dotnetMergeBranch-windows' into dotnetMergeBranch-ec2only
XinRanZhAWS Aug 23, 2024
9a95e4d
remove EKS E2E and add EC2 E2E for Windows
XinRanZhAWS Aug 23, 2024
d3ff65d
Allow run for E2E windows test
XinRanZhAWS Aug 23, 2024
4f09e6e
revert me
XinRanZhAWS Aug 23, 2024
17a42c8
fix naming on emit-metric
XinRanZhAWS Aug 23, 2024
dad52ed
fix windows test
XinRanZhAWS Aug 23, 2024
0f4e5dc
Remove windows test for now
XinRanZhAWS Aug 23, 2024
2291797
Remove windows pre-define template
XinRanZhAWS Aug 23, 2024
dee43a6
Merge branch 'main' into dotnetMergeBranch-ec2only-nowindows
XinRanZhAWS Aug 23, 2024
2d046f6
Remove EKS, improve readme for dotnet sample app
XinRanZhAWS Aug 26, 2024
8c95147
Merge remote-tracking branch 'origin/dotnetMergeBranch-ec2only-nowind…
XinRanZhAWS Aug 26, 2024
13d8aa2
Remove EKS
XinRanZhAWS Aug 26, 2024
16abab9
Merge branch 'main' into dotnetMergeBranch-ec2only-nowindows
XinRanZhAWS Aug 26, 2024
796f16f
Merge branch 'main' into dotnetMergeBranch-ec2only-nowindows
XinRanZhAWS Aug 26, 2024
0fc0276
Update .github/workflows/actions/patch_image_and_check_diff/action.yml
XinRanZhAWS Aug 27, 2024
7de5045
Done with this
XinRanZhAWS Aug 27, 2024
1dfc6ab
Delete launch settings
XinRanZhAWS Aug 27, 2024
3739f65
Merge branch 'main' into dotnetMergeBranch-ec2only-nowindows
XinRanZhAWS Aug 27, 2024
1a870f7
Revert "Remove windows pre-define template"
XinRanZhAWS Aug 27, 2024
e6bcae4
Revert "Remove windows test for now"
XinRanZhAWS Aug 27, 2024
1c1c6ac
temporarily block the windows remote service call
XinRanZhAWS Aug 27, 2024
affb2a4
Check if app come online
XinRanZhAWS Aug 27, 2024
b2fd78c
increase log level for sample app
XinRanZhAWS Aug 27, 2024
c27173f
To check endpoint for sample application
XinRanZhAWS Aug 27, 2024
0e0082e
ASG health check ref PR-180
XinRanZhAWS Aug 27, 2024
e56ad77
Add max execute timeout ref PR-179
XinRanZhAWS Aug 27, 2024
20b6539
Allow retry for non-start E2E, ref PR-178
XinRanZhAWS Aug 27, 2024
8c15a24
test for once
XinRanZhAWS Aug 27, 2024
e9e56fc
Remove debug code
XinRanZhAWS Aug 27, 2024
898f046
No staging distro name
XinRanZhAWS Aug 27, 2024
0c1b232
Fix terraform script
XinRanZhAWS Aug 27, 2024
fecbf78
fix naming on asg test
XinRanZhAWS Aug 27, 2024
5e73d21
fix ec2 trigger to avoid double run-try
XinRanZhAWS Aug 27, 2024
944f58c
Fix naming to avoid double retry
XinRanZhAWS Aug 27, 2024
e7c83a4
Revert "test for once"
XinRanZhAWS Aug 27, 2024
d5a1fbc
Merge branch 'dotnetMergeBranch-ec2-test' into dotnetMergeBranch-ec2o…
XinRanZhAWS Aug 27, 2024
14a6378
Test sample app deployment
XinRanZhAWS Aug 27, 2024
dbcb690
A (stupid) naming issue
XinRanZhAWS Aug 27, 2024
77e09be
Revert "Test sample app deployment"
XinRanZhAWS Aug 27, 2024
09cf874
Merge branch 'dotnetMergeBranch-ec2-test' into dotnetMergeBranch-ec2o…
XinRanZhAWS Aug 27, 2024
64b18de
fix typo and some comments
XinRanZhAWS Aug 29, 2024
3cadfb5
Update .github/workflows/dotnet-ec2-asg-test.yml
XinRanZhAWS Aug 29, 2024
fbedb5d
name fix for sample deployment
XinRanZhAWS Aug 29, 2024
b74da3d
naming and repo fix
XinRanZhAWS Aug 29, 2024
88993ba
Update terraform/dotnet/ec2/asg/main.tf
XinRanZhAWS Aug 29, 2024
3ac6427
fix
XinRanZhAWS Aug 29, 2024
f646472
Clean comments in shell script
XinRanZhAWS Aug 29, 2024
c9d5f11
upload scripts to s3
XinRanZhAWS Aug 29, 2024
18f46c2
Temporarily remove windows
XinRanZhAWS Aug 29, 2024
a3ed1d8
Temporarily remove windows
XinRanZhAWS Aug 29, 2024
bd6f2df
Revert "Temporarily remove windows"
XinRanZhAWS Aug 30, 2024
3de3039
Revert "Temporarily remove windows"
XinRanZhAWS Aug 30, 2024
334781c
test windows
XinRanZhAWS Aug 30, 2024
ecd8304
Test to print SSM associations
XinRanZhAWS Aug 30, 2024
1a3426b
push scripts to s3
XinRanZhAWS Aug 30, 2024
3e0b155
Revert "push scripts to s3"
XinRanZhAWS Aug 30, 2024
55ad853
to wait for ssm document execute
XinRanZhAWS Aug 30, 2024
1f0f256
fix typo
XinRanZhAWS Aug 30, 2024
4d813cb
output fix
XinRanZhAWS Aug 30, 2024
1e9c474
debug to see what's wrong
XinRanZhAWS Aug 30, 2024
5a0b867
add working directory
XinRanZhAWS Aug 30, 2024
d68a75f
print debug describe
XinRanZhAWS Aug 30, 2024
9d2e54a
print debug describe
XinRanZhAWS Aug 30, 2024
9fb9d9b
print debug
XinRanZhAWS Aug 30, 2024
c27210e
print debug
XinRanZhAWS Aug 30, 2024
a26db0b
print debug
XinRanZhAWS Aug 30, 2024
4783bef
update a new method to check
XinRanZhAWS Aug 30, 2024
449bf7c
update a new method to check traffic generator setup
XinRanZhAWS Aug 30, 2024
0ebd013
download traffic generator script from S3
XinRanZhAWS Aug 30, 2024
6c47b3a
re-install s3 on traffic generator setup
XinRanZhAWS Aug 30, 2024
873440f
install aws-cli on traffic generator setup
XinRanZhAWS Aug 30, 2024
3a159f9
install aws-cli on traffic generator setup
XinRanZhAWS Aug 30, 2024
45b8e7e
download all ps1 script from s3
XinRanZhAWS Aug 30, 2024
b48c6ed
install again at start of system
XinRanZhAWS Aug 30, 2024
84a25e1
remove unneeded scripts
XinRanZhAWS Aug 30, 2024
f01dc75
move cwa config to s3
XinRanZhAWS Aug 30, 2024
ad56148
Revert "test windows"
XinRanZhAWS Aug 30, 2024
5288bd9
Revert "Revert "push scripts to s3""
XinRanZhAWS Aug 30, 2024
38f7cc8
publish cwa to s3
XinRanZhAWS Aug 30, 2024
00a28e0
script - remove un-nessasary comment
XinRanZhAWS Aug 30, 2024
9016bab
Revert "Revert "Revert "push scripts to s3"""
XinRanZhAWS Aug 30, 2024
328c0f9
Test windows for all region
XinRanZhAWS Aug 30, 2024
4333448
in every execution -> run aws-cli reinstall because not stable
XinRanZhAWS Aug 30, 2024
13035e9
allow up tp 15 min
XinRanZhAWS Aug 30, 2024
c5a43bf
fix based on comments
XinRanZhAWS Aug 30, 2024
e8c34b0
delete asg canary, but keep ability to run the workflow for release b…
XinRanZhAWS Aug 30, 2024
0214c21
test sample app deployment
XinRanZhAWS Aug 30, 2024
9794e4a
Revert "test sample app deployment"
XinRanZhAWS Aug 30, 2024
a522552
Test run for workflow
XinRanZhAWS Aug 30, 2024
df107be
Update terraform/dotnet/ec2/default/main.tf
XinRanZhAWS Aug 30, 2024
f8e3add
remove some debug comment
XinRanZhAWS Aug 30, 2024
df9303d
remove http status code
XinRanZhAWS Aug 30, 2024
cacad57
Merge remote-tracking branch 'origin/dotnetMergeBranch-ec2only-nowind…
XinRanZhAWS Aug 30, 2024
62b64a8
Revert "Test run for workflow"
XinRanZhAWS Aug 31, 2024
faf8d80
Merge branch 'dotnetMergeBranch-ec2only-nowindows' into dotnetMergeBr…
XinRanZhAWS Sep 3, 2024
3d34341
Fix windows
XinRanZhAWS Sep 3, 2024
dd9fe23
Do not test status code because of potential issue
XinRanZhAWS Sep 3, 2024
4d30ed4
remove error code
XinRanZhAWS Sep 3, 2024
84db8c1
Merge branch 'dotnetMergeBranch-ec2only-nowindows' into dotnetMergeBr…
XinRanZhAWS Sep 3, 2024
5f58111
remove windows error code
XinRanZhAWS Sep 3, 2024
3c320b8
one time test for upload windows artifacts
XinRanZhAWS Sep 3, 2024
bfa989a
Merge branch 'main' into dotnetMergeBranch-ec2only
XinRanZhAWS Sep 3, 2024
c56d9cd
fix typo
XinRanZhAWS Sep 4, 2024
f013b47
Add dotnet to K8s infra create
XinRanZhAWS Sep 4, 2024
976b1d4
Revert "Add dotnet to K8s infra create"
XinRanZhAWS Sep 4, 2024
5ea0103
there is a 5% chance for this metric missing, block this for now
XinRanZhAWS Sep 5, 2024
5a76988
scale up the machine use for windows
XinRanZhAWS Sep 5, 2024
ea80c80
Revert "scale up the machine use for windows"
XinRanZhAWS Sep 5, 2024
2d6d42d
To use silence download, should be faster
XinRanZhAWS Sep 5, 2024
23b02de
to save seconds by remove duplicated aws cli install
XinRanZhAWS Sep 5, 2024
6b8a969
No run canary when push
XinRanZhAWS Sep 5, 2024
c89bf71
Revert "No run canary when push"
XinRanZhAWS Sep 5, 2024
1c145db
Revert "Revert "No run canary when push""
XinRanZhAWS Sep 5, 2024
ff65507
Revert "Revert "Revert "No run canary when push"""
XinRanZhAWS Sep 5, 2024
cd09164
install aws at start
XinRanZhAWS Sep 5, 2024
dcb90ef
do not install aws-cli on script
XinRanZhAWS Sep 5, 2024
4de8c67
No seperate traffic generator setting
XinRanZhAWS Sep 5, 2024
1d03e5c
update check and sleep bahaviour to reduce time cost
XinRanZhAWS Sep 5, 2024
fc5bc78
Do not sleep for both service, should be good enough
XinRanZhAWS Sep 5, 2024
f1e5310
Clean up traffic generator setup
XinRanZhAWS Sep 5, 2024
25c7a55
Add back small sleep to avoid unstable issue
XinRanZhAWS Sep 5, 2024
1d932dd
fix aws sdk metrics
XinRanZhAWS Sep 6, 2024
8b2492f
fix base on comment
XinRanZhAWS Sep 10, 2024
3ef99f2
fix based on comments
XinRanZhAWS Sep 11, 2024
1db93c8
fix expect
XinRanZhAWS Sep 11, 2024
9b8afd1
fix metric query
XinRanZhAWS Sep 11, 2024
955e817
comment
XinRanZhAWS Sep 11, 2024
4900a7e
fix typo
XinRanZhAWS Sep 11, 2024
3642443
rename and repush the setup script
XinRanZhAWS Sep 11, 2024
52024dd
remove debug note
XinRanZhAWS Sep 11, 2024
9b5ceb6
fix intergration test location
XinRanZhAWS Sep 12, 2024
1413e4d
Prepare to merge
XinRanZhAWS Sep 12, 2024
79a7af0
fix based on comment part 1
XinRanZhAWS Sep 12, 2024
6e7da84
Revert "Prepare to merge"
XinRanZhAWS Sep 12, 2024
de7aac4
add timeout minutes
XinRanZhAWS Sep 12, 2024
e000d93
remove canary type var
XinRanZhAWS Sep 12, 2024
6b21a14
prepare to merge
XinRanZhAWS Sep 12, 2024
aef00d9
Revert "prepare to merge"
XinRanZhAWS Sep 12, 2024
524f878
use windows 2022
XinRanZhAWS Sep 12, 2024
00998fc
Merge instance deploy check and reduce max allowance
XinRanZhAWS Sep 12, 2024
e4f78aa
typo fix
XinRanZhAWS Sep 12, 2024
5254ee2
add comments, fix an issue cause cloudwatch agent install unstable
XinRanZhAWS Sep 12, 2024
f95bba6
solving unstable cloudwatch agent install script
XinRanZhAWS Sep 13, 2024
2a7f890
Use a more stable way to check cloudwatch agent installation
XinRanZhAWS Sep 13, 2024
beffc21
Revert "Revert "prepare to merge""
XinRanZhAWS Sep 13, 2024
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
15 changes: 15 additions & 0 deletions .github/workflows/dotnet-ec2-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,18 @@ jobs:
with:
aws-region: ${{ matrix.aws-region }}
caller-workflow-name: 'appsignals-dotnet-e2e-ec2-canary-test'


windows:
strategy:
fail-fast: false
matrix:
aws-region: [ 'af-south-1','ap-east-1','ap-northeast-1','ap-northeast-2','ap-northeast-3','ap-south-1','ap-south-2','ap-southeast-1',
'ap-southeast-2','ap-southeast-3','ap-southeast-4','ca-central-1','eu-central-1','eu-central-2','eu-north-1',
'eu-south-1','eu-south-2','eu-west-1','eu-west-2','eu-west-3','il-central-1','me-central-1','me-south-1', 'sa-east-1',
'us-east-1','us-east-2', 'us-west-1', 'us-west-2' ]
uses: ./.github/workflows/dotnet-ec2-windows-retry.yml
secrets: inherit
with:
aws-region: ${{ matrix.aws-region }}
caller-workflow-name: 'appsignals-dotnet-e2e-ec2-windows-canary-test'
57 changes: 57 additions & 0 deletions .github/workflows/dotnet-ec2-windows-retry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
## Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
## SPDX-License-Identifier: Apache-2.0

# This is a reusable workflow for running the Enablement test for App Signals.
# It is meant to be called from another workflow.
# Read more about reusable workflows: https://docs.github.com/en/actions/using-workflows/reusing-workflows#overview
name: Dotnet EC2 Windows Retry
on:
workflow_call:
inputs:
aws-region:
required: true
type: string
caller-workflow-name:
required: true
type: string

permissions:
id-token: write
contents: read

jobs:
dotnet-ec2-windows-attempt-1:
uses: ./.github/workflows/dotnet-ec2-windows-test.yml
secrets: inherit
with:
aws-region: ${{ inputs.aws-region }}
caller-workflow-name: ${{ inputs.caller-workflow-name }}

dotnet-ec2-windows-attempt-2:
needs: [ dotnet-ec2-windows-attempt-1 ]
if: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.job-started != 'true' }}
uses: ./.github/workflows/dotnet-ec2-windows-test.yml
secrets: inherit
with:
aws-region: ${{ inputs.aws-region }}
caller-workflow-name: ${{ inputs.caller-workflow-name }}

publish-metric-attempt-1:
needs: [ dotnet-ec2-windows-attempt-1, dotnet-ec2-windows-attempt-2 ]
if: always()
uses: ./.github/workflows/enablement-test-publish-result.yml
secrets: inherit
with:
aws-region: ${{ inputs.aws-region }}
caller-workflow-name: ${{ inputs.caller-workflow-name }}
validation-result: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.validation-result || needs.dotnet-ec2-windows-attempt-2.outputs.validation-result }}

publish-metric-attempt-2:
needs: [ dotnet-ec2-windows-attempt-1, dotnet-ec2-windows-attempt-2, publish-metric-attempt-1 ]
if: ${{ always() && needs.publish-metric-attempt-1.outputs.job-started != 'true' }}
uses: ./.github/workflows/enablement-test-publish-result.yml
secrets: inherit
with:
aws-region: ${{ inputs.aws-region }}
caller-workflow-name: ${{ inputs.caller-workflow-name }}
validation-result: ${{ needs.dotnet-ec2-windows-attempt-1.outputs.validation-result || needs.dotnet-ec2-windows-attempt-2.outputs.validation-result }}
Loading
Loading