This repository has been archived by the owner on Jun 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Add sdk registry plugin integration. (#479)
* [ci] Add sdk registry plugin integration. * Update ci image. * Test upload to staging bucket. * Remove staging upload test.
- Loading branch information
Showing
12 changed files
with
216 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
MapboxGLAndroidSDK/src/main/assets/sdk_versions/com.mapbox.mapboxsdk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
MapboxGLAndroidSDK/9.1.0-SNAPSHOT | ||
MapboxGLAndroidSDK/9.3.0-SNAPSHOT | ||
v-1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
var cf = require('@mapbox/cloudfriend'); | ||
|
||
module.exports = { | ||
AWSTemplateFormatVersion: '2010-09-09', | ||
Resources: { | ||
User: { | ||
Type: 'AWS::IAM::User', | ||
Properties: { | ||
Policies: [ | ||
{ | ||
PolicyName: 'upload-sdk-registry', | ||
PolicyDocument: { | ||
Statement: [ | ||
{ | ||
Action: ['s3:ListBucket'], | ||
Effect: 'Allow', | ||
Resource: [ | ||
'arn:aws:s3:::mapbox-api-downloads-production', | ||
'arn:aws:s3:::mapbox-api-downloads-staging' | ||
] | ||
}, | ||
{ | ||
Action: ['s3:PutObject'], | ||
Effect: 'Allow', | ||
Resource: [ | ||
'arn:aws:s3:::mapbox-api-downloads-production/v2/*', | ||
'arn:aws:s3:::mapbox-api-downloads-staging/v2/*' | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
AccessKey: { | ||
Type: 'AWS::IAM::AccessKey', | ||
Properties: { | ||
UserName: cf.ref('User') | ||
} | ||
} | ||
}, | ||
Outputs: { | ||
AccessKeyId: { Value: cf.ref('AccessKey') }, | ||
SecretAccessKey: { Value: cf.getAtt('AccessKey', 'SecretAccessKey') } | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.