File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed
terraform/python/ec2/adot-genai Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 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 :
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-
Original file line number Diff line number Diff line change 113113# Generate traffic directly
114114echo "Starting traffic generator..."
115115nohup 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 \
You can’t perform that action at this time.
0 commit comments