From 12f4634bffd468f9252a3b26f9722441fd99b715 Mon Sep 17 00:00:00 2001 From: jjllee Date: Tue, 23 Apr 2024 11:36:55 -0700 Subject: [PATCH] Update Python E2E Test Workflows to provide Test ID to the Validator --- .../workflows/application-signals-python-e2e-ec2-test.yml | 5 +++-- .../workflows/application-signals-python-e2e-eks-test.yml | 5 +++-- .github/workflows/appsignals-e2e-ec2-test.yml | 1 + .github/workflows/appsignals-e2e-eks-test.yml | 1 + 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/application-signals-python-e2e-ec2-test.yml b/.github/workflows/application-signals-python-e2e-ec2-test.yml index 3b4fa64da..1be3ed5f0 100644 --- a/.github/workflows/application-signals-python-e2e-ec2-test.yml +++ b/.github/workflows/application-signals-python-e2e-ec2-test.yml @@ -166,7 +166,7 @@ jobs: continue-on-error: true run: | curl -S -s -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/outgoing-http-call; echo - curl -S -s -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/aws-sdk-call; echo + curl -S -s -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/aws-sdk-call?testingId=${{ env.TESTING_ID }}; echo curl -S -s -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/remote-service?ip=${{ env.REMOTE_SERVICE_IP }}; echo curl -S -s -o /dev/null http://${{ env.MAIN_SERVICE_ENDPOINT }}/client-call; echo @@ -204,7 +204,8 @@ jobs: --log-group ${{ env.LOG_GROUP_NAME }} --service-name python-sample-application-${{ env.TESTING_ID }} --remote-service-name python-sample-remote-application-${{ env.TESTING_ID }} - --request-body ip=${{ env.REMOTE_SERVICE_IP }} + --remote-target-name ::s3:::e2e-test-bucket-name-${{ env.TESTING_ID }} + --request-body ip=${{ env.REMOTE_SERVICE_IP }}&testingId=${{ env.TESTING_ID }} --instance-ami ${{ env.EC2_INSTANCE_AMI }} --rollup' diff --git a/.github/workflows/application-signals-python-e2e-eks-test.yml b/.github/workflows/application-signals-python-e2e-eks-test.yml index 6f79ecf5f..e9f82b14b 100644 --- a/.github/workflows/application-signals-python-e2e-eks-test.yml +++ b/.github/workflows/application-signals-python-e2e-eks-test.yml @@ -250,7 +250,7 @@ jobs: continue-on-error: true run: | curl -S -s -o /dev/null http://${{ env.APP_ENDPOINT }}/outgoing-http-call; echo - curl -S -s -o /dev/null http://${{ env.APP_ENDPOINT }}/aws-sdk-call; echo + curl -S -s -o /dev/null http://${{ env.APP_ENDPOINT }}/aws-sdk-call?testingId=${{ env.TESTING_ID }}; echo curl -S -s -o /dev/null http://${{ env.APP_ENDPOINT }}/remote-service?ip=${{ env.REMOTE_SERVICE_POD_IP }}; echo curl -S -s -o /dev/null http://${{ env.APP_ENDPOINT }}/client-call; echo @@ -295,7 +295,8 @@ jobs: --service-name python-application-${{ env.TESTING_ID }} --remote-service-name python-remote-application-${{ env.TESTING_ID }} --remote-service-deployment-name ${{ env.REMOTE_SERVICE_DEPLOYMENT_NAME }} - --request-body ip=${{ env.REMOTE_SERVICE_POD_IP }} + --remote-target-name ::s3:::e2e-test-bucket-name-${{ env.TESTING_ID }} + --request-body ip=${{ env.REMOTE_SERVICE_POD_IP }}&testingId=${{ env.TESTING_ID }} --rollup' - name: Call endpoints and validate generated traces diff --git a/.github/workflows/appsignals-e2e-ec2-test.yml b/.github/workflows/appsignals-e2e-ec2-test.yml index 4e3e2f4c8..4413badef 100644 --- a/.github/workflows/appsignals-e2e-ec2-test.yml +++ b/.github/workflows/appsignals-e2e-ec2-test.yml @@ -208,6 +208,7 @@ jobs: --log-group ${{ env.LOG_GROUP_NAME }} --service-name sample-application-${{ env.TESTING_ID }} --remote-service-name sample-remote-application-${{ env.TESTING_ID }} + --remote-target-name ::s3:::e2e-test-bucket-name-${{ env.TESTING_ID }} --request-body ip=${{ env.REMOTE_SERVICE_IP }}&testingId=${{ env.TESTING_ID }} --instance-ami ${{ env.EC2_INSTANCE_AMI }} --rollup' diff --git a/.github/workflows/appsignals-e2e-eks-test.yml b/.github/workflows/appsignals-e2e-eks-test.yml index 6f0207922..26b419e34 100644 --- a/.github/workflows/appsignals-e2e-eks-test.yml +++ b/.github/workflows/appsignals-e2e-eks-test.yml @@ -306,6 +306,7 @@ jobs: --service-name sample-application-${{ env.TESTING_ID }} --remote-service-name sample-remote-application-${{ env.TESTING_ID }} --remote-service-deployment-name ${{ env.REMOTE_SERVICE_DEPLOYMENT_NAME }} + --remote-target-name ::s3:::e2e-test-bucket-name-${{ env.TESTING_ID }} --request-body ip=${{ env.REMOTE_SERVICE_POD_IP }}&testingId=${{ env.TESTING_ID }} --rollup'