-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DEV-1939] - Use self hosted runner #1174
Conversation
🦋 Changeset detectedLatest commit: 30f034b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Branch is not up to date with base branch@christian-calabrese it seems this Pull Request is not updated with base branch. |
Bundle not found for branch |
Jira Pull Request LinkThis Pull Request refers to the following Jira issue DEV-1939 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
List of Changes
Implemented the AWS resources needed to employ AWS CodeBuild as a Github self-hosted runner
Motivation and Context
A self-hosted runner was an highly needed feature for the developer portal.
The reasons are the following:
How to adopt it:
In order to run a Github action step in a codebuild container, please replicate this change in the workflow file:
For the dev environment:
runs-on: codebuild-dev-github-runner-${{ github.run_id }}-${{ github.run_attempt }}
For the prod environment:
runs-on: codebuild-prod-github-runner-${{ github.run_id }}-${{ github.run_attempt }}
If you are running a step in a matrix cycle:
runs-on: codebuild-${{ matrix.environment }}-github-runner-${{ github.run_id }}-${{ github.run_attempt }}
How Has This Been Tested?
This step has been actually executed on the codebuild environment
https://github.com/pagopa/developer-portal/actions/runs/11145619001/job/30979461133
Screenshots (if appropriate):
Types of changes
Checklist: