Merge pull request #80 from mapbox/move-buckets

Move to mapbox bucket
This commit is contained in:
Leith Bade
2015-02-15 17:45:00 -08:00
2 changed files with 61 additions and 19 deletions

View File

@@ -22,7 +22,7 @@
},
"devDependencies": {
"aws-sdk": "^2.1.9",
"mapbox-gl-test-suite": "git://github.com/mapbox/mapbox-gl-test-suite",
"mapbox-gl-test-suite": "git://github.com/mapbox/mapbox-gl-test-suite#master",
"mkdirp": "^0.5.0",
"tap-spec": "^2.2.1",
"tape": "^3.5.0"

View File

@@ -28,7 +28,7 @@
}
},
{
"PolicyName": "build-testing",
"PolicyName": "build-testing-old",
"PolicyDocument": {
"Statement": [
{
@@ -47,20 +47,38 @@
]
}
},
"PolicyName": "list",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::mapbox-node-binary"
],
"Effect": "Allow"
}
]
}
{
"PolicyName": "list",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::mapbox-node-binary"
],
"Effect": "Allow"
}
]
}
},
{
"PolicyName": "list-testing-old",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:ListBucket"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::mapbox-gl-testing"
]
}
]
}
},
{
"PolicyName": "list-testing",
"PolicyDocument": {
@@ -71,7 +89,32 @@
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::mapbox-gl-testing"
"arn:aws:s3:::mapbox"
],
"Condition": {
"StringLike": {
"s3:prefix": "node-mapbox-gl-native/*"
}
}
}
]
}
},
{
"PolicyName": "build-testing",
"PolicyDocument": {
"Statement": [
{
"Action": [
"s3:DeleteObject",
"s3:GetObject",
"s3:GetObjectAcl",
"s3:PutObject",
"s3:PutObjectAcl"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::mapbox/node-mapbox-gl-native/*"
]
}
]
@@ -97,7 +140,7 @@
},
"SecretAccessKey": {
"Value": {
"Fn::GetAtt": [
"Fn::GetAtt": [
"BuildUserKey",
"SecretAccessKey"
]
@@ -105,4 +148,3 @@
}
}
}