summaryrefslogtreecommitdiff
path: root/ci.template
diff options
context:
space:
mode:
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 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"
}
]
}