odo icon indicating copy to clipboard operation
odo copied to clipboard

Allow executing non-default deploy commands

Open kadel opened this issue 3 years ago • 5 comments

/kind user-story /label v3 /priority medium

User Story

As an odo user, I want to be able to execute alternative deploy command that is not marked as default So that I can run/test alternative deploy commands without editing devfile.yaml

Acceptance Criteria

  • [ ] It should be possible to specify alternative deploy command via a flag on odo deploy command (for example odo deploy --command altdeploy

example

commands:
  - id: deploy
    composite:
        commands:
          - build-image-stack-provided
          - outerloop-deploy
        group:
          kind: deploy
          isDefault: true
  - id: deploy-app-image
    composite:
       commands:
         - build-image-app-provided
         - outerloop-deploy
       group:
         kind: deploy
         isDefault: false
  • odo deploy should execute command id: deploy, because it is kind: deploy command marked with isDefualt:true
  • odo deploy --command deploy-app-image should execute command id: deploy-app-image

Links

  • user requested in #5452

/kind user-story

kadel avatar Feb 11 '22 10:02 kadel

@kadel: The label(s) /label v3 cannot be applied. These labels are supported: platform/aws, platform/azure, platform/baremetal, platform/google, platform/libvirt, platform/openstack, ga, tide/merge-method-merge, tide/merge-method-rebase, tide/merge-method-squash, px-approved, docs-approved, qe-approved, downstream-change-needed, backport-risk-assessed, cherry-pick-approved

In response to this:

/kind user-story /label v3 /priority medium

User Story

As an odo user, I want to be able to execute alternative deploy command that is not marked as default So that I can run/test alternative deploy commands without editing devfile.yaml

Acceptance Criteria

  • [ ] It should be possible to specify alternative deploy command via a flag on odo deploy command (for example odo deploy --command altdeploy

example

commands:
 - id: deploy
   composite:
       commands:
         - build-image-stack-provided
         - outerloop-deploy
       group:
         kind: deploy
         isDefault: true
 - id: deploy-app-image
   composite:
      commands:
        - build-image-app-provided
        - outerloop-deploy
      group:
        kind: deploy
        isDefault: false
  • odo deploy should execute command id: deploy, because it is kind: deploy command marked with isDefualt:true
  • odo deploy --command deploy-app-image should execute command id: deploy-app-image

Links

  • user requested in #5452

/kind user-story

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.

openshift-ci[bot] avatar Feb 11 '22 10:02 openshift-ci[bot]

A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.

github-actions[bot] avatar Oct 31 '23 00:10 github-actions[bot]

This issue was closed because it has been inactive for 30 days since being marked as stale.

github-actions[bot] avatar Dec 01 '23 00:12 github-actions[bot]

/reopen /remove-lifecycle stale /remove-lifecycle rotten /lifecycle frozen

Still relevant - see thread in https://kubernetes.slack.com/archives/C01D6L2NUAG/p1701792255438769

rm3l avatar Dec 07 '23 08:12 rm3l

@rm3l: Reopened this issue.

In response to this:

/reopen /remove-lifecycle stale /remove-lifecycle rotten /lifecycle frozen

Still relevant - see thread in https://kubernetes.slack.com/archives/C01D6L2NUAG/p1701792255438769

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.

openshift-ci[bot] avatar Dec 07 '23 08:12 openshift-ci[bot]