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

gitlab: investigate how to handle multiple webhooks for the same project #519

Open
mdonadoni opened this issue Jul 8, 2022 · 1 comment

Comments

@mdonadoni
Copy link
Member

After #506, it might happen more frequently that different users have access to the same project, which will be shown to each of them in their profile page.

Currently, REANA supports only one webhook per repository, which will trigger a workflow execution only for the user that enabled the integration with GitLab. However, all the users having access to the project will see the integration as enabled in their profile page (that is, the toggle button is shown as being "on"). This can create some confusion, as users may wonder why workflows executions are not triggered even though the integration is enabled.

Some possible options:

  • Keep the limit of one webhook for each project, but improve the user interface.
  • Support multiple webhooks for the same project. However, we have to be careful: if many users enable the integration with the same project, there will be a lot of workflows executions requests at the same time.
@mdonadoni
Copy link
Member Author

Now that we have workflow sharing, it would be cool to execute only one workflow, and have it shared automatically with all the concerned users, but I think this might be very difficult (or even impossible) to achieve, as we would need to get the list of users that can access the GitLab repository and translate them to REANA users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant