aws / aws/aws-cdk

(ci): make logs of PR GitHub CI public instead of using github-codebuild-logs

Open
#26,625 5 comments 0 reactions 0 assignees View on GitHub
@aws-cdk/aws-logs effort/medium feature-request p2
Dominant language
TypeScript
Stars
12.9k
Forks
4.6k
Avg merge
2d 3h
Merged PRs (30d)
83

Description

### Describe the feature

Make logs of PR GitHub CI public instead of using github-codebuild-logs

### Use Case

The AWS CodeBuild supports [publicly viewable build results](https://aws.amazon.com/about-aws/whats-new/2021/08/codebuild-supports-publicly-viewable-build-results/). When enabled, the build results are accessible to public.

The CodeBuild used by aws-cdk is private, and it uses [github-codebuild-logs](https://serverlessrepo.aws.amazon.com/applications/arn:aws:serverlessrepo:us-east-1:277187709615:applications~github-codebuild-logs) to add a comment with link to the result. Because of this, and an extra comment is added for each CI build.

Example comment: https://github.com/aws/aws-cdk/pull/26624#issuecomment-1664383382

### Proposed Solution

Enable publicly viewable build results on CodeBuild, and disable github-codebuild-logs.

### Other Information

_No response_

### Acknowledgements

- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### CDK version used

N/A

### Environment details (OS name and version, etc.)

N/A

Contributor guide

Open the contributing guide

Research direction

Inspect the repository's GitHub CI and AWS CodeBuild configuration to find where github-codebuild-logs is enabled and how build results are exposed. Enable publicly viewable CodeBuild results, remove the github-codebuild-logs integration, and verify that PR builds link directly to public results without adding extra comments.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, github, typescript
Domain
ci-cd, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.