Track a Rails project on a private GitHub repo with Redmine and Integrity deployed on Heroku

Scenario

  • Project A is a Rails application:

    • Code posted on GitHub in a private repo .
    • Deployed on Heroku (which has a read-only file system).
  • Project R , which is an instance of Redmine , used to manage my project A :

    • The code is hosted on GitHub on another private repo (same GitHub account).
    • Deployed on Heroku (which has a read-only file system).
  • Project CI , which is an Integrity instance used for continuous integration (by running tests) of my project A :

    • The code is hosted on GitHub on the third private repo (same GitHub account).
    • Deployed on Heroku (which has a read-only file system).

What I want

I want to be able to:

  • Use the repository function in Redmine in project R (essentially, to be able to see the repository from project R).

  • Run tests on CI.

My problem

To clone and update the project A code for both project R and project CI.

What i tried

For 1. point, I tried to follow the instructions found at http://www.redmine.org/wiki/1/RedmineRepositories , with the only difference being that I created a local bare copy of A to the root of R (due to Heroku's limitations on file system), which caused the creation of /A.git dir.

After that, I redeployed the R project to Heroku and the Redmine project. Settings that I configured as SCM "Git" and A.git as the path to the .git directory (I also tried ./A.git).

However, when I point to the Project Repository tab in Redmine, I received a 500 message with the message:

"The record or revision was not found in the repository."

Where am I mistaken? Any suggestion?

Thanks!

+7
github ruby-on-rails integrity heroku redmine
source share
1 answer

I think it is currently not possible to integrate Git or Mercurial repos with a Redmine instance running on Heroku due to a read-only file system limitation. I asked Eric Davis, and he thinks so too. SVN and CVS do not require Redmine to have a local copy of the repo, so I think they work, while Git and Hg do not.

+2
source share

All Articles