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

feat: Use the new GitRemote logic - Support multiple URIs per SCM server #94

Merged
merged 11 commits into from
Sep 2, 2024

Conversation

pstreef
Copy link
Contributor

@pstreef pstreef commented Aug 21, 2024

To use the new system that will match different protocols/ports to the same origin you need to update the configuration to something like this:

moderne:
  scm:
    repositories:
      - baseUri: https://bitbucket.example.com/stash
        type: Bitbucket
        alternativeUris:
          - http://bitbucket.example.com:8080/stash
          - ssh://bitbucket.example.com/stash
          - ssh://bitbucket.example.com:7999/stash
  • requires v8.34.0 OpenRewrite release

To use the new system that will match different protocols/ports to the same origin you need to update the configuration to something like this:

```yaml
moderne:
  scm:
    repositories:
      - baseUri: https://bitbucket.example.com/stash
        type: Bitbucket
        alternativeUris:
          - http://bitbucket.example.com:8080/stash
          - ssh://bitbucket.example.com/stash
          - ssh://bitbucket.example.com:7999/stash
```
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
src/main/resources/application.yaml Outdated Show resolved Hide resolved
@pstreef pstreef marked this pull request as ready for review August 21, 2024 17:59
@pstreef pstreef merged commit 892068a into main Sep 2, 2024
1 check passed
@pstreef pstreef deleted the feat/use-new-gitremote-logic branch September 2, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants