Bug 1026275
Summary: | Should not prompt "Deployment of git ref" when deploy a non-exist binary artifact | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Wei Sun <wsun> |
Component: | oc | Assignee: | Fabiano Franz <ffranz> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | jliggitt |
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: | 2014-01-24 03:28:41 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
Wei Sun
2013-11-04 10:18:11 UTC
Fixed in https://github.com/openshift/rhc/pull/503 From now on rhc will check on the client if the app is configured for binary or git reference deployments and raise an error if the artifact provided is not correct. Commit pushed to master at https://github.com/openshift/rhc https://github.com/openshift/rhc/commit/ef381dddf788dc7016b3ad8f28bf270ad1fe9807 Bug 1026275 - will fail in the client when trying to deploy an artifact incompatible with the app deployment type Verified in devenv_4018 with rhc-1.17.3 Result: [wsun@dhcp-8-229 test]$ rhc deploy ./pynoexist.tar.gz -a py The application 'py' is configured for binary deployments but the artifact provided ('./pynoexist.tar.gz') is not a binary file. Please provide the path to a deployable file on your local filesystem or a url, or configure your app to deploy from a git reference with 'rhc configure-app py --deployment-type git'. The artifact provided is not compatible with the app deployment type. |