Link a GitHub Account to an Engine Yard Cloud Account

You can link your Engine Yard account to a GitHub account.

The advantage of linking your Engine Yard account to a GitHub account is that you don’t need to cut-and-paste deploy keys if the accounts are linked.

The disadvantage of linking your Engine Yard account to a GitHub account is that it gives your Engine Yard Cloud collaborators read access to all repositories in that GitHub account.

This page contains the following procedures:

  • Link your Engine Yard account to a GitHub account (Method 1 or Method 2)
  • Create an application from a repository in a linked GitHub account
  • Unlink your Engine Yard account from a GitHub account

Which GitHub account to link to?

You can link your Engine Yard account to only one GitHub account. Make sure that you choose the GitHub account that contains:

  • The repositories for the applications that you want to host on Engine Yard Cloud.

  • Only repositories that you want your collaborators to see.

For example, you might have two GitHub accounts: a personal GitHub account for early phase and private projects and a group account that contains the mainline versions of your company’s applications and that your colleagues/collaborators already have access to. You choose the group account to link your Engine Yard account to.

To link your Engine Yard account to a GitHub account (Method 1)

  1. Log into the GitHub account that you want to link to.

  2. In the Engine Yard Cloud Dashboard, click Create New Application.

  3. On the Create New Application page, click Link account_name.

To link your Engine Yard account to a GitHub account (Method 2)

  1. Log into the GitHub account that you want to link to.

  2. In your Engine Yard account, go to Account > Account Settings.

  3. Click on the account you want to link to a GitHub account.
    You must be the account owner.

  4. Under the Services heading, click Link your account to GitHub.

Screen_Shot_2012-11-02_at_12.57.05_PM.png

      5. Click OK.

To create an application from a repository in a linked GitHub account

  1. Create an application for Engine Yard Cloud, making sure to do the following:

    (For general instructions on creating an application, see Set up your application and environment):

    a. In the Git Repository URI, select the name of the application from the dropdown menu or begin typing the name of application.

    b. After you click Create Application, do not copy a git deploy key to your GitHub account. 
    Instead, the key is added directly to the linked GitHub account. The deploy key is named “Engine Yard Deploy Key app_name”.

To unlink your Engine Yard account from a GitHub account

  1. In your Engine Yard account, go to Account > Account Settings.

  2. Click on the account that you want to unlink from GitHub account.
    You must be the account owner.

  3. Under the Services heading, click un-link.

Troubleshooting

Symptom Solution
I don't see GitHub under the Services heading on the Account Settings page.                     You must be the owner of the Engine Yard account to link or unlink with GitHub.
Ask the account owner to perform these tasks.                                                                            

Comments

0 comments

Article is closed for comments.