|
4 | 4 | name: Sample App Deployment - Python S3 |
5 | 5 | on: |
6 | 6 | workflow_dispatch: # be able to run the workflow on demand |
7 | | - push: |
8 | | - branches: |
9 | | - - genesis-release-test |
10 | 7 |
|
11 | 8 | permissions: |
12 | 9 | id-token: write |
@@ -49,26 +46,26 @@ jobs: |
49 | 46 | role-to-assume: arn:aws:iam::${{ env.ACCOUNT_ID }}:role/${{ secrets.E2E_TEST_ROLE_ARN }} |
50 | 47 | aws-region: ${{ matrix.aws-region }} |
51 | 48 |
|
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 . |
55 | 52 |
|
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 |
59 | 56 |
|
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 |
68 | 65 |
|
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 |
72 | 69 |
|
73 | 70 | - name: Build GenAI Sample App Zip |
74 | 71 | working-directory: sample-apps/python/genai_service |
|
0 commit comments