-
Epic
-
Resolution: Done
-
Critical
-
None
-
None
-
Converge Import from Git/Devfile/Dockerfile flows
-
False
-
False
-
To Do
-
RHDP-282 - Improve getting started experience: after has access, getting app built/deployed/connected
-
0% To Do, 0% In Progress, 100% Done
-
Undefined
-
L
-
Not Supported
Problem:
Currently, our Add page has 3 different options to allow the user to Import from Git: (1) Import from git (2) Import from dockerfile (3) Import from devfile
Goal:
Provide a single converged flow to allow developers to import from git.
Acceptance criteria:
- As a developer, I should only see a single Import from git option on the add page & context menus in topology
- As a developer, when using the Import from git option, I should be provided with a smart default, based on the contents of my git repo
- As a developer, I should always be thrown all 3 options (Builder Image, Dockerfile, Devfile)
- As a developer, if I select the builder image,
- I should see the same options we currently provide for Import from Git
- I should have access to all Adv Options
- As a developer, if I select the dockerfile option,
- I should see the same options we currently provide for Import from Dockerfile
- I should be able to provide more info to help find my Dockerfile
- I should have access to all Adv Options
- As a developer, if I select the devfile option,
- I should see the same options we currently provide for Import from Devfile
- I should be able to provide more info to help find my devfile
- I should have access to all Adv Options
Dependencies (External/Internal)
Design Artifacts
Exploration
Notes
ALWAYS show the 3 options
provide a smart default
allow the user to provide more info (Dockerfile or devfile path) if they want
Need a utility that inspects the Git repo:
- if devfile found, would do that magic ( devfile should be default, but still allow the user to select builder option )
- if no devfile & it found a dockerfile would do that magic (dockerfile should be default, but still allow the user to select builder option )
- if no devfile or dockerfile, would do what we currently do today w/import from git
- if it found a combination, it would let the user know & prompt them as to which to proceed with ( using devfile as default if that was available )
Note, this git repo inspect utility should be extensible to allow future import types ala "intelligent import".
For example, we inspect a git repo and offer options depending on what is detected
- a gitops/kam repository , you could import an Gitops application ( https://issues.redhat.com/browse/GITOPS-455)
- if its repo with pipelines as code included (https://issues.redhat.com/browse/SRVKP-472) , (could be detected by the .tekton folder) then it could offer setup, configure and edit(save)
- if it has a github actions workflow we could enable access to the cluster via the github app, offer extended scenarios (runners) .. out of scope for this issue but enabled in a future.
- is documented by
-
RHDEVDOCS-3108 Document integrated Import flow
- Closed
- links to
There are no Sub-Tasks for this issue.