diff options
author | Nadia Barbosa <nadiabarbosa@me.com> | 2018-12-04 16:12:58 -0800 |
---|---|---|
committer | Nadia Barbosa <captainbarbosa@users.noreply.github.com> | 2019-02-25 12:36:26 -0800 |
commit | d34f0f0ef126ab794990a306a7a682daa1dbb3c8 (patch) | |
tree | 64dc7dcff7a59f40a785993c0348d34d78cdcc93 /ci.template | |
parent | 26e1c925f251d868d4bff39cd2c32b7839d02f4e (diff) | |
download | qtlocation-mapboxgl-d34f0f0ef126ab794990a306a7a682daa1dbb3c8.tar.gz |
[build] Publish Android/iOS binary sizes to S3
Diffstat (limited to 'ci.template')
-rw-r--r-- | ci.template | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/ci.template b/ci.template index db4e59eb7e..abf123c56a 100644 --- a/ci.template +++ b/ci.template @@ -148,21 +148,33 @@ } }, { - "PolicyName": "publish-metrics", + "PolicyName": "publish-metrics", + "PolicyDocument": { + "Statement": [ + { + "Action": [ + "s3:PutObject", + "s3:GetObject", + "s3:GetObjectAcl" + ], + "Effect": "Allow", + "Resource": ["arn:aws:s3:::mapbox-loading-dock/raw/mobile.binarysize/*"] + } + ] + } + }, + { + "PolicyName": "list-loading-dock", "PolicyDocument": { "Statement": [ { "Action": [ - "s3:DeleteObject", - "s3:GetObject", - "s3:GetObjectAcl", - "s3:PutObject", - "s3:PutObjectAcl" + "s3:ListBucket" ], - "Effect": "Allow", "Resource": [ - "arn:aws:s3:::mapbox/mapbox-gl-native/metrics/*" - ] + "arn:aws:s3:::mapbox-loading-dock" + ], + "Effect": "Allow" } ] } |