Skip to content

Commit 22f66ab

Browse files
authored
Merge branch 'main' into genesis-js-release-test
2 parents 05309b1 + 830910a commit 22f66ab

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
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-genai-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-

terraform/python/ec2/adot-genai/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ done
113113
# Generate traffic directly
114114
echo "Starting traffic generator..."
115115
nohup bash -c '
116-
for i in {1..5}; do
116+
for i in {1..9}; do
117117
message="What is the weather like today?"
118118
echo "[$(date)] Request $i: $message"
119119
curl -s -X POST http://localhost:8000/ai-chat \

0 commit comments

Comments
 (0)