2

I want to force a clean rebuild of my OpenShift application. The issue is npm is having problems so it can't run gunt successfully.

I don't want to delete the whole application because my Domain is already pointing at it. I just making random commit isn't fixing the issue.

How can I make OpenShift do a clean checkout of the repo and rebuild everything?

1

It looks like there is an explicit deploy command:

rhc deploy <branch name> -a <app name>
0

The way to force a rebuild on OpenStack is by using marker files. Simply by creating an empty file

.openshift/markers/force_clean_build

will tell OpenShift to rebuild the whole gear. You can find more information on OpenShift site:

https://developers.openshift.com/languages/nodejs/markers.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.