Multiple applications attached to a single GitHub Repository?

lisafilemyr's Avatar

lisafilemyr

06 Apr, 2015 09:25 PM

Is it possible to have multiple AppHarbor applications that are based on a single GitHub Repository (to separate out debug, demo, release environments, for instance)? We have one AppHarbor application attached to a repository, but when we try to add a bridge from the second AppHarbor application to the same repository, we receive a 500 Server error with no details.

  1. Support Staff 1 Posted by rune on 07 Apr, 2015 06:51 PM

    rune's Avatar

    Hi,

    It's possible to connect a single GitHub repository to multiple AppHarbor applications, but the AppHarbor user that creates the bridge needs to be an administrator on all the applications you want to configure.

    I can't access your GitHub repository's service hook configuration to see if there's something wrong. However you can actually also just add the application slugs directly to the service hook configuration on GitHub. You can find the information necessary to configure it, and where to do it, in this knowledge base article.

    Best,
    Rune

  2. 2 Posted by AymericG on 09 Jun, 2017 05:00 AM

    AymericG's Avatar

    Sorry to revive this thread, but I have two appharbor apps (one for test, one for production). It seems I can only add one AppHarbor integration in github. Once I have added the first Appharbor integration, I can only update that one, not add another one...

    How do you get multiple appharbors apps connected to the same github repo?

  3. Support Staff 3 Posted by rune on 10 Jun, 2017 01:04 AM

    rune's Avatar

    Hi,

    Happy to help! What happens when you try and add the second repository? Also, is the GitHub account and the AppHarbor account the same of do they differ?

    Best,
    Rune

  4. 4 Posted by AymericG on 10 Jun, 2017 07:27 AM

    AymericG's Avatar

    1. Basically, I don't have the option to add a second AppHarbor
    integration: https://gyazo.com/a5b840e732e1afacfc37eab5ee70874f

    2. If I edit the AppHarbor integration, I see this:
    https://gyazo.com/957773ab89c591e21d3d89440bb0c3b7 There is no option to
    add.

  5. Support Staff 5 Posted by rune on 13 Jun, 2017 03:50 AM

    rune's Avatar

    Hi,

    Ok have you tried just appending the new application slug after the existing one, and click "Update service"? That's how AppHarbor adds multiple apps if the automated setup works... It's essentially step 3 in the service description from your second screenshot!

    Best,
    Rune

  6. 6 Posted by AymericG on 13 Jun, 2017 05:05 AM

    AymericG's Avatar

    It worked. Sorry about that, I was blind...

  7. Support Staff 7 Posted by rune on 13 Jun, 2017 09:08 PM

    rune's Avatar

    No worries, I'm glad it worked out and please don't hesitate to reach out if there's anything else I can help with.

    Best,
    Rune

  8. rune closed this discussion on 13 Jun, 2017 09:08 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac