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

Support number of workers for the virtual cluster #528

Merged
merged 1 commit into from
Oct 31, 2023

Conversation

SchSeba
Copy link
Collaborator

@SchSeba SchSeba commented Oct 22, 2023

also add a make target to redeploy the containers on the cluster for an easy development cycle

Signed-off-by: Sebastian Sch [email protected]

@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

Makefile Outdated
@@ -8,6 +8,7 @@ TARGET_DIR=$(CURPATH)/build/_output
BIN_DIR=$(CURPATH)/bin
KUBECONFIG?=$(HOME)/.kube/config
export OPERATOR_EXEC?=oc
export OCP_VERSION=4.14.0-rc.6
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should not be part of upstream

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

agree removing from the Makefile

@bn222
Copy link
Collaborator

bn222 commented Oct 26, 2023

/lgtm

@github-actions github-actions bot added the lgtm label Oct 26, 2023
@adrianchiris
Copy link
Collaborator

lets discuss this one in a meeting.

my thoughts:
tests should be agnostic as possible to the k8s distro (upstream, ocp)
any ocp specific prep scripts or ocp specific tests should be out of tree in a different repo.
GH Actions can easily clone more than one repo.

@SchSeba
Copy link
Collaborator Author

SchSeba commented Oct 26, 2023

@adrianchiris I agree that is why we have a separate repo for OCP specific tests using the sriov operator under the cnf-feature-deploy repo

https://github.com/openshift-kni/cnf-features-deploy/blob/master/cnf-tests/testsuites/e2esuite/dpdk/dpdk.go
https://github.com/openshift-kni/cnf-features-deploy/blob/master/cnf-tests/testsuites/e2esuite/sctp/sctp_sriov.go
https://github.com/openshift-kni/cnf-features-deploy/blob/master/cnf-tests/testsuites/e2esuite/vrf/vrf_sriov.go

and I may in the future clone that repo as part of CI system here, but the script to deploy the cluster (can be vanilla ocp k3s or others) with the PR build operator should be in the operator repo if you ask me.

that is also important so all the maintainers in this repo have full control on the CI lanes like versions and runners

@bn222
Copy link
Collaborator

bn222 commented Oct 26, 2023

To me, it makes more sense to have as few as possible references to non-vanille k8s in this repo. Again, it's not black and white. I understand the need to trigger a job that is testing a vendor-specific release. That's ok imo as long as there is a single entry point to kick off all kinds of vendor-specific testing. In short, I'm in line with @adrianchiris

Regarding the actual code, I never liked the fact that we had if openshift in upstream. Better to abstract those things away too and call a generic thing instead that can be dynamically replaced by an instance of something specific downstream.

@bn222
Copy link
Collaborator

bn222 commented Oct 26, 2023

To add some detail to my previous comment, it's important to realize that there are two parts: "vendor specific testing" and "code related stuff". For this PR, let's focus on the first part only.

also add a make target to redeploy the containers on the cluster
for easy development cycle

Signed-off-by: Sebastian Sch <[email protected]>
@github-actions
Copy link

Thanks for your PR,
To run vendors CIs use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 6661551394

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.09%) to 25.71%

Totals Coverage Status
Change from base Build 6639207535: 0.09%
Covered Lines: 2328
Relevant Lines: 9055

💛 - Coveralls

Copy link
Member

@zeeke zeeke left a comment

Choose a reason for hiding this comment

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

LGTM

@zeeke zeeke merged commit 4dad655 into k8snetworkplumbingwg:master Oct 31, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants