summaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorLeith Bade <leith@mapbox.com>2015-02-13 12:26:10 -0800
committerLeith Bade <leith@mapbox.com>2015-02-13 23:07:45 -0800
commit68e5d0dc48d52588d97f6d1a298dc840870d7a79 (patch)
tree419f422a50411eef6f022bb306884684e0dc9bca /travis
parentdf57d6ee8b8eb04499385fa42466a8d165a9d829 (diff)
downloadqtlocation-mapboxgl-68e5d0dc48d52588d97f6d1a298dc840870d7a79.tar.gz
Move to mapbox bucket
Diffstat (limited to 'travis')
-rw-r--r--travis/travis-resources.template33
1 files changed, 27 insertions, 6 deletions
diff --git a/travis/travis-resources.template b/travis/travis-resources.template
index 0d058dbf3e..9351501052 100644
--- a/travis/travis-resources.template
+++ b/travis/travis-resources.template
@@ -8,7 +8,7 @@
"Properties": {
"Policies": [
{
- "PolicyName": "list",
+ "PolicyName": "list-testing-old",
"PolicyDocument": {
"Statement": [
{
@@ -24,7 +24,7 @@
}
},
{
- "PolicyName": "build",
+ "PolicyName": "build-testing-old",
"PolicyDocument": {
"Statement": [
{
@@ -53,8 +53,13 @@
],
"Effect": "Allow",
"Resource": [
- "arn:aws:s3:::mapbox-gl-testing"
- ]
+ "arn:aws:s3:::mapbox"
+ ],
+ "Condition": {
+ "StringLike": {
+ "s3:prefix": "mapbox-gl-native/*"
+ }
+ }
}
]
}
@@ -73,7 +78,7 @@
],
"Effect": "Allow",
"Resource": [
- "arn:aws:s3:::mapbox-gl-testing/*"
+ "arn:aws:s3:::mapbox/mapbox-gl-native/*"
]
}
]
@@ -139,7 +144,7 @@
},
"Policies": [
{
- "PolicyName": "android",
+ "PolicyName": "android-testing",
"PolicyDocument": {
"Statement": [
{
@@ -153,6 +158,22 @@
}
]
}
+ },
+ {
+ "PolicyName": "android",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Effect": "Allow",
+ "Action": [
+ "s3:PutObject"
+ ],
+ "Resource": [
+ "arn:aws:s3:::mapbox/mapbox-gl-native/android/build/*"
+ ]
+ }
+ ]
+ }
}
],
"Path": "/android-gl-build/travis/role/"