summaryrefslogtreecommitdiff
path: root/travis/travis-resources.template
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2014-10-13 16:00:31 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2014-10-13 16:00:31 -0400
commited93d750ad69af642bbf87685f55c21c7dcd4271 (patch)
tree995a8712572ae07744155d5bd7689826bfbce575 /travis/travis-resources.template
parent38023928ad44ef86e84c045c77c571ce252306dc (diff)
downloadqtlocation-mapboxgl-ed93d750ad69af642bbf87685f55c21c7dcd4271.tar.gz
add policies for mapbox-gl-testing bucket
Diffstat (limited to 'travis/travis-resources.template')
-rw-r--r--travis/travis-resources.template36
1 files changed, 36 insertions, 0 deletions
diff --git a/travis/travis-resources.template b/travis/travis-resources.template
index 0145e69ea5..2891fcf591 100644
--- a/travis/travis-resources.template
+++ b/travis/travis-resources.template
@@ -42,6 +42,42 @@
}
]
}
+ },
+ {
+ "PolicyName": "list testing",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Action": [
+ "s3:ListBucket"
+ ],
+ "Effect": "Allow",
+ "Resource": [
+ "arn:aws:s3:::mapbox-gl-testing"
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "PolicyName": "build testing",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Action": [
+ "s3:DeleteObject",
+ "s3:GetObject",
+ "s3:GetObjectAcl",
+ "s3:PutObject",
+ "s3:PutObjectAcl"
+ ],
+ "Effect": "Allow",
+ "Resource": [
+ "arn:aws:s3:::mapbox-gl-testing/*"
+ ]
+ }
+ ]
+ }
}
]
}