• Icon: Story Story
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • None
    • None
    • 3

      User Story

      As a developer using OpenShift for builds
      I want to git clone via SSH through my cluster's proxy
      So that builds can work in proxied clusters

      Acceptance Criteria

      • Test ssh clone assuming we have an HTTP proxy (not HTTPS or man-in-the-middle)
      • Identify what breaks if git source clones with following protocols:
        • SSH: ssh://
        • Git: git://
      • Test what happens with HTTP and HTTPS proxies

      Launch Checklist

      Dependencies identified
      Blockers noted and expected delivery timelines set
      Design is implementable
      Acceptance criteria agreed upon
      Story estimated

      Notes:

      Now that openshift-builder is based on RHEL 8, there can be variances in how to configure git pull via ssh/git

            [OCPBUILD-114] R&D Git SSH Clone via Proxy

            Adam Kaplan added a comment -

            gmontero@redhat.com you are right, got confused by the POST status. I'll create a new JIRA story and close the BZ.

            Adam Kaplan added a comment - gmontero@redhat.com you are right, got confused by the POST status. I'll create a new JIRA story and close the BZ.

            Yep sorry glossed over the title adambkaplan

            On the subject though, were we not going to close https://bugzilla.redhat.com/show_bug.cgi?id=1750650 since it has been classified as an RFE and open a Jira similar to this one ?

            Gabe Montero added a comment - Yep sorry glossed over the title adambkaplan On the subject though, were we not going to close https://bugzilla.redhat.com/show_bug.cgi?id=1750650 since it has been classified as an RFE and open a Jira similar to this one ?

            Adam Kaplan added a comment -

            gmontero@redhat.com this is related to using HTTPS proxies, correct? SSH as I understand it is different - we need to configure a ProxyCommand for ssh to work (usually socat)

            Adam Kaplan added a comment - gmontero@redhat.com this is related to using HTTPS proxies, correct? SSH as I understand it is different - we need to configure a ProxyCommand for ssh to work (usually socat )

            Current list of options

            • get scl_enable to work with our git init-container;  my prototypes to do so only work sometimes ... intermittent failures other times;  see https://github.com/openshift/builder/pull/99
            • build the newer version of git/curl in art/osbs/brew, and include that in our image ... I've been told there is some precedence for this with the haproxy command
            • do this when ubi8 is available, and we can get the later curl/git naturally

            Gabe Montero added a comment - Current list of options get scl_enable to work with our git init-container;  my prototypes to do so only work sometimes ... intermittent failures other times;  see https://github.com/openshift/builder/pull/99 build the newer version of git/curl in art/osbs/brew, and include that in our image ... I've been told there is some precedence for this with the haproxy command do this when ubi8 is available, and we can get the later curl/git naturally

              Unassigned Unassigned
              rmarasch@redhat.com Ricardo Maraschini
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: