Skip to content

KubeVirt support files#341

Merged
anathoodell merged 9 commits into
mainfrom
usr/anathoodell/kubevirtmanifest
Feb 28, 2025
Merged

KubeVirt support files#341
anathoodell merged 9 commits into
mainfrom
usr/anathoodell/kubevirtmanifest

Conversation

@anathoodell

Copy link
Copy Markdown
Contributor

Description

Adding support files required for KubeVirt testing. No code changes.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Comment thread .github/workflows/common-workflows.yaml Outdated
Comment on lines +15 to +17
# common:
# name: Quality Checks
# uses: dell/common-github-actions/.github/workflows/go-common.yml@main

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't these commented out lines be removed?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should keep this action as part of our code quality checks. This is a consistent check across all the repos

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

When I initally committed with no code changes, the workflow UT failed. The new unit-test-workflow.yaml takes the place of these lines. If there is an alternative that uses the common workflow and excludes the directories on line 31 in the unit-test-workflow.yaml, then I can change this.

Comment thread .github/workflows/common-workflows.yaml Outdated
Comment on lines +15 to +17
# common:
# name: Quality Checks
# uses: dell/common-github-actions/.github/workflows/go-common.yml@main

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We should keep this action as part of our code quality checks. This is a consistent check across all the repos

@@ -0,0 +1,31 @@
name: Code Test

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is a duplicate to what dell/common-github-actions/.github/workflows/go-common.yml@main is running, can this file be removed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I added this file to put in the exclusions on line 31 since this workflow UT check is a new failure on those directories " exclude-directory: "service/mock|provider|core|service/interceptor|common/constants|csi-utils|test/integration|common/k8sutils|core/semver|common/utils|v2". Is there another way to do this other than adding this file?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Yes, any exclusions have to be added by a repo admin in the repo settings now. When UT coverage is increased, will any of these packages still be testable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Honestly I don't know as of yet. It's possible some of them are testable since they have go code in them. seem logical to me.

the common workflow as per review comments.
@anathoodell anathoodell requested a review from alexemc February 4, 2025 14:18
@anathoodell

Copy link
Copy Markdown
Contributor Author

FAIL: coverage for package github.com/dell/csi-isilon/v2/service is 89.4%, lower than 90%

@anathoodell anathoodell merged commit 51c216c into main Feb 28, 2025
@anathoodell anathoodell deleted the usr/anathoodell/kubevirtmanifest branch February 28, 2025 15:27
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.

4 participants