Skip to content

Conversation

mmakwana30
Copy link

@openshift-ci openshift-ci bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Sep 15, 2025
@openshift-ci openshift-ci bot requested review from eggfoobar and qJkee September 15, 2025 09:45
@mmakwana30
Copy link
Author

/assign @jeff-roche @kasturinarra

@@ -0,0 +1,53 @@
package main

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest creating a new file called main.go inside cmd/integration-tests/main.go with package main.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file name doesn't particularly matter since we can feed it directly to the go build command. I believe best practice is to only have 1 main.go in a repo which we already have in the cmd folder so I think leaving it as integration here is fine

Copy link
Contributor

openshift-ci bot commented Sep 15, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mmakwana30
Once this PR has been reviewed and has the lgtm label, please ask for approval from jeff-roche. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

"fmt"
"os"

et "github.com/openshift-eng/openshift-tests-extension/pkg/extension/extensiontests"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see we are not using the et anywhere, this can be removed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just comment it out for now so that we don't end up with compile errors. We will want it down the road though


// all test cases
ext.AddSuite(e.Suite{
Name: "openshift/lvm-operator/test",
Copy link

@kasturinarra kasturinarra Sep 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better naming would be openshift/lvm-operator/integration or openshift/lvm-operator/integration-tests ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like openshift/lvm-operator/integration

registry := e.NewRegistry()

// You can declare multiple extensions, but most people will probably only need to create one.
ext := e.NewExtension("openshift", "payload", "lvm-operator")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not very sure about the payload here, but i will let jeff comment more on that as i am not very sure what should we be selecting.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find any validation in the source so we will go with payload for now and see if it works

Copy link
Contributor

openshift-ci bot commented Sep 15, 2025

@mmakwana30: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit-test dab3bb9 link true /test unit-test
ci/prow/e2e-aws-hypershift dab3bb9 link true /test e2e-aws-hypershift
ci/prow/precommit-check dab3bb9 link true /test precommit-check
ci/prow/e2e-aws-single-node dab3bb9 link true /test e2e-aws-single-node
ci/prow/snyk-deps dab3bb9 link false /test snyk-deps
ci/prow/e2e-aws dab3bb9 link true /test e2e-aws

Full PR test history. Your PR dashboard.

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-sigs/prow repository. I understand the commands that are listed here.

Copy link
Contributor

@jeff-roche jeff-roche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's also add a basic dockerfile with the go build and makefile extension as part of this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants