Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenShift integration issues #1

Open
tiwillia opened this issue Feb 18, 2014 · 0 comments
Open

OpenShift integration issues #1

tiwillia opened this issue Feb 18, 2014 · 0 comments

Comments

@tiwillia
Copy link

After reviewing the application in regards to openshift integration, I have found a major issue. The application, after being 'git pushed', creates numerous directories and files in $OPENSHIFT_REPO_DIR (aka ~/app-root/runtime/repo). It creates a 'www' directory where configuration, images, and more appear to be stored.

When using the 'snapshot' feature on Openshift, a backup is taken of the application. However, the current state of $OPENSHIFT_REPO_DIR is not copied. OpenShift expects no changes to be made in $OPENSHIFT_REPO_DIR that need to be persistent. Any persistent changes should be placed in $OPENSHIFT_DATA_DIR (aka ~/app-root/runtime/data). Please see the environment variable page for a bit more information.

I tried to fix this myself by just creating these directories in $OPENSHIFT_DATA_DIR and placing symlinks to them in $OPENSHIFT_REPO_DIR. However, your application does more than is immediately obvious to me. My efforts can be found on my fork. Using this, the application appears to deploy successfully but nothing is created in the www directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant