Skip to content

As a user, I need guidance on how to add devfiles to existing apps (odo init --dry-run -o yaml) #4435

Open
@ryanj

Description

@ryanj

/kind user-story

User Story

As a developer and/or team lead, I want to make it easier for team members to get started with devfiles by adding a valid devfile.yaml to any existing repo.

Acceptance Criteria

  • Running odo init nodejs frontend --dry-run -o yaml should skip creation of the frontend component, AND print a fresh devfile to standard out
  • Running odo init nodejs frontend --dry-run -o yaml > devfile.yaml should bypass creation of the frontend component, and write a new devfile.yaml file to disk
  • The resulting devfile.yaml (when added to my repo folder), should allow me to create a new frontend component by running odo create frontend

Links

  • Feature Request:
  • Related issue:

/kind user-story

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/user-storyAn issue of user-story kindlifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.needs-triageIndicates an issue or PR lacks a `triage/*` and requires one.

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions