Bug 977317
Summary: | Git push failed with error "CARTRIDGE_VERSION_2: line 1: 2: command not found" | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | tuwannu |
Component: | Containers | Assignee: | Jhon Honce <jhonce> |
Status: | CLOSED NOTABUG | QA Contact: | libra bugs <libra-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | dmcphers |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-26 18:50:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
tuwannu
2013-06-24 10:05:49 UTC
It appears your code has an old version of the deploy script which sources the Environment Variables under .env. You're going to need to change your code to skip that step. You can do that a couple ways: 1) You can make sure deploy hook look like: https://github.com/openshift/rails-example/blob/master/.openshift/action_hooks/deploy or: 2) You could rebase on the upstream quickstart: Details here: https://www.openshift.com/blogs/version-2-cartridge-update-action-may-be-required Please reopen if you are still having problems. |