-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
odo init
- add ability to create component with existing codebase
#5408
Comments
➜ ls
devfile.yaml mvnw mvnw.cmd pom.xml README.md src
➜ odo init
✗ The current directory is not empty. You can bootstrap new component only in empty directory.
If you have existing code that you want to deploy use `odo deploy` or use `odo dev` command to quickly iterate on your component. For note keeping sake, when a devfile is present, |
/reopen not every item is done |
@kadel: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This has been implemented with #5494 |
/kind user-story
User Story
odo deploy
odo dev
)Acceptance Criteria
devfile.yaml
file it should error out.-
, more info in devfile spec.) user entered value should be saved asmetadata.name
in thedevile.yaml
.--devfile
string
Name of the Devfile from the Devfile registry (required if --devfile-path is not defined)--devfile-path
string
Path to a devfile. It can be local filesystem path or http(s). This is alternative to using devfile from Devfile registry.--name
string
Name of the new component. If not specified, the name will be the name of the current directory.--registry
string
name of the devfile registry (as configured in odo preference registry). It can be used in combination with --devfile, but not with --devfile-path--starter
string
Name of the devfile starter project to populate the current directory with.example
when executed in directory with existing source code
when executed in empty directory
non-interactive
Links
The text was updated successfully, but these errors were encountered: