opendevstack / opendevstack/ods-core
Add filter in webhook proxy to prevent unwanted builds
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 53
- Forks
- 34
- Avg merge
- 3h 26m
- Merged PRs (30d)
- 1
Description
While migrating existing projects to ODS some branches may still not have a correct Jenkinsfile, this led pods to CrashLoopBackOff and therefore unnecessarily consume resources. It would be great to specify which branches you want to actually build. For example, I could specify the webhook proxy to only build "develop", "qa" and "master" branches.
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
Start at the webhook proxy and the Jenkinsfile/build-trigger path, then identify where branch selection could be configured. The work is done when the proxy builds only configured branches such as develop, qa, and master, while other branches do not start builds or consume pod resources.
Written by the indexing model from the issue text.
Assessment
- Domain
- ci-cd, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100