Skip to content

Conversation

@nestoracunablanco
Copy link
Contributor

This approach allows for code reuse, enabling testing of different architectures without the need to promote changes.

Release note:

NONE

@kubevirt-bot kubevirt-bot added release-note-none Denotes a PR that doesn't merit a release note. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels May 8, 2025
@kubevirt-bot kubevirt-bot requested review from 0xFelix and akrejcir May 8, 2025 13:52
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey @nestoracunablanco - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Member

@0xFelix 0xFelix left a comment

Choose a reason for hiding this comment

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

Can you give an example set of commands that this helps with?


make medius

export KUBEVIRT_PROVIDER=${KUBEVIRT_PROVIDER:-k8s-1.31}
Copy link
Member

Choose a reason for hiding this comment

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

If we can we should not fix that value but use the kubevirtci default instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@nestoracunablanco
Copy link
Contributor Author

Can you give an example set of commands that this helps with?

Sure, when we run it using the environment variable PROMOTE_DRY_RUN=true, it allows us to periodically run tests for other architectures without needing to publish anything. A valid use case could be to run tests for ARM and s390x with this option, and if everything goes well, run tests for AMD64 and publish the images.

There is also a PR in the pipeline for project-infra, which will be opened for discussion if this change is approved.

What do you think?

This approach allows for code reuse, enabling testing of different
architectures without the need to promote changes.

Signed-off-by: Nestor Acuna Blanco <nestor.acuna@ibm.com>
@nestoracunablanco nestoracunablanco force-pushed the feat/pipelinePeriodicDryRunMode branch from 039f357 to 89e0be6 Compare May 12, 2025 15:08
@0xFelix
Copy link
Member

0xFelix commented May 13, 2025

Is it because we can't have a single pipeline that builds and tests all artifacts for a given containerdisk Entry?

@nestoracunablanco
Copy link
Contributor Author

Yes, the issue is that kubevirtci, with its default parameters, starts a Kubernetes cluster on the same machine. This means that only one architecture can be tested without complicating the code. This setup could allow for periodic jobs for other architectures that do not publish images.

@nestoracunablanco
Copy link
Contributor Author

/retest

Copy link
Member

@0xFelix 0xFelix left a comment

Choose a reason for hiding this comment

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

/approve

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 0xFelix

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

@kubevirt-bot kubevirt-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 23, 2025
@nestoracunablanco
Copy link
Contributor Author

@akrejcir what do you think about this change?

@akrejcir
Copy link
Contributor

akrejcir commented Jul 8, 2025

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 8, 2025
@kubevirt-bot kubevirt-bot merged commit 04766a6 into kubevirt:main Jul 8, 2025
6 checks passed
@nestoracunablanco nestoracunablanco deleted the feat/pipelinePeriodicDryRunMode branch July 8, 2025 13:11
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. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants