Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Using Cloud Build on AWS CodeCommit Git Server

Discussion in 'Unity Build Automation' 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
     
    dosempire and tom-battlecandy like this.
  3. Sisso

    Sisso

    Joined:
    Sep 29, 2009
    Posts:
    196
    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.
     
  4. dosempire

    dosempire

    Joined:
    Apr 24, 2013
    Posts:
    1
    This worked for me! Many thanks!