Search Unity

Unity Cloud Build - Git + https

Discussion in 'Unity Cloud Build' started by rawvenison, Sep 17, 2014.

  1. rawvenison

    rawvenison

    Joined:
    Nov 22, 2013
    Posts:
    1
    Hey all! I'm investigating cloud building for a number of teams at my company and seem to be stuck at: There was an error:
    Repo is not accessible. Please check your URL and repo settings.

    The type of url we're trying to use is: https://ourgithost.com/ourrepo.git

    I suppose my question is, is this type of repo setup supported? If so, any pointers on common mistakes or requirements I might have overlooked?

    Any help is appreciated!
     
    winf_randy likes this.
  2. hypeNate

    hypeNate

    Unity Technologies

    Joined:
    Apr 4, 2014
    Posts:
    259
    @rawvenison - Thanks for trying out the service! We don't currently support Git using HTTPS syntax. We're looking into that as a future feature, so I will note your request. If anyone else out there would also like this feature please bump this thread. Thanks!
     
  3. Lethil

    Lethil

    Joined:
    Feb 1, 2012
    Posts:
    3
    Bump. I'm using Visual Studio Online and it's HTTPS + password. SSH isn't supported.
     
  4. winf_randy

    winf_randy

    Joined:
    Aug 27, 2014
    Posts:
    3
    Bump. If this isn't supported then how do I use Cloud Build Pro with Git? Is the only option GitHub?
     
    Last edited: Apr 7, 2015
  5. hypeNate

    hypeNate

    Unity Technologies

    Joined:
    Apr 4, 2014
    Posts:
    259
    Hi @Lethil and @winf_randy and @rawvenison !

    This old thread needs to be updated, I am glad you posted. Here is the situation:
    • We don't support Git with username + password, only with SSH keys. I'll mark all three of you down for that feature request, though.
    • We don't use the HTTPS:// url syntax for Git in Cloud Build. But if you copy and paste a GitHub or Bitbucket HTTPS URL into Cloud Build, the wizard will automatically re-write it into the syntax we support (i.e., git@bitbucket.org:youraccount/yourrepo.git)
    • For more information, see this page: https://build.cloud.unity3d.com/support/guides/sourcecontrol

    For others who are using Git with username + password instead of SSH - please leave a note here saying you'd like this feature to be added. Many thanks!
     
    winf_randy likes this.
  6. deanosaur

    deanosaur

    Joined:
    Oct 13, 2013
    Posts:
    2
    I have nothing to add to this except, I would also like this feature.
     
  7. sanpats

    sanpats

    Joined:
    Aug 24, 2011
    Posts:
    343
    I want this feature.
     
  8. bfrager

    bfrager

    Joined:
    Dec 14, 2015
    Posts:
    1
    would love to see the github u/p feature. thanks for supporting webGL!
     
  9. jesta

    jesta

    Joined:
    Jun 19, 2010
    Posts:
    288
    We're using Gitlab as our host and it doesn't support LFS through SSH, only HTTPS. So as far as I know there is no way for us to use cloud build.
     
  10. Ponytech

    Ponytech

    Joined:
    Jun 13, 2016
    Posts:
    19
    Bumping again this thread.
    Any update on supporting GIT with HTTPS ?
     
  11. slimshader

    slimshader

    Joined:
    Jun 11, 2013
    Posts:
    138
    Bump. Trying to use UCB with gitlab but no dice :/
     
  12. mtinkerhess

    mtinkerhess

    Joined:
    Feb 8, 2014
    Posts:
    2
    +1, would love to be able to do username / password access
     
  13. aviita

    aviita

    Joined:
    Jun 26, 2017
    Posts:
    4
    +1, we would also need this to use VSO Git LFS with Unity Cloud Build.
     
  14. bumbummen99

    bumbummen99

    Joined:
    May 19, 2013
    Posts:
    10
    Yes, VSO also supports LFS over HTTPS only. We really need username/password authentication for our project to utilize cloud build.
     
  15. ktitov3d

    ktitov3d

    Joined:
    Oct 7, 2015
    Posts:
    44
    +1 really need because in our company ssh port is closed
     
  16. jonagill_rr

    jonagill_rr

    Joined:
    Jun 21, 2017
    Posts:
    34
    +1 more -- we are also using VSTS / VSO, and so we are unable to use Cloud Build at all until this is supported.
     
  17. ttermeer-reboundcg

    ttermeer-reboundcg

    Joined:
    Jul 12, 2017
    Posts:
    54
    VSTS (now called Azure DevOps btw) fully support ssh. We have been using it with Unity Cloud Build for over a year now.
     
  18. jonagill_rr

    jonagill_rr

    Joined:
    Jun 21, 2017
    Posts:
    34
    VSTS / DevOps supports SSH for regular Git repositories, but it does not support Git LFS over SSH. This means that Cloud Build does not work for anyone who uses LFS on DevOps, since it will be unable to sync any of their binary assets.

    You can see that this behavior is clearly called out in the documentation here: https://docs.microsoft.com/en-us/az...-errors-when-pulling-files-tracked-by-git-lfs
     
    Alexees likes this.
  19. jonagill_rr

    jonagill_rr

    Joined:
    Jun 21, 2017
    Posts:
    34
    Bumping this thread to see if any thought has been given to enabling Cloud Build with LFS over HTTPS in the last six months.
     
    NeXeS likes this.
  20. VilasKumbhare

    VilasKumbhare

    Joined:
    Sep 30, 2016
    Posts:
    3
    Actually I am using git Submodule feature in my project , modules are fetched with http syntax and if on UCB , ssh syntax used then it is not getting access to submodules.

    Its better if Unity provide git with http syntax on cloud.
    Thanks:)
     
  21. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    912
    We need Git LFS for game development. Most hosts only support LFS over HTTPS, so this is absolutely required for cloud build to be useful for us.
     
  22. NeXeS

    NeXeS

    Joined:
    Jul 12, 2012
    Posts:
    4
    Is there any workaround yet?
     
  23. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    215
    For Gitlab, Github and Bitbucket you can use Oauth to get HTTPS functionality. For other providers there is nothing currently implemented.
     
  24. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    673
    Could options for self hosted GitLab and likewise cases be added? The posibilities feel too constrained, something fails and you are out of options almost inmediately.
     
  25. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    215
    You can still use self-hosted Gitlab via the Manual configuration tab but yes this is limited to SSH functionality. We did have some plans to support self-hosted Gitlab Oauth configurations but at the moment the Gitlab API isn't stable enough to justify supporting in this capacity.
     
  26. Novack

    Novack

    Joined:
    Oct 28, 2009
    Posts:
    673
    @victorw manual configuration is failing on my case, raised a support request that is being handled.

    The gitlab private tokens are entirely functional, we are using them on different git clients from different offices without issues. And while we have no issues using our repo, Unity Cloud Build cant connect with it, and has no other options to offer.
     
unityunity