| Summary: | Git Import fails if the top level domain directory is missing in the repo. | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | mkanoor | |
| Component: | Automate | Assignee: | mkanoor | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.7.0 | CC: | cpelland, gmccullo, jhardy, mkanoor, obarenbo, tfitzger | |
| Target Milestone: | GA | Keywords: | TestOnly | |
| Target Release: | 5.8.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | automate:git | |||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1394851 (view as bug list) | Environment: | ||
| Last Closed: | 2017-06-12 17:07:11 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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1394851 | |||
|
Description
mkanoor
2016-10-28 18:46:41 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/f3dc1dffb2cf1f4be42d0038983336a5ad30059c commit f3dc1dffb2cf1f4be42d0038983336a5ad30059c Author: Madhu Kanoor <mkanoor> AuthorDate: Fri Oct 28 14:53:08 2016 -0400 Commit: Madhu Kanoor <mkanoor> CommitDate: Fri Oct 28 16:19:32 2016 -0400 Support automate git repositories without domain directory https://bugzilla.redhat.com/show_bug.cgi?id=1389823 As long as we have a valid __domain__.yaml file we should be able to build the domain information. .../models/miq_ae_yaml_import.rb | 6 +- .../models/miq_ae_yaml_import_gitfs.rb | 13 +- .../models/miq_ae_yaml_import_gitfs_spec.rb | 186 ++++++++++++--------- 3 files changed, 126 insertions(+), 79 deletions(-) New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/c8afb5a5f5f49750bf23feef0b2a0be999754dc2 commit c8afb5a5f5f49750bf23feef0b2a0be999754dc2 Author: Jason Frey <fryguy9> AuthorDate: Wed Nov 9 14:55:30 2016 -0500 Commit: Oleg Barenboim <chessbyte> CommitDate: Fri Nov 11 13:41:01 2016 -0500 Merge pull request #12282 from mkanoor/use_domain_name_from_yaml Support automate model git repositories without domain directory (cherry picked from commit d373743a9e9c91a52c2078a5287ccaddce658f0c) https://bugzilla.redhat.com/show_bug.cgi?id=1389823 .../models/miq_ae_yaml_import.rb | 6 +- .../models/miq_ae_yaml_import_gitfs.rb | 13 +- .../models/miq_ae_yaml_import_gitfs_spec.rb | 186 ++++++++++++--------- 3 files changed, 126 insertions(+), 79 deletions(-) Verified in 5.8.0.3.20170301174324_1e2e0c4. Import from git without the parent domain directory works fine. |