summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-11-23 11:20:50 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-12-02 10:49:12 +0100
commit4a3081e071be14ecfc662de556634489eb16f127 (patch)
tree2b56c9cea40c4bb0c7f910fe783f2f09fbcc2f1a
parentfae3d80e2f4bbb1689b13f1a506d7ca0b4d2ddfb (diff)
downloadqtlocation-mapboxgl-4a3081e071be14ecfc662de556634489eb16f127.tar.gz
[build] add permissions to write public metrics to BitriseUser
-rw-r--r--cloudformation/travis.template20
1 files changed, 20 insertions, 0 deletions
diff --git a/cloudformation/travis.template b/cloudformation/travis.template
index b2cf2d559b..0d9e3c0dc8 100644
--- a/cloudformation/travis.template
+++ b/cloudformation/travis.template
@@ -163,6 +163,26 @@
}
},
{
+ "PolicyName": "publish-metrics",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Action": [
+ "s3:DeleteObject",
+ "s3:GetObject",
+ "s3:GetObjectAcl",
+ "s3:PutObject",
+ "s3:PutObjectAcl"
+ ],
+ "Effect": "Allow",
+ "Resource": [
+ "arn:aws:s3:::mapbox/mapbox-gl-native/metrics/*"
+ ]
+ }
+ ]
+ }
+ },
+ {
"PolicyName": "cloudwatch-metrics",
"PolicyDocument": {
"Statement": [