Search Unity

Using Cloud Build on AWS CodeCommit Git Server

Discussion in 'Unity Cloud Build' started by tbll, Oct 26, 2015.

  1. tbll

    tbll

    Joined:
    Jan 19, 2013
    Posts:
    31
    Hello,

    I am having issues using Cloud Build on my Git repository, hosted with AWS CodeCommit.
    I created a user, gave him CodeCommitPowerUser policy, and set the public ssh key provided by Cloud Build.

    However Cloud Build is still denied access.

    I am looking for help on this issue as I cannot see what I did wrong.

    Best regards
     
  2. Graffle

    Graffle

    Joined:
    Sep 10, 2015
    Posts:
    4
    Don't know if you got this figured out by now, but you need to specify your SSH Key ID in the repo url:

    ssh://ABCDEFG123456789@git-codecommit.us-east-1.amazonaws.com/v1/repos/somerepo
     
  3. Sisso

    Sisso

    Joined:
    Sep 29, 2009
    Posts:
    195
    I was able to use it. Triple check/re-do everything if something didn't work.

    I don't know if it is a bug, but I only be able to make it works by creating a new project in Cloud Build. When I edit a project to update its repository it simple go back to the settings page with new url, but after press f5 to refresh the page everyting back to old settings.