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 OVS_CNI_IMAGE truly optional #683

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

mandre
Copy link
Contributor

@mandre mandre commented Apr 17, 2024

The hack/env.sh script expected that OVS_CNI_IMAGE is set, and exited with an error when it was not. There is no good reason for erroring out on missing variable for an optional image. Instead, set the variable to empty string when it is unset.

When SKIP_VAR_SET is set, the default for OVS_CNI_IMAGE remains a valid image.

The `hack/env.sh` script expected that `OVS_CNI_IMAGE` is set, and
exited with an error when it was not. There is no good reason for
erroring out on missing variable for an optional image. Instead, set the
variable to empty string when it is unset.

When `SKIP_VAR_SET` is set, the default for `OVS_CNI_IMAGE` remains
a valid image.
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.

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 8722690509

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 6 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.05%) to 38.467%

Files with Coverage Reduction New Missed Lines %
controllers/drain_controller.go 1 70.36%
controllers/generic_network_controller.go 5 74.53%
Totals Coverage Status
Change from base Build 8707492370: -0.05%
Covered Lines: 4823
Relevant Lines: 12538

💛 - Coveralls

Copy link
Collaborator

@SchSeba SchSeba left a comment

Choose a reason for hiding this comment

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

LGTM

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

@SchSeba
Copy link
Collaborator

SchSeba commented Apr 18, 2024

@ykulazhenkov any objections here?

@ykulazhenkov
Copy link
Collaborator

@ykulazhenkov any objections here?

no, LGTM

@e0ne e0ne merged commit 4774203 into k8snetworkplumbingwg:master Apr 18, 2024
12 checks passed
@mandre mandre deleted the optional-OCS_CNI_IMAGE branch April 18, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants