Skip to content

Commit 3461775

Browse files
authored
Merge pull request #18 from semmet95/chore/dependency-upgrades
chore: upgrades vela internal dependencies
2 parents 5890a76 + 76cbbee commit 3461775

File tree

8 files changed

+84
-73
lines changed

8 files changed

+84
-73
lines changed

apis/core.oam.dev/common/types.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
"k8s.io/apimachinery/pkg/runtime"
2727
"sigs.k8s.io/controller-runtime/pkg/client"
2828

29+
wfTypesv1alpha1 "github.com/kubevela/pkg/apis/oam/v1alpha1"
2930
workflowv1alpha1 "github.com/kubevela/workflow/api/v1alpha1"
3031

3132
"github.com/oam-dev/kubevela-core-api/apis/core.oam.dev/condition"
@@ -301,9 +302,9 @@ type ApplicationComponent struct {
301302
// +kubebuilder:pruning:PreserveUnknownFields
302303
Properties *runtime.RawExtension `json:"properties,omitempty"`
303304

304-
DependsOn []string `json:"dependsOn,omitempty"`
305-
Inputs workflowv1alpha1.StepInputs `json:"inputs,omitempty"`
306-
Outputs workflowv1alpha1.StepOutputs `json:"outputs,omitempty"`
305+
DependsOn []string `json:"dependsOn,omitempty"`
306+
Inputs wfTypesv1alpha1.StepInputs `json:"inputs,omitempty"`
307+
Outputs wfTypesv1alpha1.StepOutputs `json:"outputs,omitempty"`
307308

308309
// Traits define the trait of one component, the type must be array to keep the order.
309310
Traits []ApplicationTrait `json:"traits,omitempty"`

apis/core.oam.dev/common/zz_generated.deepcopy.go

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/core.oam.dev/v1alpha1/register.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
k8sscheme "k8s.io/client-go/kubernetes/scheme"
2222
"sigs.k8s.io/controller-runtime/pkg/scheme"
2323

24-
workflowv1alpha1 "github.com/kubevela/workflow/api/v1alpha1"
24+
wfTypesv1alpha1 "github.com/kubevela/pkg/apis/oam/v1alpha1"
2525

2626
"github.com/oam-dev/kubevela-core-api/apis/core.oam.dev/common"
2727
)
@@ -57,7 +57,7 @@ var (
5757

5858
func init() {
5959
SchemeBuilder.Register(&Policy{}, &PolicyList{})
60-
SchemeBuilder.Register(&workflowv1alpha1.Workflow{}, &workflowv1alpha1.WorkflowList{})
60+
SchemeBuilder.Register(&wfTypesv1alpha1.Workflow{}, &wfTypesv1alpha1.WorkflowList{})
6161
_ = SchemeBuilder.AddToScheme(k8sscheme.Scheme)
6262
}
6363

apis/core.oam.dev/v1beta1/application_types.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
2424
"k8s.io/apimachinery/pkg/runtime"
2525

26-
workflowv1alpha1 "github.com/kubevela/workflow/api/v1alpha1"
26+
wfTypesv1alpha1 "github.com/kubevela/pkg/apis/oam/v1alpha1"
2727

2828
"github.com/oam-dev/kubevela-core-api/apis/core.oam.dev/common"
2929
"github.com/oam-dev/kubevela-core-api/apis/core.oam.dev/condition"
@@ -42,9 +42,9 @@ type AppPolicy struct {
4242

4343
// Workflow defines workflow steps and other attributes
4444
type Workflow struct {
45-
Ref string `json:"ref,omitempty"`
46-
Mode *workflowv1alpha1.WorkflowExecuteMode `json:"mode,omitempty"`
47-
Steps []workflowv1alpha1.WorkflowStep `json:"steps,omitempty"`
45+
Ref string `json:"ref,omitempty"`
46+
Mode *wfTypesv1alpha1.WorkflowExecuteMode `json:"mode,omitempty"`
47+
Steps []wfTypesv1alpha1.WorkflowStep `json:"steps,omitempty"`
4848
}
4949

5050
// ApplicationSpec is the spec of Application

apis/core.oam.dev/v1beta1/applicationrevision_types.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ import (
2020
"encoding/json"
2121

2222
"github.com/kubevela/pkg/util/compression"
23-
workflowv1alpha1 "github.com/kubevela/workflow/api/v1alpha1"
2423
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2524

25+
wfTypesv1alpha1 "github.com/kubevela/pkg/apis/oam/v1alpha1"
26+
2627
"github.com/oam-dev/kubevela-core-api/apis/core.oam.dev/common"
2728
"github.com/oam-dev/kubevela-core-api/apis/core.oam.dev/v1alpha1"
2829
)
@@ -63,7 +64,7 @@ type ApplicationRevisionCompressibleFields struct {
6364
Policies map[string]v1alpha1.Policy `json:"policies,omitempty"`
6465

6566
// Workflow records the external workflow
66-
Workflow *workflowv1alpha1.Workflow `json:"workflow,omitempty"`
67+
Workflow *wfTypesv1alpha1.Workflow `json:"workflow,omitempty"`
6768

6869
// ReferredObjects records the referred objects used in the ref-object typed components
6970
// +kubebuilder:pruning:PreserveUnknownFields

apis/core.oam.dev/v1beta1/zz_generated.deepcopy.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ module github.com/oam-dev/kubevela-core-api
33
go 1.23.8
44

55
require (
6-
cuelang.org/go v0.9.2
6+
cuelang.org/go v0.14.1
77
github.com/Masterminds/semver v1.5.0
88
github.com/crossplane/crossplane-runtime v1.16.0
99
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
1010
github.com/google/go-cmp v0.7.0
11-
github.com/kubevela/pkg v1.9.3-0.20250625225831-a2894a62a307
12-
github.com/kubevela/workflow v0.6.3-0.20250717221743-56b80cee4121
11+
github.com/kubevela/pkg v1.9.3-0.20251028181209-ef6824214171
12+
github.com/kubevela/workflow v0.6.3-0.20251125110424-924e73add777
1313
github.com/oam-dev/cluster-gateway v1.9.2-0.20250629203450-2b04dd452b7a
14-
github.com/oam-dev/terraform-controller v0.8.0
14+
github.com/oam-dev/terraform-controller v0.8.1-0.20250707044258-c0557127de25
1515
github.com/onsi/ginkgo/v2 v2.23.3
1616
github.com/onsi/gomega v1.36.2
1717
github.com/pkg/errors v0.9.1
@@ -82,9 +82,8 @@ require (
8282
github.com/prometheus/client_model v0.6.1 // indirect
8383
github.com/prometheus/common v0.55.0 // indirect
8484
github.com/prometheus/procfs v0.15.1 // indirect
85-
github.com/rogpeppe/go-internal v1.14.1 // indirect
86-
github.com/spf13/cobra v1.8.1 // indirect
87-
github.com/spf13/pflag v1.0.5 // indirect
85+
github.com/spf13/cobra v1.9.1 // indirect
86+
github.com/spf13/pflag v1.0.7 // indirect
8887
github.com/stoewer/go-strcase v1.2.0 // indirect
8988
github.com/x448/float16 v0.8.4 // indirect
9089
go.etcd.io/etcd/api/v3 v3.5.16 // indirect
@@ -102,17 +101,18 @@ require (
102101
go.uber.org/automaxprocs v1.5.3 // indirect
103102
go.uber.org/multierr v1.11.0 // indirect
104103
go.uber.org/zap v1.26.0 // indirect
105-
golang.org/x/crypto v0.37.0 // indirect
104+
golang.org/x/crypto v0.40.0 // indirect
106105
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
107-
golang.org/x/mod v0.24.0 // indirect
108-
golang.org/x/net v0.39.0 // indirect
109-
golang.org/x/oauth2 v0.29.0 // indirect
110-
golang.org/x/sync v0.13.0 // indirect
111-
golang.org/x/sys v0.32.0 // indirect
112-
golang.org/x/term v0.31.0 // indirect
113-
golang.org/x/text v0.24.0 // indirect
106+
golang.org/x/mod v0.26.0 // indirect
107+
golang.org/x/net v0.42.0 // indirect
108+
golang.org/x/oauth2 v0.30.0 // indirect
109+
golang.org/x/sync v0.16.0 // indirect
110+
golang.org/x/sys v0.34.0 // indirect
111+
golang.org/x/term v0.33.0 // indirect
112+
golang.org/x/text v0.27.0 // indirect
114113
golang.org/x/time v0.10.0 // indirect
115-
golang.org/x/tools v0.31.0 // indirect
114+
golang.org/x/tools v0.35.0 // indirect
115+
golang.org/x/tools/go/expect v0.1.1-deprecated // indirect
116116
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
117117
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
118118
google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 // indirect

0 commit comments

Comments
 (0)