Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring SCMWebhook away #15956

Draft
wants to merge 35 commits into
base: master
Choose a base branch
from

Conversation

hennevogel
Copy link
Member

No description provided.

@github-actions github-actions bot added the Frontend Things related to the OBS RoR app label Apr 10, 2024
@hennevogel hennevogel marked this pull request as draft April 10, 2024 10:17
@hennevogel hennevogel force-pushed the refactoring/scm_webhook branch 2 times, most recently from b848e29 to d9d43cb Compare April 10, 2024 13:57
@krauselukas krauselukas force-pushed the refactoring/scm_webhook branch 4 times, most recently from 167b33c to 0d9c7ab Compare April 11, 2024 12:59
@hennevogel
Copy link
Member Author

@@ -43,6 +43,10 @@ def gitlab_target_branch
payload[:after] # for a tag push event
end

def gitlab_object_kind
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes little sense as it's not universal and it's just always merge_request when we use it...

@krauselukas krauselukas force-pushed the refactoring/scm_webhook branch 2 times, most recently from ce4dfbb to 940a867 Compare April 12, 2024 12:47
@hennevogel hennevogel force-pushed the refactoring/scm_webhook branch 5 times, most recently from 1737385 to 70217b1 Compare April 12, 2024 14:56
to be used in WorkflowRun.
We are going to refactor SCMWebhook away...
This will be something for TriggerWorkflowController
so we can ask WorkflowRun everything we could ask SCMWebhook before...
hennevogel and others added 29 commits April 19, 2024 16:58
We basically only need the SCM unspecific method public. The rest
can be private and in SCM specific concerns.
Everything it was able to do, WorkflowRun can do now...
We don't need SCMWebhook anymore...
To be able to ask if we are going to run for this or not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants