opendevstack / opendevstack/ods-core

Add filter in webhook proxy to prevent unwanted builds

Open
#487 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.