openshift-online / maestro

Maestro Service Repo
Apache License 2.0
8 stars 15 forks source link

[WIP]support manifest bundle. #57

Closed morvencao closed 3 months ago

morvencao commented 4 months ago

ref: https://issues.redhat.com/browse/OCM-6367

depend on: https://github.com/open-cluster-management-io/ocm/pull/352

morvencao commented 4 months ago

appended test results:

# make test-integration
CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go install -ldflags="" ./cmd/maestro
OCM_ENV=testing gotestsum --format short-verbose -- -p 1 -ldflags -s -v -timeout 1h  \
        ./test/integration
I0301 04:57:37.425164  160941 framework.go:76] Initializing testing environment
I0301 04:57:37.683783  160941 framework.go:161] Using Mock OCM Authz Client
I0301 04:57:37.685950  160941 framework.go:199] Disabling Sentry error reporting
I0301 04:57:37.694039  160941 grpc_server.go:78] Serving gRPC service without TLS at 8090
PASS test/integration.TestConsumerGet (0.30s)
PASS test/integration.TestConsumerPost (0.21s)
PASS test/integration.TestConsumerPaging (0.32s)
PASS test/integration.TestControllerRacing (1.63s)
PASS test/integration.TestControllerReconcile (1.32s)
PASS test/integration.TestControllerSync (1.31s)
PASS test/integration.TestPulseServer (5.20s)
PASS test/integration.TestResourceGet (0.33s)
PASS test/integration.TestResourcePost (5.33s)
PASS test/integration.TestResourcePatch (0.28s)
PASS test/integration.TestResourcePaging (0.45s)
PASS test/integration.TestResourceListSearch (0.41s)
PASS test/integration.TestUpdateResourceWithRacingRequests (0.30s)
PASS test/integration.TestResourceFromGRPC (6.41s)
I0301 04:58:01.523191  160941 api_server.go:157] Web server terminated
PASS test/integration

DONE 14 tests in 1.054s
morvencao commented 4 months ago

/assign @qiujian16 @clyang82 @skeeey

morvencao commented 3 months ago

closing this in favor of https://github.com/openshift-online/maestro/pull/59