AWS CodeBuild Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 20: Line 20:


==Primary source webhook events==
==Primary source webhook events==
Webhook - Rebuild every time a code change is pushed to this repository. <font color=darkgray>Enable and experiment with that.</font>


==Environment==
==Environment==

Revision as of 20:44, 13 February 2019

Internal

Create a Build Project

Project configuration

Select Build badge.

Source

Source provider: GitHub

Repository in my GitHub account.

Additional configuration

Git clone depth: 1

Primary source webhook events

Webhook - Rebuild every time a code change is pushed to this repository. Enable and experiment with that.

Environment

Role name

For the implications on the build process of correctly configuring the service role, see:

CodeBuild Service Role

Allow AWS CodeBuild to modify this service role so it can be used with this build project

If selected, the console configuration code updates the role so it contains the appropriate policies.

If you get:

The policy's default version was not created by enhanced zero click role creation or was not the most recent version created by enhanced zero click role creation.

unselect "Allow AWS CodeBuild to modify ..."

Troubleshooting

https://docs.aws.amazon.com/codebuild/latest/userguide/troubleshooting.html