Skip to content

Instantly share code, notes, and snippets.

@PilchardFriendly
Created May 28, 2014 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save PilchardFriendly/051df8199fb5341ec49a to your computer and use it in GitHub Desktop.
Save PilchardFriendly/051df8199fb5341ec49a to your computer and use it in GitHub Desktop.
c9v3/
.openshift/
bin/
env/
metadata/manifest.yml
.git/
config <= [remote/cdk] -> cdk based application
origin
cdk based application
/builds/claiufyo8734hljSFD.zip <= binary of our cartridge
/builds/claiufyo8734hljSFD <= manifest file [Source-URL => /builds/claiufyo8734hljSFD.zip]
/ => 302 => /builds/claiufyo8734hljSFD if header [X-ORIGIN-CARTRIDGE-REQUEST] set
local
> git push cdk master
ad-hoc environment
/.git
/config [remote/rhc]
rhc create app
rhc add cartridge <url of nodejs>
rhc add cartridge http://myc9cdk.origin/builds/claiufyo8734hljSFD
rhc update cartridge http://myc9cdk.origin/builds/claiufyo8734hljSFD
@safetydave
Copy link

line 12 cdk based application
Fails with OpenShift Origin
https://bugzilla.redhat.com/show_bug.cgi?id=1017776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment