Skip to content

Commit 7dfaff2

Browse files
committed
test
1 parent 17269fe commit 7dfaff2

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

.github/workflows/python-ec2-genai-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
name: Python EC2 Gen AI Use Case
55
on:
6+
workflow_dispatch: # be able to run the workflow on demand
7+
push:
8+
branches:
9+
- genesis-release-test
610
workflow_call:
711
inputs:
812
caller-workflow-name:

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

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
name: Sample App Deployment - Python S3
55
on:
66
workflow_dispatch: # be able to run the workflow on demand
7-
push:
8-
branches:
9-
- genesis-release-test
107

118
permissions:
129
id-token: write
@@ -49,26 +46,26 @@ jobs:
4946
role-to-assume: arn:aws:iam::${{ env.ACCOUNT_ID }}:role/${{ secrets.E2E_TEST_ROLE_ARN }}
5047
aws-region: ${{ matrix.aws-region }}
5148

52-
- name: Build Sample App Zip
53-
working-directory: sample-apps/python
54-
run: zip -r python-sample-app.zip .
49+
# - name: Build Sample App Zip
50+
# working-directory: sample-apps/python
51+
# run: zip -r python-sample-app.zip .
5552

56-
- name: Upload to S3
57-
working-directory: sample-apps/python
58-
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
53+
# - name: Upload to S3
54+
# working-directory: sample-apps/python
55+
# 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
5956

60-
- name: Build Lambda Sample App
61-
uses: actions/checkout@v4
62-
with:
63-
repository: 'aws-observability/aws-otel-python-instrumentation'
64-
- name: Build sample lambda function
65-
shell: bash
66-
run: ./package-lambda-function.sh
67-
working-directory: lambda-layer/sample-apps
57+
# - name: Build Lambda Sample App
58+
# uses: actions/checkout@v4
59+
# with:
60+
# repository: 'aws-observability/aws-otel-python-instrumentation'
61+
# - name: Build sample lambda function
62+
# shell: bash
63+
# run: ./package-lambda-function.sh
64+
# working-directory: lambda-layer/sample-apps
6865

69-
- name: Upload to Lambda Sample App to S3
70-
working-directory: lambda-layer/sample-apps
71-
run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./build/function.zip --key pyfunction.zip
66+
# - name: Upload to Lambda Sample App to S3
67+
# working-directory: lambda-layer/sample-apps
68+
# run: aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./build/function.zip --key pyfunction.zip
7269

7370
- name: Build GenAI Sample App Zip
7471
working-directory: sample-apps/python/genai_service

0 commit comments

Comments
 (0)