I'm using this iojs OpenShift cartridge, which has now been updated to iojs 3.0, but I need a iojs 2.x version to test some functionality.
Looking at the cartridge's manifest.yml
(here), I see the Source-Url
set to the git repo (https://github.com/connyay/openshift-iojs.git). I was thinking if I change that to use an older version of the same Github repo, then I would get the older cartridge.
So does the Source-Url
attribute support specifying branch or commit hashes (ala https://github.com/connyay/openshift-iojs.git#v2.5.0 etc) ? The OpenShift documentation doesn't mention anything about this.
The documentation you linked to doesn't mention this directly, but it hinted at the solution in the example:
Source-Url: https://github.com/example/killer-cartridge/archive/master.zip
So, for a specific branch, commit, or tag (respectively):
The OpenShift Cartridge reflector, for cartridges that do not specify a
Source-Url
, allows you to do this by specifying a branch, commit, or tag in the 'commit' query parameter.