File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : . 🔍🔍 Show the latest added files into the S3 repository
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ count :
7
+ description : ' Show the latest N packages'
8
+ type : string
9
+ default : ' 1000'
10
+ required : true
11
+
12
+ jobs :
13
+ scan-deps :
14
+ name : List latest added packages into the S3 repository
15
+ runs-on : ubuntu-20.04
16
+ steps :
17
+ - name : List latest packages in S3
18
+ run : |
19
+ TZ="UTC" aws s3 ls s3://nr-downloads-main/infrastructure_agent/ --recursive | sort | grep -E "\.(rpm|deb)$" | tail -n ${{ github.event.inputs.count }}
20
+ env :
21
+ AWS_ACCESS_KEY_ID : ${{ secrets.OHAI_AWS_ACCESS_KEY_ID_PRODUCTION }}
22
+ AWS_SECRET_ACCESS_KEY : ${{ secrets.OHAI_AWS_SECRET_ACCESS_KEY_PRODUCTION }}
23
+ AWS_ROLE_ARN : ${{ secrets.OHAI_AWS_ROLE_ARN_PRODUCTION }}
24
+ AWS_ROLE_SESSION_NAME : ${{ secrets.OHAI_AWS_ROLE_SESSION_NAME_PRODUCTION }}
You can’t perform that action at this time.
0 commit comments