opendevstack / opendevstack/ods-quickstarters

execute image builds in PRs only when the PR includes changes to the given agent

Open
#805 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.