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

Expose an environmental value to virtio win image #1222

Merged
merged 1 commit into from Apr 1, 2021
Merged

Expose an environmental value to virtio win image #1222

merged 1 commit into from Apr 1, 2021

Conversation

tiraboschi
Copy link
Member

Expose an environmental value to consume at runtime
a virtio win image that should be propagated to
a config map consumed by the UI component
when the user tries to boot/import a Windows VM.

In the past the UI was using an hardcoded value
but due to that it wasn't properly working on
disconnected environments.

Fixes: https://bugzilla.redhat.com/1942839

Signed-off-by: Simone Tiraboschi stirabos@redhat.com

Release note:

Expose an environmental value to virtio win image

@kubevirt-bot kubevirt-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has DCO signed all their commits. labels Mar 31, 2021
@coveralls
Copy link
Collaborator

coveralls commented Mar 31, 2021

Pull Request Test Coverage Report for Build 704926113

  • 5 of 8 (62.5%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.03%) to 72.823%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/controller/operands/vmImport.go 5 8 62.5%
Files with Coverage Reduction New Missed Lines %
pkg/controller/operands/vmImport.go 1 82.58%
Totals Coverage Status
Change from base Build 704883441: 0.03%
Covered Lines: 2827
Relevant Lines: 3882

💛 - Coveralls

@hco-bot
Copy link
Collaborator

hco-bot commented Mar 31, 2021

hco-e2e-upgrade-prev-aws lane succeeded.
/override ci/prow/hco-e2e-upgrade-prev-azure
hco-e2e-image-index-aws lane succeeded.
/override ci/prow/hco-e2e-image-index-gcp
hco-e2e-image-index-aws lane succeeded.
/override ci/prow/hco-e2e-image-index-azure
hco-e2e-upgrade-aws lane succeeded.
/override ci/prow/hco-e2e-upgrade-azure

@kubevirt-bot
Copy link
Contributor

@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-azure, ci/prow/hco-e2e-image-index-gcp, ci/prow/hco-e2e-upgrade-azure, ci/prow/hco-e2e-upgrade-prev-azure

In response to this:

hco-e2e-upgrade-prev-aws lane succeeded.
/override ci/prow/hco-e2e-upgrade-prev-azure
hco-e2e-image-index-aws lane succeeded.
/override ci/prow/hco-e2e-image-index-gcp
hco-e2e-image-index-aws lane succeeded.
/override ci/prow/hco-e2e-image-index-azure
hco-e2e-upgrade-aws lane succeeded.
/override ci/prow/hco-e2e-upgrade-azure

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/test-infra repository.

@hco-bot
Copy link
Collaborator

hco-bot commented Mar 31, 2021

hco-e2e-image-index-azure, hco-e2e-image-index-aws lanes succeeded.
/override ci/prow/hco-e2e-image-index-gcp
okd-hco-e2e-image-index-aws lane succeeded.
/override ci/prow/okd-hco-e2e-image-index-azure

@kubevirt-bot
Copy link
Contributor

@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-gcp, ci/prow/okd-hco-e2e-image-index-azure

In response to this:

hco-e2e-image-index-azure, hco-e2e-image-index-aws lanes succeeded.
/override ci/prow/hco-e2e-image-index-gcp
okd-hco-e2e-image-index-aws lane succeeded.
/override ci/prow/okd-hco-e2e-image-index-azure

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/test-infra repository.

deploy/images.csv Outdated Show resolved Hide resolved
Expose an enviromental value to consume at runtime
a virtio win image that should be propagated to
a config map consumed by the UI component
when the user tries to boot/import a Windows VM.

In the past the UI was using an hardcoded value
but due to that it wasn't properly working on
disconnected enviroments.

Fixes: https://bugzilla.redhat.com/1942839

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
@sonarcloud
Copy link

sonarcloud bot commented Mar 31, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@hco-bot
Copy link
Collaborator

hco-bot commented Mar 31, 2021

hco-e2e-image-index-azure, hco-e2e-image-index-aws lanes succeeded.
/override ci/prow/hco-e2e-image-index-gcp
hco-e2e-upgrade-prev-azure lane succeeded.
/override ci/prow/hco-e2e-upgrade-prev-aws

@kubevirt-bot
Copy link
Contributor

@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-image-index-gcp, ci/prow/hco-e2e-upgrade-prev-aws

In response to this:

hco-e2e-image-index-azure, hco-e2e-image-index-aws lanes succeeded.
/override ci/prow/hco-e2e-image-index-gcp
hco-e2e-upgrade-prev-azure lane succeeded.
/override ci/prow/hco-e2e-upgrade-prev-aws

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/test-infra repository.

@hco-bot
Copy link
Collaborator

hco-bot commented Mar 31, 2021

okd-hco-e2e-image-index-aws lane succeeded.
/override ci/prow/okd-hco-e2e-image-index-azure

@kubevirt-bot
Copy link
Contributor

@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/okd-hco-e2e-image-index-azure

In response to this:

okd-hco-e2e-image-index-aws lane succeeded.
/override ci/prow/okd-hco-e2e-image-index-azure

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/test-infra repository.

@tiraboschi
Copy link
Member Author

/test hco-e2e-kv-smoke-azure

@kubevirt-bot
Copy link
Contributor

@tiraboschi: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-hyperconverged-cluster-operator-e2e-k8s-1.19

Use /test all to run all jobs.

In response to this:

/test hco-e2e-kv-smoke-azure

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/test-infra repository.

@openshift-ci
Copy link

openshift-ci bot commented Mar 31, 2021

@tiraboschi: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/okd-hco-e2e-image-index-azure 236b8ae link /test okd-hco-e2e-image-index-azure
ci/prow/hco-e2e-image-index-gcp 236b8ae link /test hco-e2e-image-index-gcp
ci/prow/hco-e2e-kv-smoke-gcp 236b8ae link /test hco-e2e-kv-smoke-gcp

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

@tiraboschi
Copy link
Member Author

/test hco-e2e-kv-smoke-azure

@kubevirt-bot
Copy link
Contributor

@tiraboschi: The specified target(s) for /test were not found.
The following commands are available to trigger jobs:

  • /test pull-hyperconverged-cluster-operator-e2e-k8s-1.19

Use /test all to run all jobs.

In response to this:

/test hco-e2e-kv-smoke-azure

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/test-infra repository.

@erkanerol
Copy link
Member

erkanerol commented Apr 1, 2021

/lgtm

@kubevirt-bot kubevirt-bot added the lgtm Indicates that a PR is ready to be merged. label Apr 1, 2021
@erkanerol
Copy link
Member

/approve

@kubevirt-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: erkanerol

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 Apr 1, 2021
@hco-bot
Copy link
Collaborator

hco-bot commented Apr 1, 2021

hco-e2e-kv-smoke-azure lane succeeded.
/override ci/prow/hco-e2e-kv-smoke-gcp

@kubevirt-bot
Copy link
Contributor

@hco-bot: Overrode contexts on behalf of hco-bot: ci/prow/hco-e2e-kv-smoke-gcp

In response to this:

hco-e2e-kv-smoke-azure lane succeeded.
/override ci/prow/hco-e2e-kv-smoke-gcp

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/test-infra repository.

@kubevirt-bot kubevirt-bot merged commit a81de01 into kubevirt:master Apr 1, 2021
@tiraboschi tiraboschi deleted the virtio_win_sha branch April 1, 2021 09:13
orenc1 pushed a commit to orenc1/hyperconverged-cluster-operator that referenced this pull request Apr 13, 2021
Expose an enviromental value to consume at runtime
a virtio win image that should be propagated to
a config map consumed by the UI component
when the user tries to boot/import a Windows VM.

In the past the UI was using an hardcoded value
but due to that it wasn't properly working on
disconnected enviroments.

Fixes: https://bugzilla.redhat.com/1942839

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
@tiraboschi
Copy link
Member Author

/cherry-pick release-1.3

@kubevirt-bot
Copy link
Contributor

@tiraboschi: #1222 failed to apply on top of branch "release-1.3":

Using index info to reconstruct a base tree...
M	deploy/images.csv
M	deploy/images.env
A	deploy/index-image/community-kubevirt-hyperconverged/1.4.0/manifests/kubevirt-hyperconverged-operator.v1.4.0.clusterserviceversion.yaml
A	deploy/olm-catalog/community-kubevirt-hyperconverged/1.4.0/manifests/kubevirt-hyperconverged-operator.v1.4.0.clusterserviceversion.yaml
M	deploy/operator.yaml
M	hack/build-manifests.sh
M	pkg/components/components.go
M	pkg/controller/commonTestUtils/testUtils.go
M	pkg/controller/hyperconverged/hyperconverged_controller_test.go
M	pkg/controller/operands/operandHandler_test.go
M	pkg/controller/operands/vmImport.go
M	pkg/controller/operands/vmImport_test.go
M	tools/csv-merger/csv-merger.go
M	tools/manifest-templator/manifest-templator.go
Falling back to patching base and 3-way merge...
Auto-merging tools/manifest-templator/manifest-templator.go
CONFLICT (content): Merge conflict in tools/manifest-templator/manifest-templator.go
Auto-merging tools/csv-merger/csv-merger.go
CONFLICT (content): Merge conflict in tools/csv-merger/csv-merger.go
Auto-merging pkg/controller/operands/vmImport_test.go
CONFLICT (content): Merge conflict in pkg/controller/operands/vmImport_test.go
Auto-merging pkg/controller/operands/vmImport.go
CONFLICT (content): Merge conflict in pkg/controller/operands/vmImport.go
Auto-merging pkg/controller/operands/operandHandler_test.go
Auto-merging pkg/controller/hyperconverged/hyperconverged_controller_test.go
CONFLICT (content): Merge conflict in pkg/controller/hyperconverged/hyperconverged_controller_test.go
Auto-merging pkg/controller/commonTestUtils/testUtils.go
CONFLICT (content): Merge conflict in pkg/controller/commonTestUtils/testUtils.go
Auto-merging pkg/components/components.go
CONFLICT (content): Merge conflict in pkg/components/components.go
Auto-merging hack/build-manifests.sh
CONFLICT (content): Merge conflict in hack/build-manifests.sh
Auto-merging deploy/operator.yaml
Auto-merging deploy/olm-catalog/community-kubevirt-hyperconverged/1.3.0/manifests/kubevirt-hyperconverged-operator.v1.3.0.clusterserviceversion.yaml
CONFLICT (content): Merge conflict in deploy/olm-catalog/community-kubevirt-hyperconverged/1.3.0/manifests/kubevirt-hyperconverged-operator.v1.3.0.clusterserviceversion.yaml
Auto-merging deploy/index-image/community-kubevirt-hyperconverged/1.3.0/manifests/kubevirt-hyperconverged-operator.v1.3.0.clusterserviceversion.yaml
CONFLICT (content): Merge conflict in deploy/index-image/community-kubevirt-hyperconverged/1.3.0/manifests/kubevirt-hyperconverged-operator.v1.3.0.clusterserviceversion.yaml
Auto-merging deploy/images.env
CONFLICT (content): Merge conflict in deploy/images.env
Auto-merging deploy/images.csv
CONFLICT (content): Merge conflict in deploy/images.csv
error: Failed to merge in the changes.
Patch failed at 0001 Expose an enviromental value to virtio win image

In response to this:

/cherry-pick release-1.3

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/test-infra repository.

tiraboschi added a commit to tiraboschi/hyperconverged-cluster-operator that referenced this pull request Jun 9, 2021
Expose an enviromental value to consume at runtime
a virtio win image that should be propagated to
a config map consumed by the UI component
when the user tries to boot/import a Windows VM.

In the past the UI was using an hardcoded value
but due to that it wasn't properly working on
disconnected enviroments.

Fixes: https://bugzilla.redhat.com/1942839

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
tiraboschi added a commit to tiraboschi/hyperconverged-cluster-operator that referenced this pull request Jun 10, 2021
Expose an enviromental value to consume at runtime
a virtio win image that should be propagated to
a config map consumed by the UI component
when the user tries to boot/import a Windows VM.

In the past the UI was using an hardcoded value
but due to that it wasn't properly working on
disconnected enviroments.

Fixes: https://bugzilla.redhat.com/1969756

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
tiraboschi added a commit that referenced this pull request Jun 11, 2021
Expose an enviromental value to consume at runtime
a virtio win image that should be propagated to
a config map consumed by the UI component
when the user tries to boot/import a Windows VM.

In the past the UI was using an hardcoded value
but due to that it wasn't properly working on
disconnected enviroments.

Fixes: https://bugzilla.redhat.com/1969756

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
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 Denotes a PR that will be considered when it comes time to generate release notes. size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants