Run KubeVirt integration tests on GitHub Actions#287
Conversation
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Jakob-Naucke The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's GuideRefactors test utilities and integration tests to use kube-rs Sequence diagram for updated reconcile component installation flowsequenceDiagram
participant Reconciler
participant Operator
participant InstallComponents
participant ReferenceValues
Reconciler->>Operator: reconcile
Operator->>InstallComponents: install_components(Client, TrustedExecutionCluster)
InstallComponents-->>Operator: Result
alt [install_components returns Err]
Operator->>Operator: log warn!("Installation of a component failed")
Operator-->>Reconciler: Action::requeue(Duration::from_secs(60))
else [install_components returns Ok]
Operator->>ReferenceValues: adopt_approved_images(Client, TrustedExecutionCluster)
ReferenceValues-->>Operator: ()
Operator-->>Reconciler: Action::await_change()
end
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
9ae710e to
ed83a9e
Compare
|
/ok-to-test |
b4538cb to
e853201
Compare
This reverts commit 2e4f6d5. CI requires cargo anyhow. Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
also works for deployments that don't exist yet Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
which can also be set for `make integration-tests`. Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
which can occur because creation of resources with owner refereces to resources of incompletely propagated CRDs can fail Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
PR trusted-execution-clusters#278 correctly recognized that Machines sometimes stayed behind when deleting the namespace immediately after TEC. This extends to ApprovedImages and AttestationKeys, but because all these resources are owned, wait for their removal before namespace removal instead of deleting them. This also reverts commit ed64522. Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
for CI installation & dependabot autoupdates Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
This reverts commit cc6bf85.
avoiding maintenance and lack of parallelization on a CI host & scripting logic in openshift-ci Signed-off-by: Jakob Naucke <jnaucke@redhat.com> Assisted-by: Opus 4.6
adbadae to
98fb28f
Compare
98fb28f to
2be922c
Compare
Summary by Sourcery
Refine integration test infrastructure and operator installation error handling to support running KubeVirt-based integration tests on CI.
New Features:
Bug Fixes:
Enhancements:
Build:
CI:
Tests: