From b2556850406a08d3982e167d73a073c802f68aff Mon Sep 17 00:00:00 2001 From: Dharmjit Singh Date: Wed, 28 Jun 2023 08:43:42 +0000 Subject: [PATCH] update metadata for 0.4.0 upcoming release --- controllers/infrastructure/byomachine_controller_test.go | 7 +++++++ metadata.yaml | 3 +++ test/e2e/config/provider.yaml | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/controllers/infrastructure/byomachine_controller_test.go b/controllers/infrastructure/byomachine_controller_test.go index 8107c7a0a..961999cc7 100644 --- a/controllers/infrastructure/byomachine_controller_test.go +++ b/controllers/infrastructure/byomachine_controller_test.go @@ -357,6 +357,13 @@ var _ = Describe("Controllers/ByomachineController", func() { byoHost.Labels[infrastructurev1beta1.AttachedByoMachineLabel] = byoMachine.Namespace + "." + byoMachine.Name Expect(ph.Patch(ctx, byoHost, patch.WithStatusObservedGeneration{})).Should(Succeed()) + WaitForObjectToBeUpdatedInCache(byoHost, func(object client.Object) bool { + return object.(*infrastructurev1beta1.ByoHost).Status.HostDetails == infrastructurev1beta1.HostInfo{ + OSName: "linux", + OSImage: "Ubuntu 20.04.4 LTS", + Architecture: "arm64", + } + }) WaitForObjectToBeUpdatedInCache(byoHost, func(object client.Object) bool { return object.(*infrastructurev1beta1.ByoHost).Status.MachineRef != nil }) diff --git a/metadata.yaml b/metadata.yaml index 2caba5683..f75dc54c0 100644 --- a/metadata.yaml +++ b/metadata.yaml @@ -10,4 +10,7 @@ releaseSeries: - major: 0 minor: 3 contract: v1beta1 + - major: 0 + minor: 4 + contract: v1beta1 diff --git a/test/e2e/config/provider.yaml b/test/e2e/config/provider.yaml index bfdca7905..857180154 100644 --- a/test/e2e/config/provider.yaml +++ b/test/e2e/config/provider.yaml @@ -62,7 +62,7 @@ providers: - name: byoh type: InfrastructureProvider versions: - - name: v0.3.0 + - name: v0.4.0 # Use manifest from source files value: ../../../config/default type: kustomize