opendevstack / opendevstack/ods-core

Enable PR pipeline execution when opened

Open
#1,194 3 comments 0 reactions 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

Is your feature request related to a problem?
When a Pull Request is opened into a repository of a project the Jenkins pipeline is not executed.
It is necesary to make an aditional commit in order to trigger the jenkins build

Describe the solution you'd like
Enable PRs to tigger jenkins pipelines by default

Describe alternatives you've considered
Document how users can enable it for their components

Additional context
It needs to update the webhook proxy accepted events and the Prov-app config map, that takes the value from ods-configuration

@metmajer this is what we talked about today

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 with jenkins/webhook-proxy/main.go and its accepted events, then inspect the Prov-app config map and the ods-core.env.sample entry at the referenced lines. Confirm how the configuration reaches the webhook proxy. Done means an opened pull request triggers the Jenkins pipeline by default, or the required component configuration is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, shell
Domain
ci-cd, devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.