Gotya! Source-Url for openshift cart

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Gotya! Source-Url for openshift cart

jewzaam
Administrator
Just spent about an hour trying to figure out why my openshift cart changes were failing only when I added a new version.  I forgot that the source-url defined in the manifest is where the source is downloaded.  The manifest you point at is just the starting point.  There are ways to make this sane but I didn't do that.  Basically to get the openshift cart right you have to have the source-url in the manifest you reference correct.

For more info see:

https://developers.openshift.com/en/get-involved-extend-openshift.html#how-cartridges-are-downloaded
Reply | Threaded
Open this post in threaded view
|

Re: Gotya! Source-Url for openshift cart

jewzaam
Administrator
This section got me going finally:

https://developers.openshift.com/en/get-involved-extend-openshift.html#the-cartridge-reflector

I used the reflector to pull a specific branch for a repo.  Still failing but it's failing on the right things now!

To run repo 'openshift-lightblue-cart' for user 'jewzaam' and branch 'lightblue-1.2' I did this:

rhc app create http://cartreflect-claytondev.rhcloud.com/github/jewzaam/openshift-lightblue-cart?commit=lightblue-1.2 -a test