Skip to content
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

Make functions for executing run command reusable #6277

Merged

Conversation

feloy
Copy link
Contributor

@feloy feloy commented Nov 2, 2022

What type of PR is this:

/kind code-refactoring

What does this PR do / why we need it:

We need to reuse the code to execute a run command for the Podman platform

The adapterHandler (renamed runHandler) now uses the ExecuteRunCommand function from the pkg/component package, instead of inlining the code.

ExecuteRunCommand accepts a platformClient instead of a kubeClient, to be usable for other platforms.

@feloy feloy requested a review from rm3l November 2, 2022 09:56
@netlify
Copy link

netlify bot commented Nov 2, 2022

Deploy Preview for odo-docusaurus-preview canceled.

Name Link
🔨 Latest commit 2ac31ca
🔍 Latest deploy log https://app.netlify.com/sites/odo-docusaurus-preview/deploys/63623ebcab982d0008e69193

@odo-robot
Copy link

odo-robot bot commented Nov 2, 2022

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

@feloy feloy added the area/odo-on-podman Issues or PRs related to running odo against Podman label Nov 2, 2022
@odo-robot
Copy link

odo-robot bot commented Nov 2, 2022

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

@odo-robot
Copy link

odo-robot bot commented Nov 2, 2022

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

@odo-robot
Copy link

odo-robot bot commented Nov 2, 2022

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

@odo-robot
Copy link

odo-robot bot commented Nov 2, 2022

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

@odo-robot
Copy link

odo-robot bot commented Nov 2, 2022

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

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. Required by Prow. label Nov 2, 2022
@feloy feloy closed this Nov 2, 2022
@feloy feloy reopened this Nov 2, 2022
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 2, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rm3l
Copy link
Member

rm3l commented Nov 2, 2022

/approve

@openshift-ci
Copy link

openshift-ci bot commented Nov 2, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rm3l

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. label Nov 2, 2022
@feloy
Copy link
Contributor Author

feloy commented Nov 2, 2022

/test v4.11-integration-e2e

1 similar comment
@feloy
Copy link
Contributor Author

feloy commented Nov 2, 2022

/test v4.11-integration-e2e

@openshift-merge-robot openshift-merge-robot merged commit e6fd686 into redhat-developer:main Nov 2, 2022
@rm3l rm3l added the area/refactoring Issues or PRs related to code refactoring label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. Required by Prow. area/odo-on-podman Issues or PRs related to running odo against Podman area/refactoring Issues or PRs related to code refactoring lgtm Indicates that a PR is ready to be merged. Required by Prow.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants