Skip to content

Commit 3e8781e

Browse files
committed
Code clean up.
1 parent cd719dd commit 3e8781e

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

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

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
name: App Signals Enablement - S3 Django Sample App Deployment
55
on:
66
workflow_dispatch: # be able to run the workflow on demand
7-
push:
87

98
permissions:
109
id-token: write
@@ -25,17 +24,6 @@ jobs:
2524
with:
2625
fetch-depth: 0
2726

28-
# TODO: Remove this step after ADOT python published to PyPI
29-
- name: Configure AWS Credentials
30-
uses: aws-actions/configure-aws-credentials@v4
31-
with:
32-
role-to-assume: arn:aws:iam::637423224110:role/pulse-enablement-workflow-role
33-
aws-region: us-east-1
34-
35-
# TODO: Remove this step after ADOT python published to PyPI
36-
- name: Get Adot Wheel file
37-
run: aws s3 cp s3://adot-autoinstrumentation-python-staging/${{ secrets.ADOT_WHEEL_NAME }} ./sample-apps/python/${{ secrets.ADOT_WHEEL_NAME }}
38-
3927
- name: Configure AWS Credentials
4028
uses: aws-actions/configure-aws-credentials@v4
4129
with:
@@ -60,10 +48,7 @@ jobs:
6048
working-directory: sample-apps/python
6149
run: zip -r python-sample-app.zip .
6250

63-
# TODO: Remove put ADOT_WHEEL_NAME to S3 after ADOT python published to PyPI
6451
- name: Upload to S3
6552
working-directory: sample-apps/python
66-
run: |
67-
aws s3api put-object --bucket ${{ secrets.APP_SIGNALS_E2E_EC2_JAR }}-prod-${{ matrix.aws-region }} --body ./${{ secrets.ADOT_WHEEL_NAME }} --key ${{ secrets.ADOT_WHEEL_NAME }}
68-
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+
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
6954

0 commit comments

Comments
 (0)