Skip to content

Commit 02b1ab3

Browse files
authored
Fix genesis sample app build & upload sequence (#432)
*Description of changes:* Adjust Genesis sample app build sequence to fix https://github.com/aws-observability/aws-application-signals-test-framework/actions/runs/16273995560/job/45948354230 *Rollback procedure:* <Can we safely revert this commit if needed? If not, detail what must be done to safely revert and why it is needed.> *Ensure you've run the following tests on your changes and include the link below:* To do so, create a `test.yml` file with `name: Test` and workflow description to test your changes, then remove the file for your PR. Link your test run in your PR description. This process is a short term solution while we work on creating a staging environment for testing. NOTE: TESTS RUNNING ON A SINGLE EKS CLUSTER CANNOT BE RUN IN PARALLEL. See the [needs](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idneeds) keyword to run tests in succession. - Run Java EKS on `e2e-playground` in us-east-1 and eu-central-2 - Run Python EKS on `e2e-playground` in us-east-1 and eu-central-2 - Run metric limiter on EKS cluster `e2e-playground` in us-east-1 and eu-central-2 - Run EC2 tests in all regions - Run K8s on a separate K8s cluster (check IAD test account for master node endpoints; these will change as we create and destroy clusters for OS patching) By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 7dedc1e commit 02b1ab3

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

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

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ jobs:
5454
working-directory: sample-apps/python
5555
run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./python-sample-app.zip --key python-sample-app.zip
5656

57+
- name: Build Gen AI Sample App Zip
58+
working-directory: sample-apps/python/genai_service
59+
run: zip -r python-gen-ai-sample-app.zip .
60+
61+
- name: Upload Gen AI Sample App to S3
62+
working-directory: sample-apps/python/genai_service
63+
run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./python-gen-ai-sample-app.zip --key python-gen-ai-sample-app.zip
64+
5765
- name: Build Lambda Sample App
5866
uses: actions/checkout@v4
5967
with:
@@ -66,12 +74,3 @@ jobs:
6674
- name: Upload to Lambda Sample App to S3
6775
working-directory: lambda-layer/sample-apps
6876
run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./build/function.zip --key pyfunction.zip
69-
70-
- name: Build Gen AI Sample App Zip
71-
working-directory: sample-apps/python/genai_service
72-
run: zip -r python-gen-ai-sample-app.zip .
73-
74-
- name: Upload Gen AI Sample App to S3
75-
working-directory: sample-apps/python/genai_service
76-
run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./python-gen-ai-sample-app.zip --key python-gen-ai-sample-app.zip
77-

0 commit comments

Comments
 (0)