You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to #7980 , I don't know if these two issues are the same root cause or separate.
Cannot import gitlab projects that contain a group/subgroup because webhook fails to use the correct repo path.
Replication
Create repo in gitlab under a group/sub-group
Go through the process of importing that project in jx, any project.
Expected Behavior
Imports into jx
Creates a MR on the jx-cluster that references the correct project path. (this works)
eg: chore: import repository https://gitlab.com/org/services/react-test.git
jx spins up a boot job
jx creates webhook to repo
job completes
jx merges mr
...
Actual Behavior
Imports into jx
Creates a MR on the jx-cluster that references the correct project path.
eg: chore: import repository https://gitlab.com/org/services/react-test.git
jx spins up a boot job
Webhook fails:
WARNING: failed to update webhooks forOwner: org and Repository: react-testin git server: https://gitlab.com: failed to create webhook "http://hook-jx.subdomain.domain.com/hook" on repository 'org/react-test': Not Found
Source Config
I've even attempted to set the URL and httpCloneURL but they don't appear to do anything during this process.
It appears the source repository is being set appropriately though:
% kubectl get sr
NAME URL DESCRIPTION
org-python-http-test https://gitlab.com/org/python-http-test
org-react-test https://gitlab.com/org/services/react-test
org-services-test https://gitlab.com/org/services/test
Webhooks are now being created, so I think this issue can be closed?
Having said that, there are still some issues aroung importing projects (seems like in-repo scheduler does not get added to the repo, and the import times out waiting for the pr to get auto merged), but that's a different issue.
/close
closing this as nested gitlab repos are now working with jx
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository.
Issue
Related to #7980 , I don't know if these two issues are the same root cause or separate.
Cannot import gitlab projects that contain a group/subgroup because webhook fails to use the correct repo path.
Replication
Expected Behavior
eg:
chore: import repository https://gitlab.com/org/services/react-test.git
Actual Behavior
eg:
chore: import repository https://gitlab.com/org/services/react-test.git
Source Config
I've even attempted to set the
URL
andhttpCloneURL
but they don't appear to do anything during this process.Related
The text was updated successfully, but these errors were encountered: