opendevstack / opendevstack/ods-quickstarters
execute image builds in PRs only when the PR includes changes to the given agent
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 39
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
GreenIT & waste of resources
Describe the solution you'd like
Github actions which build jenkins agents should only be built in case a PR includes changes for the given agent.
E.g. there's no need to build the nodejs14 agent, if nodejs16 agent is changed.
Describe alternatives you've considered
N/A
Additional context
There are github actions or commands available which provide the path of files changed within the PR. Based on this input the decision can be taken to only build a specific agent.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Inspect the GitHub Actions or commands that build Jenkins agents and determine how changed paths within a pull request are exposed. Done means a pull request builds only the agent whose files changed, rather than unrelated agents such as nodejs14 when only nodejs16 changed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, shell
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100