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

Allow scm_url to take ssh with ssh protocol #3694

Merged
merged 1 commit into from Mar 29, 2018

Conversation

ZitaNemeckova
Copy link
Contributor

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540551

Allows http, https, ssh protocols. Allows ssh without protocol.

Automation -> Ansible -> Repositories -> Configuration -> Add/Edit Repository
Try something like ssh://git@10.195.101.214:10022/jwong/awesome-pub.git.
Before:
Only https://<something>.<something>, http://<something>.<something> and <user>@<server>:<path> were allowed.
After:
Allows also ssh://git@<address>:<port><path>

@miq-bot add_label bug, gaprindashvili/yes, automation/ansible

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540551

Allows http, https, ssh protocols. Allows ssh without protocol.
@miq-bot
Copy link
Member

miq-bot commented Mar 28, 2018

Checked commit ZitaNemeckova@109a93e with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
0 files checked, 0 offenses detected
Everything looks fine. 👍

@mzazrivec mzazrivec self-assigned this Mar 29, 2018
@mzazrivec mzazrivec added this to the Sprint 83 Ending Apr 9, 2018 milestone Mar 29, 2018
@mzazrivec mzazrivec merged commit 755efe4 into ManageIQ:master Mar 29, 2018
simaishi pushed a commit that referenced this pull request Apr 2, 2018
Allow scm_url to take ssh with ssh protocol
(cherry picked from commit 755efe4)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1562803
@simaishi
Copy link
Contributor

simaishi commented Apr 2, 2018

Gaprindashvili backport details:

$ git log -1
commit 21492a46127a658d3e8d772a839b1bbf8db21e4e
Author: Milan Zázrivec <mzazrivec@redhat.com>
Date:   Thu Mar 29 10:36:18 2018 +0200

    Merge pull request #3694 from ZitaNemeckova/allow_ssh
    
    Allow scm_url to take ssh with ssh protocol
    (cherry picked from commit 755efe4612c345f5b10c24222d1990337e7d501d)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1562803

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

Successfully merging this pull request may close these issues.

None yet

4 participants