redhat-developer / odo

odo - Developer-focused CLI for fast & iterative container-based application development on Podman and Kubernetes. Implementation of the open Devfile standard.
https://odo.dev
Apache License 2.0
777 stars 242 forks source link

Add a Devfile dependency for commands #7063

Closed feloy closed 10 months ago

feloy commented 11 months ago

What type of PR is this:

/kind bug

What does this PR do / why we need it:

This PR makes the following commands not dependent of a devfile.yaml present in the directory:

And these commande not dependent of a devfile.yaml if a name is specified with --name:

Which issue(s) this PR fixes:

Fixes #6971

PR acceptance criteria:

How to test changes / Special notes to the reviewer:

netlify[bot] commented 11 months ago

Deploy Preview for odo-docusaurus-preview canceled.

Name Link
Latest commit 840eb126e9e4e6818df130b988e817e9c609ee75
Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/64f5ebd4e6a2510008594534
odo-robot[bot] commented 11 months ago

Windows Tests (OCP) on commit c70826beeda756b1f83794df0a657946ff50d889 finished successfully. View logs: TXT HTML

odo-robot[bot] commented 11 months ago

NoCluster Tests on commit c70826beeda756b1f83794df0a657946ff50d889 finished successfully. View logs: TXT HTML

odo-robot[bot] commented 11 months ago

OpenShift Unauthenticated Tests on commit c70826beeda756b1f83794df0a657946ff50d889 finished successfully. View logs: TXT HTML

odo-robot[bot] commented 11 months ago

Unit Tests on commit c70826beeda756b1f83794df0a657946ff50d889 finished successfully. View logs: TXT HTML

odo-robot[bot] commented 11 months ago

Validate Tests on commit c70826beeda756b1f83794df0a657946ff50d889 finished successfully. View logs: TXT HTML

odo-robot[bot] commented 11 months ago

Kubernetes Tests on commit c70826beeda756b1f83794df0a657946ff50d889 finished successfully. View logs: TXT HTML

odo-robot[bot] commented 11 months ago

OpenShift Tests on commit c70826beeda756b1f83794df0a657946ff50d889 finished with errors. View logs: TXT HTML

odo-robot[bot] commented 11 months ago

Kubernetes Docs Tests on commit 03c109a6e277697702f7704e8d788f78ae565db9 finished successfully. View logs: TXT HTML

sonarcloud[bot] commented 10 months ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
7.0% 7.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

feloy commented 10 months ago

/override OpenShift-Integration-tests/OpenShift-Integration-tests

[FAILED] [125.559 seconds]
E2E Test starting with non-empty Directory test debugging [It] should verify developer workflow from non-empty Directory
/go/odo_1/tests/e2escenarios/e2e_test.go:329
openshift-ci[bot] commented 10 months ago

@feloy: Overrode contexts on behalf of feloy: OpenShift-Integration-tests/OpenShift-Integration-tests

In response to [this](https://github.com/redhat-developer/odo/pull/7063#issuecomment-1705485432): >/override OpenShift-Integration-tests/OpenShift-Integration-tests >``` >[FAILED] [125.559 seconds] >E2E Test starting with non-empty Directory test debugging [It] should verify developer workflow from non-empty Directory >/go/odo_1/tests/e2escenarios/e2e_test.go:329 >``` > Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
feloy commented 10 months ago

/override "SonarCloud Code Analysis"

openshift-ci[bot] commented 10 months ago

@feloy: Overrode contexts on behalf of feloy: SonarCloud Code Analysis

In response to [this](https://github.com/redhat-developer/odo/pull/7063#issuecomment-1705485591): >/override "SonarCloud Code Analysis" Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
feloy commented 10 months ago

/override "SonarCloud Code Analysis"

openshift-ci[bot] commented 10 months ago

@feloy: /override requires failed status contexts, check run or a prowjob name to operate on. The following unknown contexts/checkruns were given:

Only the following failed contexts/checkruns were expected:

If you are trying to override a checkrun that has a space in it, you must put a double quote on the context.

In response to [this](https://github.com/redhat-developer/odo/pull/7063#issuecomment-1705494100): >/override "SonarCloud Code Analysis" Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.