File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 4
4
name : App Signals Enablement - S3 Django Sample App Deployment
5
5
on :
6
6
workflow_dispatch : # be able to run the workflow on demand
7
- push :
8
7
9
8
permissions :
10
9
id-token : write
25
24
with :
26
25
fetch-depth : 0
27
26
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
-
39
27
- name : Configure AWS Credentials
40
28
uses : aws-actions/configure-aws-credentials@v4
41
29
with :
60
48
working-directory : sample-apps/python
61
49
run : zip -r python-sample-app.zip .
62
50
63
- # TODO: Remove put ADOT_WHEEL_NAME to S3 after ADOT python published to PyPI
64
51
- name : Upload to S3
65
52
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
69
54
You can’t perform that action at this time.
0 commit comments