aboutsummaryrefslogtreecommitdiffstats
path: root/ci.template
diff options
context:
space:
mode:
authorNadia Barbosa <nadiabarbosa@me.com>2018-12-04 16:12:58 -0800
committerNadia Barbosa <captainbarbosa@users.noreply.github.com>2019-02-25 12:36:26 -0800
commitd34f0f0ef126ab794990a306a7a682daa1dbb3c8 (patch)
tree64dc7dcff7a59f40a785993c0348d34d78cdcc93 /ci.template
parent26e1c925f251d868d4bff39cd2c32b7839d02f4e (diff)
[build] Publish Android/iOS binary sizes to S3
Diffstat (limited to 'ci.template')
-rw-r--r--ci.template30
1 files changed, 21 insertions, 9 deletions
diff --git a/ci.template b/ci.template
index db4e59eb7..abf123c56 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"
}
]
}