summaryrefslogtreecommitdiff
path: root/cloudformation/travis.template
diff options
context:
space:
mode:
authorJason Wray <jason@mapbox.com>2017-03-13 17:04:49 -0400
committerJason Wray <jason@mapbox.com>2017-03-16 20:12:39 -0400
commit271558744921b5845777decad00756b895d9c485 (patch)
treeb68921e9d01d3ad7d7d20618d111871c76c9f114 /cloudformation/travis.template
parent68d98842636e93520057168b2d00180e95a0b4a6 (diff)
downloadqtlocation-mapboxgl-271558744921b5845777decad00756b895d9c485.tar.gz
[build] Give ios/builds s3 permission to Bitrise user
Diffstat (limited to 'cloudformation/travis.template')
-rw-r--r--cloudformation/travis.template20
1 files changed, 20 insertions, 0 deletions
diff --git a/cloudformation/travis.template b/cloudformation/travis.template
index e6b404d9a4..29f2402b20 100644
--- a/cloudformation/travis.template
+++ b/cloudformation/travis.template
@@ -199,6 +199,26 @@
}
]
}
+ },
+ {
+ "PolicyName": "publish-nightlies",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Action": [
+ "s3:DeleteObject",
+ "s3:GetObject",
+ "s3:GetObjectAcl",
+ "s3:PutObject",
+ "s3:PutObjectAcl"
+ ],
+ "Effect": "Allow",
+ "Resource": [
+ "arn:aws:s3:::mapbox/mapbox-gl-native/ios/builds/*"
+ ]
+ }
+ ]
+ }
}
]
}