Bug 1718949 - [Docs] [RFE] Document the ability to create a Git backed automation domain
Summary: [Docs] [RFE] Document the ability to create a Git backed automation domain
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Documentation
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Suyog Sainkar
QA Contact: Red Hat CloudForms Documentation
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-10 15:19 UTC by Suyog Sainkar
Modified: 2023-03-24 14:54 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-14 19:41:55 UTC
Category: ---
Cloudforms Team: Documentation
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Suyog Sainkar 2019-06-10 15:19:33 UTC
Describe the issue: 

From engineering RFE: https://bugzilla.redhat.com/show_bug.cgi?id=1600961

It would be great to be able to create a Git backed automation domain through the API. An example use case is bootstraping a ManageIQ appliance with domains managed with Git. This would also be helpful in a CI/CD approach as only the dev environment would have non Git domains.

The Git repository should not be exposed on its own. I would expect an API call similar to:

POST /api/automate_domains
{
  "name": "AwesomeDomain",
  "description": "Bob's awesome domain",
  "source": "git",
  "git_repository": {
    "url": "https://github.com/Bob/AwesomeDomain",
    "branch": "production"
  }
}

The Git repository object would be created by the backend because the user creates a Git backed domain. Then, in a CI/CD context, there would be developers' domains, with a merge policy. Then, a tool like Jenkins would call the refresh_from_source action on the repo when the content of the repo changes.


Note You need to log in before you can comment on or make changes to this bug.