Skip to content

Conversation

@mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Jun 27, 2025

Reason for this change

Restrictions for accessing a cache effectively limit a PR to use the rosetta cache either from the same branch or the main branch. Because we currently don't fill the rosetta cache on main, most PRs cannot use this cache.

Using the cache removes ~14min of most builds. This is a worthwhile investment.

Description of changes

Run the PR build against main and v2-release to always fill up the rosetta cache. We could probably set this up to skip tests, but for now this is easier.

Also adds manual (always helpful) and merge group trigger (future proofing) to the build.

Describe any new or updated permissions being added

n/a

Description of how you validated changes

Reading the GitHub docs. Needs merging to actually validate.

Checklist


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@aws-cdk-automation aws-cdk-automation requested a review from a team June 27, 2025 11:02
@github-actions github-actions bot added the p2 label Jun 27, 2025
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jun 27, 2025
@mergify
Copy link
Contributor

mergify bot commented Jun 27, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 043540f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Jun 27, 2025

Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 6bd78f7 into main Jun 27, 2025
18 checks passed
@mergify mergify bot deleted the mrgrain/ci/build-on-main branch June 27, 2025 12:43
@github-actions
Copy link
Contributor

Comments on closed issues and PRs are hard for our team to see.
If you need help, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants