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