Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Improve CI/CD #1

Merged
merged 17 commits into from
Mar 1, 2019
Merged

Improve CI/CD #1

merged 17 commits into from
Mar 1, 2019

Conversation

skorfmann
Copy link
Contributor

Falling back to just CodeBuild since that's closer to what we're actually looking for. Right now it's not possible to limit the Github triggers to branches with the CDK - see aws/aws-cdk#1842

However, it'd be possible in the AWS console

Copy link
Contributor Author

@skorfmann skorfmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

..

Pattern: "PULL_REQUEST_CREATED,PULL_REQUEST_UPDATED",
Type: "EVENT"
},
{ Pattern: "136789", Type: "ACTOR_ACCOUNT_ID" }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MikeBild before this change, everyone would have been able to execute the codebuild build and execute whatever they wanted with AWS full-access permissions (pretty much root) by opening a pull-request 🎉 💃

So for now, we'll have to whitelist users, since we can't tell in the build itself if it's an untrusted pull request (fork) or not

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow! Pretty Cool! 🚢 Can't wait to see it in action. 👍

@skorfmann skorfmann merged commit b460b35 into master Mar 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants