mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 06:16:08 -04:00
CI: build and upload node operator
This commit is contained in:
parent
5871c49390
commit
1df2a20a36
26 changed files with 275 additions and 92 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package controllers
|
||||
|
||||
import (
|
||||
|
@ -74,6 +77,13 @@ var _ = Describe("ScalingGroup controller", func() {
|
|||
image, _ := fakes.scalingGroupUpdater.GetScalingGroupImage(ctx, "group-id")
|
||||
return image
|
||||
}, timeout, interval).Should(Equal("image-1"))
|
||||
Eventually(func() string {
|
||||
err := k8sClient.Get(ctx, scalingGroupLookupKey, createdScalingGroup)
|
||||
if err != nil {
|
||||
return ""
|
||||
}
|
||||
return createdScalingGroup.Status.ImageReference
|
||||
}, timeout, interval).Should(Equal("image-1"))
|
||||
Consistently(func() (string, error) {
|
||||
err := k8sClient.Get(ctx, scalingGroupLookupKey, createdScalingGroup)
|
||||
if err != nil {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
//go:build integration
|
||||
// +build integration
|
||||
|
||||
package controllers
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue