summaryrefslogtreecommitdiff
path: root/cloudformation
diff options
context:
space:
mode:
authorJeff Miccolis <jeff@miccolis.net>2015-11-13 17:04:42 -0500
committerBrad Leege <bleege@gmail.com>2015-11-13 19:00:42 -0600
commitc35f18fdbc94917c20cb675b6510c9feaed40f0c (patch)
tree7ecc2925c4a26eedd6718f847e529f005be2abfe /cloudformation
parent1ced39cbd1d1f8fc2aeb1d3bbab105ed3da30188 (diff)
downloadqtlocation-mapboxgl-c35f18fdbc94917c20cb675b6510c9feaed40f0c.tar.gz
Add creds for bitrise. Fixes #3028
Diffstat (limited to 'cloudformation')
-rw-r--r--cloudformation/travis.template44
1 files changed, 44 insertions, 0 deletions
diff --git a/cloudformation/travis.template b/cloudformation/travis.template
index 4e7a0c7519..b65093907c 100644
--- a/cloudformation/travis.template
+++ b/cloudformation/travis.template
@@ -160,6 +160,37 @@
}
}
},
+ "BitriseUser": {
+ "Type": "AWS::IAM::User",
+ "Properties": {
+ "Policies": [
+ {
+ "PolicyName": "get-signing-key",
+ "PolicyDocument": {
+ "Statement": [
+ {
+ "Action": [
+ "s3:GetObject"
+ ],
+ "Effect": "Allow",
+ "Resource": [
+ "arn:aws:s3:::mapbox/android/signing-credentials/secring.gpg"
+ ]
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "BitriseUserKey": {
+ "Type": "AWS::IAM::AccessKey",
+ "Properties": {
+ "UserName": {
+ "Ref": "BitriseUser"
+ }
+ }
+ },
"AndroidRole": {
"Type": "AWS::IAM::Role",
"Properties": {
@@ -241,6 +272,19 @@
]
}
},
+ "BitriseAccessKeyId": {
+ "Value": {
+ "Ref": "BitriseUserKey"
+ }
+ },
+ "BitriseSecretAccessKey": {
+ "Value": {
+ "Fn::GetAtt": [
+ "BitriseUserKey",
+ "SecretAccessKey"
+ ]
+ }
+ },
"AndroidInstanceProfile": {
"Value": {
"Fn::GetAtt": [