Ayush Kumar
1396884a44
Feat: Implement array builder and enhance CUE generation for X-Definitions ( #7039 )
...
* feat: implement array builder and enhance CUE generation with conditional outputs
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* feat: enhance CUE generation for struct fields and add support for array element types
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* feat: refactor CUE generation logic for struct fields and streamline resource output handling
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
2026-02-12 14:27:56 +00:00
Anoop Gopalakrishnan
29a26d5650
Feat: Defkit implementation ( #7037 )
...
* Docs(KEP): Go SDK for X-Definition Authoring (defkit)
Introduces KEP proposal for defkit, a Go SDK that enables platform
engineers to author X-Definitions using native Go code instead of CUE.
Key proposed features:
- Fluent builder API for Component, Trait, Policy, and WorkflowStep definitions
- Transparent Go-to-CUE compilation
- IDE support with autocomplete and type checking
- Schema-agnostic resource construction
- Collection operations (map, filter, dedupe)
- Composable health and status expressions
- Addon integration with godef/ folder support
- Module dependencies for definition sharing via go get
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(KEP): Examples and minor api changes given in the document
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(KEP): align defkit examples
- Fix golang version in CI
- Fix variable declaration in example for testing
- Add Is() comparison method to status check
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): add security considerations section
- Add goal #7 for secure code execution model
- Add Security Considerations section covering:
- Code execution model (compile-time only, not runtime)
- Security benefits over CUE (static analysis, dependency scanning)
- Threat model with mitigations
Addresses PR feedback about code execution safety.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): add module versioning and definition placement sections
- Add Module Versioning section explaining git-based version derivation
- Add Definition Placement section covering:
- Motivation for placement constraints in multi-cluster environments
- Fluent API for placement (RunOn, NotRunOn, label conditions)
- Logical combinators (And, Or, Not)
- Module-level placement defaults
- Placement evaluation logic
- CLI experience for managing cluster labels
- Add Module Hooks section for lifecycle callbacks
- Minor fixes and clarifications throughout
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): add module hooks and update addon integration sections
- Add Module Hooks section covering:
- Use cases (CRD installation, setup scripts, post-install samples)
- Hook configuration in module.yaml (pre-apply, post-apply)
- Hook types (path for manifests, script for shell scripts)
- waitFor field with condition names and CUE expressions
- CLI usage (--skip-hooks, --dry-run)
- Update Addon Integration section with implementation details:
- godef/ folder structure with module.yaml
- CLI flags (--godef, --components, --traits, --policies, --workflowsteps)
- Conflict detection and --override-definitions flag
- Development workflow
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): address PR review comments and clarify placement labels
- Fix misleading "Sandboxed Compilation" claim (cubic-ai feedback) -
renamed to "Isolated Compilation" and clarified that security relies
on trust model, not technical sandboxing
- Fix inconsistent apiVersion in module hooks example (defkit.oam.dev/v1
→ core.oam.dev/v1beta1)
- Clarify that placement uses vela-cluster-identity ConfigMap directly,
not the vela cluster labels command (which is planned for future)
- Add --stats flag to apply-module CLI documentation
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): fix API documentation
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add core fluent API types for Go-based definitions
Introduce the defkit package providing a fluent Go API for defining
KubeVela X-Definitions (components, traits, policies, workflow steps).
Core types added:
- types.go: Value, Condition, Param interfaces
- base.go: Base definition types and interfaces
- param.go: Parameter builders (String, Int, Bool, Array, Map, Struct, Enum)
- expr.go: Expression builders for conditions and comparisons
- resource.go: Resource operations (Set, SetIf, Spread)
- context.go: KubeVela context references (appName, namespace, etc.)
- test_context.go: Test utilities for definition validation
This enables writing type-safe Go definitions that compile to CUE.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add collection operations and helper builders
Add fluent API for array/collection transformations:
- CollectionOp with Filter, Map, Pick, Wrap, Dedupe operations
- From() and Each() entry points for collection pipelines
- FieldRef, FieldEquals, FieldMap for field-level operations
- MultiSource for complex multi-array comprehensions
- Add helper builders for template variables
- Add value transformation utilities
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add CUE code generator
Implement CUEGenerator that transforms Go definitions into CUE code
Added helper methods and writers for conversion
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add status and health policy builders
Add fluent builders for customStatus and healthPolicy CUE generation
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add definition type builders
Add fluent builders for all four KubeVela X-Definition types:
- ComponentDefinition
- TraitDefinition
- PolicyDefinition
- WorkflowStepDefinition
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(goloader): add Go module loader for definitions
- Definition interface and registry for runtime discovery
- Discover and parse Go-based definition files
- Compile Go definitions to CUE at runtime
- Module environment for batch processing
- Parallel generation for better performance
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(cli): add vela def commands for Go-based definitions
- init-module: scaffold a new Go definition module
- apply-module: compile and apply definitions to cluster
- list-module: show definitions in a module
- validate-module: validate definitions without applying
- Also support the cue commands for xdefintions for go code
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add testing utilities and matchers
- CUE comparison matchers for Ginkgo/Gomega tests
- Test helpers for definition validation
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add patch container helpers for container mod operations
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(cli): update the go module to 1.23.8 for defkit init-module command
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Refactor: Add grouped help output for vela def command
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add definition placement for cluster-aware deployments
Enable definitions to specify which clusters they should run on based on
cluster identity labels stored in a well-known ConfigMap.
Also derives module version from git tags and improves init-module to
create directories from --name flag.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add RunOn/NotRunOn fluent API for placement constraints
Add placement methods to all definition builders allowing definitions
to specify cluster eligibility using the placement package's fluent API.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(defkit): add commented placement example to module.yaml template
Show users the placement syntax in generated module.yaml without
setting actual values.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add module-level placement support
Add placement constraints at the module level in module.yaml that
apply to all definitions unless overridden at definition level.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add CLI placement enforcement in apply-module
Add placement constraint checking to `vela def apply-module` command.
Definitions are skipped if cluster labels don't match module placement.
- Add --ignore-placement flag to bypass placement checks
- Display placement status during apply with clear skip reasons
- Track placement-skipped count in summary output
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(defkit): show all flags in subcommand help output
Fix custom help function to properly display flags for def subcommands
like init-module and apply-module instead of only showing parent flags.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(defkit): apply name prefix to definitions in apply-module
The --prefix flag was not being applied to definition names. The prefix
was set in module loader metadata but not used when creating Kubernetes
objects from parsed CUE.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Chore(defkit): align module command help with standard vela pattern
Remove argument placeholders from command Use field to align with
other vela commands (addon, cluster, workflow). Arguments are shown
in examples and individual --help output instead of the listing.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(goloader): use json.Unmarshal for go mod download output
The downloadGoModule function parses JSON output from 'go mod download -json'
but was incorrectly using yaml.Unmarshal with json struct tags. The yaml.v3
library ignores json tags, resulting in empty field values.
This would cause remote Go module loading (e.g., github.com/foo/bar@v1.0.0)
to fail with "go mod download did not return a directory" because result.Dir
would be empty.
Fix: Use json.Unmarshal instead since the data is JSON from the Go toolchain.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(goloader): use semver for MinVelaVersion comparison
String comparison of version numbers is incorrect for cases like
"v1.10.0" > "v1.9.0" which returns false due to lexicographic ordering.
Use the Masterminds/semver library (already a dependency) for proper
semantic version comparison in ValidateModule().
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(placement): validate operator in module placement conditions
Add validation to catch invalid placement operators at module load time
instead of silently failing at runtime evaluation.
- Add Operator.IsValid() method to check for valid operators
- Add ValidOperators() helper function
- Add validatePlacementConditions() in ValidateModule()
- Provides clear error message with valid operator list
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(cli): validate conflict strategy in apply-module
Invalid --conflict values like "invalid" were silently accepted and
would fall through the switch statement, behaving like "overwrite".
Add ConflictStrategy.IsValid() method and validation at flag parsing
to provide clear error message for invalid values.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(placement): support definition-level placement constraints
Previously only module-level placement was enforced. Now individual
definitions can specify their own placement constraints that override
module defaults.
Changes:
- Add Placement field to DefinitionInfo and DefinitionPlacement types
- Add GetPlacement/HasPlacement to Definition interface
- Update registry ToJSON to include placement in output
- Update goloader to capture definition placement from registry
- Update CLI apply-module to use GetEffectivePlacement() for combining
module-level and definition-level placement
- Add comprehensive tests for definition placement
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Chore(defkit): remove dead PatchTemplate code
PatchTemplate, PatchOp, SetPatchOp, and SetIfPatchOp were defined but
never used anywhere in the codebase. The PatchResource type already
provides the same functionality and is the one actually being used
through Template.Patch().
Removed:
- PatchTemplate struct and its methods (ToCue, SetIf, Set)
- PatchOp interface
- SetPatchOp struct and its ToCue method
- SetIfPatchOp struct and its ToCue method
- NewPatchTemplate constructor
This cleanup reduces maintenance burden without affecting any
functionality.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(cli): pass actual VelaVersion to validate-module command
The help text for `vela def validate-module` promised to check
minVelaVersion requirements but ValidateModule() was called with
an empty string, causing the check to be silently skipped.
Now passes velaversion.VelaVersion so modules specifying a minimum
KubeVela version will be properly validated against the current CLI
version.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): implement WithDetails() and FromTyped() APIs
WithDetails():
- Adds WithDetails(message, details...) method to StatusBuilder
- Allows adding structured key-value details alongside status messages
- Uses existing StatusDetail and statusWithDetailsExpr infrastructure
- Example: s.WithDetails(s.Format("Ready: %v", ...), s.Detail("endpoint", ...))
FromTyped():
- Converts typed Kubernetes objects (runtime.Object) to Resource
- Provides compile-time type safety for building resources
- Requires TypeMeta to be set on the object
- Includes MustFromTyped() variant that panics on error
- Example: defkit.FromTyped(&appsv1.Deployment{...})
Both APIs were documented in the KEP but not implemented.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Style(defkit): apply gofmt formatting
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(defkit): fix remote module download with @latest version
When downloading a Go module without an explicit version, always append
@latest to ensure go mod download fetches from the remote repository
instead of skipping the download.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(defkit): support running def commands from any directory
Previously, module commands like `vela def list-module` only worked
when run from within the kubevela repository. Now they work from any
directory by honoring replace directives in the source module's go.mod.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): generate doc.go files in init-module
Create doc.go files with package documentation in each definition
directory (components, traits, policies, workflowsteps). This ensures
go mod tidy works correctly by making each directory a valid Go package,
and provides helpful examples for users creating new definitions.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(defkit): deduplicate definitions from overlapping directory scans
The module loader scans both conventional directories (components/,
traits/, etc.) and the root directory. Since DiscoverDefinitions uses
recursive filepath.Walk, files in subdirectories were found twice.
Added file tracking to skip already-processed files.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(defkit): validate placement constraints and fix GOWORK interference
Add validation for conflicting placement constraints at registration time.
Definitions with logically impossible placement (e.g., same condition in
both RunOn and NotRunOn) now fail fast with a clear error message.
Also fix placement loading when parent directories contain go.work files
by setting GOWORK=off when running the registry generator.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add parameter schema constraints and runtime condition methods
Extend the parameter fluent API with comprehensive validation and
conditional logic support:
- Schema constraints for input validation (Min/Max, Pattern, MinLen/MaxLen, MinItems/MaxItems)
- Runtime conditions for template logic (In, Contains, Matches, StartsWith/EndsWith, Len*, IsEmpty/IsNotEmpty, HasKey, IsFalse)
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(defkit): add waitFor support with CUE expressions for module hooks
Add the ability to specify custom readiness conditions for module hooks
using the new `waitFor` field. This allows users to define precise
conditions for when resources should be considered ready.
The waitFor field supports two formats:
- Simple condition name (e.g., "Ready", "Established") - checks
status.conditions for the named condition with status "True"
- CUE expression (e.g., "status.replicas == status.readyReplicas") -
evaluated against the full resource for flexible readiness checks
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Feat(addon): add godef support for Go-based definitions in addons
Add support for a godef/ folder in addons that allows writing definitions
in Go instead of CUE. When an addon is enabled, Go definitions are
automatically compiled to CUE and deployed alongside traditional CUE
definitions.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: lint issues and make reviewable
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: lint and build failure
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: lint and ci errors
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: golangci-lint errors for defkit package
- Use standard library errors (errors.Is/As) instead of pkg/errors
- Fix ineffassign issues by scoping variables correctly
- Add nolint comments for intentional nilerr, makezero patterns
- Combine chained appends in addon init.go
- Add gosec nolint for CLI file operations and permissions
- Increase gocyclo threshold to 35, nolint complex CLI commands
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: kubectl installation with retry and fallback version in github actions
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(ci): hardcode kubectl version to avoid flaky CDN endpoint
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Chore: improve test coverage for codecov
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Chore: add more tests for codecov and CI to pass
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: ci failure on style
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: OperatorNotEquals to fail closed with empty values
Change NotEquals operator to return false when Values slice is empty,
matching the fail-closed behavior of Equals operator. This prevents
silent widening of placement eligibility when a malformed constraint
is created.
Following Kubernetes label selector semantics where In/NotIn operators
require non-empty values, we apply a fail-closed approach for safety
in placement decisions.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: OpenArrayParam field shadowing and remove redundant GetName()
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: path traversal vulnerability in Go definition scaffolding
Validate Go definition names before using them in file paths to prevent
creation of files outside the addon directory. Unsanitized names could
contain path traversal segments (e.g., "../../../etc/passwd") allowing
arbitrary file writes.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: unescaped string interpolation in health_expr CUE generation
Use %q format verb in formatValue() to properly escape quotes and
special characters when generating CUE strings. Update fieldContainsExpr
to use formatValue() instead of raw string interpolation.
This prevents invalid CUE when substring values contain quotes or
backslashes.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: Guard against typed nil in Gomega matchers to prevent panic
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: Guard against malformed bracket path in parseBracketAccess
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: incomplete AppRevision test to actually verify resolution
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix: apply fail-closed behavior to NotIn with empty values
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Doc: Added note about RawCUE and some alignment style
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
---------
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2026-02-10 15:00:44 +00:00
Vishal Kumar
ff5f3a8fbb
Feat: eager status for post dispatch ( #7030 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 2m56s
* Fix: 7032 Adds component type to structured log output (#7033 )
Signed-off-by: Brian Kane <briankane1@gmail.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: add pending status for traits during post dispatch processing
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: enhance health status evaluation for workloads and traits
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: update application health status evaluation and add workload health indicator
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: remove required healthy field from application revisions and applications, update status structure
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Support multiple traits of same type and improve PostDispatch handling
* fix: support multiple traits of the same type and improve PostDispatch handling
- Refactored trait status tracking in to use a composite key (Type + Index), enabling support for multiple traits of the same type on a single component.
- Updated health evaluation logic in and to ignore traits marked as when determining overall health.
- Enhanced to refresh component status after dispatching traits, ensuring the application status reflects the latest state.
- Adjusted logic to correctly mark PostDispatch traits as when the workload is not yet healthy.
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Support multiple traits of same type and improve PostDispatch handling
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* refactor: minor reviewable changes
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* test: verifying kubebbuilder annotation
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: optimize trait status handling by removing unnecessary order tracking
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: remove unnecessary trait dispatch stage checks to streamline status processing
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* refactor: removes redundant changes
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: ensure health status is collected for PostDispatch traits during workflow execution
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: ensure health status is collected for PostDispatch traits during workflow execution
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
# Conflicts:
# pkg/controller/core.oam.dev/v1beta1/application/apply.go
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: add health status checks for PostDispatch traits in application tests
Co-authored-by: vaibhav0096 <vaibhav.agrawal0096@gmail.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: make workloadHealthy field optional in application revisions and applications
Signed-off-by: vishal210893 <vishal210893@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
Signed-off-by: vaagrawal_gwre <vaagrawal@Guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2026-02-04 09:41:38 +00:00
Brian Kane
995a09d3c7
Fix: 7032 Adds component type to structured log output ( #7033 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 11m56s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-27 09:30:58 +00:00
Brian Kane
7c06ee2060
Fix: Prevent app validation errors when traits are used alongside workflow data passing ( #7031 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 51m50s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-23 18:03:09 +00:00
Brian Kane
37fb2a6f49
Feat: 7024 Enable custom errors in components similar to traits ( #7028 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 12m42s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-21 10:37:07 +00:00
Brian Kane
555e4416f4
Fix: 7018 Ensure Component removals are correctly persisted and reflected in status ( #7027 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-21 09:26:17 +00:00
Amit Singh
5ead6db8d7
Chore: bumps up pkg and workflow dependency versions ( #7026 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 1m29s
* chore: bumps up workflow and pkg versions and updates import statements
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* chore: minor linter fixes
Signed-off-by: Amit Singh <singhamitch@outlook.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
2026-01-20 15:32:03 +00:00
Brian Kane
2a75dbdc35
Add a minimal, interface based provider registry to break complex import cycle ( #7021 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 1m45s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-19 11:22:28 +00:00
Brian Kane
568b1c578b
Feat: 7019 Support re-running workflows and ensure passed data is updated during dispatch ( #7025 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-19 11:18:10 +00:00
GoGstickGo
8c85dcdbbc
Fix: Support cuex package imports in vela show/def show commands ( #7017 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 2m0s
- Added GetCUExParameterValue()
function that uses cuex.DefaultCompiler instead
of standard CUE compiler
- Added GetParametersWithCuex() function with cuex support
- Updated GetBaseResourceKinds() to use cuex compiler
- Updated all callers to use cuex-aware functions
Fixes #7012
Signed-off-by: GoGstickGo <janilution@gmail.com >
2026-01-16 09:56:10 +00:00
Amit Singh
0b85d55e68
Feat: post dispatch output context ( #7008 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 1m46s
* exploring context data passing
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* adds output status fetch logic
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: standardize import in dispatcher.
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* feat: Allow traits to access workload output status in CUE context
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* feat: Implement PostDispatch traits that apply after component health is confirmed.
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* feat: Refactor trait handling and status propagation in application dispatch.
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: run make reviewable
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* feat: Implement and document PostDispatch traits, applying them after component health is confirmed and guarded by a feature flag, along with new example applications.
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* feat: Add comments
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Fix: Restore the status field in ctx.
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Fix: Error for evaluating the status of the trait
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* refactor: removes minor unnecessary changes
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* refactor: minor linter changes
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* test: Add comprehensive tests for PostDispatch traits and their status handling
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Fix: Increase multi-cluster test time
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Chore: Add focus and print the application status
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Chore: print deployment status in the multicluster test
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Chore: add labels for the deployment
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* debugging test failure by updating multi cluster ctx
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* undoes multi cluster ctx change
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Feat: enable MultiStageComponentApply feature by default
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Feat: implement post-dispatch traits application in workflow states
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Chore: remove unnecessary blank lines in application_controller.go
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Feat: enhance output readiness handling in health checks
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Feat: add logic to determine need for post-dispatch outputs in workload processing
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Feat: enhance output extraction and dependency checking for post-dispatch traits
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix code to exclude validation of post dispatch trait in webhook
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix code to exclude validation of post dispatch trait in webhook
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* commit for running the test again
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* commit for running the test again
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* commit for running the test again
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* triggering checks
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* chore: adds explanation comments
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* chore: adds errors to context
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* chore: minor improvements
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* fix: update output handling for pending PostDispatch traits
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: improve output handling for PostDispatch traits in deploy process
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: streamline output handling in PostDispatch process
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* chore: commit to re run the pipeline
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* chore: commit to re run the pipeline
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* chore: commit to re run the pipeline
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: enhance output status handling in PostDispatch context for multi-stage support
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* chore: commit to re run the pipeline
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: increase timeout for PostDispatch trait verification in tests
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: enhance output status handling in PostDispatch context for multi-stage support
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* chore: commit to re run the pipeline
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Chitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
2026-01-14 10:28:13 +00:00
Brian Kane
432ffd3ddd
Feat: Improve Cue Error Reporting ( #6984 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 11m49s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2026-01-07 14:37:06 +00:00
Ricardo Noriega
3cc668289e
Fix typos in documentation ( #7015 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 2m58s
Signed-off-by: Ricardo Noriega De Soto <rnoriega@redhat.com >
2026-01-06 11:29:14 +00:00
Anoop Gopalakrishnan
e2935da549
Docs(KEP): Go SDK for X-Definition Authoring (defkit) ( #7009 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 16m11s
* Docs(KEP): Go SDK for X-Definition Authoring (defkit)
Introduces KEP proposal for defkit, a Go SDK that enables platform
engineers to author X-Definitions using native Go code instead of CUE.
Key proposed features:
- Fluent builder API for Component, Trait, Policy, and WorkflowStep definitions
- Transparent Go-to-CUE compilation
- IDE support with autocomplete and type checking
- Schema-agnostic resource construction
- Collection operations (map, filter, dedupe)
- Composable health and status expressions
- Addon integration with godef/ folder support
- Module dependencies for definition sharing via go get
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(KEP): Examples and minor api changes given in the document
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(KEP): align defkit examples
- Fix golang version in CI
- Fix variable declaration in example for testing
- Add Is() comparison method to status check
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): add security considerations section
- Add goal #7 for secure code execution model
- Add Security Considerations section covering:
- Code execution model (compile-time only, not runtime)
- Security benefits over CUE (static analysis, dependency scanning)
- Threat model with mitigations
Addresses PR feedback about code execution safety.
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): add module versioning and definition placement sections
- Add Module Versioning section explaining git-based version derivation
- Add Definition Placement section covering:
- Motivation for placement constraints in multi-cluster environments
- Fluent API for placement (RunOn, NotRunOn, label conditions)
- Logical combinators (And, Or, Not)
- Module-level placement defaults
- Placement evaluation logic
- CLI experience for managing cluster labels
- Add Module Hooks section for lifecycle callbacks
- Minor fixes and clarifications throughout
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): add module hooks and update addon integration sections
- Add Module Hooks section covering:
- Use cases (CRD installation, setup scripts, post-install samples)
- Hook configuration in module.yaml (pre-apply, post-apply)
- Hook types (path for manifests, script for shell scripts)
- waitFor field with condition names and CUE expressions
- CLI usage (--skip-hooks, --dry-run)
- Update Addon Integration section with implementation details:
- godef/ folder structure with module.yaml
- CLI flags (--godef, --components, --traits, --policies, --workflowsteps)
- Conflict detection and --override-definitions flag
- Development workflow
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): address PR review comments and clarify placement labels
- Fix misleading "Sandboxed Compilation" claim (cubic-ai feedback) -
renamed to "Isolated Compilation" and clarified that security relies
on trust model, not technical sandboxing
- Fix inconsistent apiVersion in module hooks example (defkit.oam.dev/v1
→ core.oam.dev/v1beta1)
- Clarify that placement uses vela-cluster-identity ConfigMap directly,
not the vela cluster labels command (which is planned for future)
- Add --stats flag to apply-module CLI documentation
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): fix API documentation
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Docs(KEP): add forward-reference for RawCUE() escape hatch
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
---------
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-12-30 16:11:46 -08:00
Bryan Leong
358e46e628
Style: clean up dry-run ( #7007 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 13m45s
- Remove trailing whitespace on dryrun outputs
- Fixed the relevant plugin-test outputs
- Refactor to avoid partial lines that codecov flags out
Signed-off-by: Bryan Leong <leong.bryan@gmail.com >
2025-12-16 11:18:14 +00:00
Brian Kane
bf2340bb35
Feat(KEP): Declarative Addon Support ( #6996 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 17m36s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-11-28 16:43:06 +00:00
rahulkhinchi-wq
a459bba20e
fix: dangerous-exec-command-87 ( #6999 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 17m1s
Co-authored-by: root <root@ai-guardian-remediation-54f45fdc58-g5zpm>
2025-11-26 06:52:34 -08:00
Ayush Kumar
552764d48f
Fix: Enhance shared resource handling to avoid last-applied-configuration pollution ( #6998 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 19m3s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-11-26 11:08:22 +00:00
Brian Kane
9b558e38cd
Feat(KEP): #6973 - Native Helm Rendering ( #6974 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 16m47s
* KEP #6973 - Native Helm Rendering
Signed-off-by: Brian Kane <briankane1@gmail.com >
* KEP: #6973 - Native Helm Rendering - Minor format and spelling corrections
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-11-25 11:36:27 +00:00
Brian Kane
9889a0cb31
Feat(KEP): Nested Definition Rendering (Compositions) ( #6993 )
...
* Feat(KEP): Nested Definition Rendering (Compositions)
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Feat(KEP) #6990 - Nested Definition Rendering (Compositions) - Minor Updates
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-11-25 11:35:08 +00:00
Chaitanyareddy0702
90ed704cff
Refactor: update workflow-related types to use v1alpha1 API ( #6975 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 17m1s
* refactor: update workflow-related types to use v1alpha1 API
- Changed the workflow mode in ApplicationBuilder from v1beta1 to v1alpha1.
- Updated WorkflowStep and WorkflowSubStep constructors to use the new v1alpha1 types.
- Modified the TypedApplication interface to reflect the new workflow mode.
- Adjusted WorkflowStepBase and WorkflowSubStepBase to utilize v1alpha1 inputs and outputs.
- Commented out unused WorkflowSubStep registration for future consideration.
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update Inputs and Outputs types to use v1alpha1 API in GoDefModifier
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: remove commented-out code for AddInput and AddOutput in genBaseSetterFunc
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update ApplicationBuilder to use apis package for components, steps, and policies
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: remove unused WorkflowSubStep related code and update WorkflowStep reference to use v1alpha1 API
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* feat: add support for WorkflowSubStep registration and handling in GoDefModifier
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update import path for WorkflowStepBase in GoDefModifier
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update import path for WorkflowStep in DefinitionKindToStatement
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: update WorkflowSubStep references to use WorkflowStepBase from v1alpha1 API
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: simplify subSteps generation in GoDefModifier by directly appending WorkflowStepBase
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: nest properties under WorkflowStepBase in GoDefModifier for WorkflowStep definitions
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: remove toolchain version from go.mod
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Run: make reviewable
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: enhance application auto-update test to wait for application revisions
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2025-11-18 08:47:44 +00:00
Ayush Kumar
0a599ad177
Refactor: Pre-Validation Hooks to be More Extensible and Testable ( #6978 )
...
* refactor: pre-start hook implementation
- Introduced a new `hook.go` file defining the `PreStartHook` interface for pre-start validation hooks.
- Removed the old `pre_start_hook.go` file which contained the `SystemCRDValidationHook` implementation.
- Updated the server initialization code to use the new hook structure, specifically integrating the `crdvalidation` package for pre-start validation.
- Enhanced logging for pre-start hook execution to improve clarity on hook names and execution results.
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: move color writer implementation to logging package and update usage in server setup
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: rename Hook to CRDValidation for clarity and consistency
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: reorder import statements for consistency
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: replace hardcoded namespace with variable in cleanup function
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: rename CRDValidation type to Hook for consistency
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: enhance CRD validation hook with custom client support and improved error handling
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: extend timeout for CRD validation hook and improve error handling for slow API servers
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: remove redundant comments from PreStartHook definition
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
2025-11-17 18:14:40 -08:00
Chaitanyareddy0702
d064d3dbd2
Feat: Add configurable timeout for admission webhooks ( #6977 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 23s
* Feat: Add configurable timeout for admission webhooks
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: Update admission webhook timeout configuration to use admissionWebhookTimeout variable
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: Add admission webhook timeout parameter to README
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* removed period in readme to run pipelines
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2025-11-13 11:43:35 +08:00
Ayush Kumar
89ff116f8e
Fix: E2E Application Test (live-diff application version) ( #6976 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 27s
* refactor: Simplify application auto-update test by removing unnecessary reconciliation waits
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* feat: Add e2e application tests with k3d and webhook validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: Remove unnecessary blank line in application auto-update test
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: Add k3d cleanup step after running application tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
2025-11-11 14:24:30 +00:00
Ayush Kumar
0485704cd7
Fix: Prevent namespace admins from accessing vela-system definitions without explicit permissions ( #6972 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 34s
* fix: add admission rules for applications and improve permission checks
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* test: enhance application auto-update tests with reconciliation checks
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: enhance application auto-update test to verify application revision creation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
2025-11-10 08:14:41 +00:00
Amit Singh
2a31930c4b
Chore: imports workflow crd from pkg repo ( #6954 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 38s
* chore: adds logic to pull workflow crd from pkg repo
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: introduce GetIteratorLabel utility function and refactor label retrieval in CUE processing
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
* feat: refactor FromCUE method to use GetIteratorLabel utility for improved label retrieval
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: remove unused imports and optimize list concatenation in template files
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
* refactor: standardize import formatting across multiple YAML and Go files
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
* refactor: import statements in multiple YAML templates for consistency
- Removed unnecessary parentheses around import statements in various CUE templates.
- Ensured a consistent import style across all templates in the vela-core chart.
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
* feat: add disk space cleanup steps before and after cross-build in Go workflow
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
* refactor: update check-diff target to depend on build for improved consistency
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
* refactor: update reviewable target to include build for improved consistency in check-diff
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
2025-11-06 18:56:04 -08:00
Brian Kane
8e3749f970
Fix: Fix issue with imports/packages in status validations ( #6963 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-11-06 15:23:08 -08:00
Anirudh Edpuganti
089f657b0c
fix: update YAML import path to use go.yaml.in/yaml/v3 and adjust dependencies in go.mod and go.sum ( #6944 )
...
Signed-off-by: ANIRUDH-333 <aniedpuganti@gmail.com >
2025-11-06 10:37:19 +00:00
Ayush Kumar
ea409c7437
Refactor: controller setup and improve server tests ( #6958 )
...
* Feat: Add integration test setup and cleanup scripts, enhance server testing capabilities
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Refactor: Rename variables for clarity and consistency in core command handling
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: Remove redundant server test targets and enhance logging in core command execution
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Refactor server tests and enhance E2E testing setup
- Updated server_test.go to improve test organization and clarity, including the addition of BeforeSuite and AfterSuite for environment setup and teardown.
- Enhanced the waitWebhookSecretVolume tests to cover various scenarios including empty directories and files.
- Added new tests for syncConfigurations and logging setup functions to ensure proper configuration handling.
- Introduced a new E2E test for the main function in main_e2e_test.go to validate the core functionality of the application.
- Improved the e2e.mk file to set up a k3d cluster for running main_e2e_test with embedded test binaries and added cleanup steps.
- Removed the setup-integration-tests.sh script as its functionality is now integrated into the Makefile.
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Refactor: improve multicluster test timeouts
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
2025-11-05 10:23:24 +00:00
Vishal Kumar
5b24e8b410
Chore: Graceful skip and robust processing for missing definition directories in install script ( #6964 )
...
* Feat(script): Update installation definition script for improved error handling and namespace management
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* added line to rerun the github action
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* minor change to rerun the github action
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix(script): Enhance installation script to restore original files on failure
Signed-off-by: vishal210893 <vishal210893@gmail.com >
---------
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: vishal210893 <vishal210893@gmail.com >
2025-11-05 09:12:56 +00:00
AshvinBambhaniya2003
305a90f428
Feat(addon): Store addon registry tokens in Secrets ( #6935 )
...
* feat(addon): Store addon registry tokens in Secrets
Previously, addon registry tokens were stored in plaintext within the 'vela-addon-registry' ConfigMap. This is not a secure practice for sensitive data.
This commit refactors the addon registry functionality to store tokens in Kubernetes Secrets. The ConfigMap now only contains a reference to the secret name, while the token itself is stored securely.
This change includes:
- Creating/updating secrets when a registry is added/updated.
- Loading tokens from secrets when a registry is listed/retrieved.
- Deleting secrets when a registry is deleted.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test(addon): Add tests for registry token secret storage
This commit introduces a comprehensive test suite for the addon registry feature.
It includes:
- Isolated unit tests for each CRUD operation (Add, Update, List, Get, Delete) to ensure each function works correctly in isolation.
- A stateful integration test to validate the complete lifecycle of an addon registry from creation to deletion.
The tests verify that tokens are handled correctly via Kubernetes Secrets, confirming the implementation of the secure token storage feature.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(addon): improve addon registry robustness and fix bugs
This commit introduces several improvements to the addon registry to make it more robust and fixes several bugs.
- When updating a secret, the existing secret is now fetched and updated to avoid potential conflicts.
- Deleting a non-existent registry now returns no error, making the operation idempotent.
- Getting a non-existent registry now returns a structured not-found error.
- Loading a token from a non-existent secret is now handled gracefully.
- When setting a token directly on a git-based addon source, the token secret reference is now cleared.
- The token secret reference is now correctly copied in `SafeCopy`.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* Refactor(addon): Fix secret deletion and improve registry logic
This commit refactors the addon registry data store to fix a critical bug where deleting an addon registry would not delete its associated token secret.
The root cause was that the `GetRegistry` function, which was used by `DeleteRegistry`, would load the token from the secret and then clear the `TokenSecretRef` field on the in-memory object. This meant that when `DeleteRegistry` tried to find the secret to delete, the reference was already gone.
This has been fixed by:
1. Introducing a central `getRegistries` helper function to read the raw registry data from the ConfigMap.
2. Refactoring all data store methods (`List`, `Get`, `Add`, `Update`, `Delete`) to use this central helper, removing duplicate code.
3. Ensuring `DeleteRegistry` uses the raw, unmodified registry data so that the `TokenSecretRef` is always available for deletion.
Additionally, comprehensive unit tests for the new helper functions (`getRegistries`, `loadTokenFromSecret`, `createOrUpdateTokenSecret`) have been added to verify the fix and improve overall code quality and stability.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(addon): improve addon registry token security and logging
This commit enhances the security and observability of addon registry token handling.
- Adds a warning message to users when an insecure inline token is detected in an addon registry configuration, prompting them to migrate to a more secure secret-based storage.
- Implements info-level logging to create an audit trail for token migrations, providing administrators with visibility into security-related events.
- Refactors the token migration logic into a new `migrateInlineTokenToSecret` function, improving code clarity and maintainability.
- Introduces unit tests for the `TokenSource` interface methods and the `GetTokenSource` function to ensure correctness and prevent regressions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* Chore: remove comments to triger ci
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-31 13:52:30 +00:00
AshvinBambhaniya2003
d1f077ee0d
Fix(addon): show correct owner in definition conflict error ( #6903 )
...
* fix(addon): show correct owner in definition conflict error
When enabling an addon, if a definition conflicted with one from another existing addon, the error message would misleadingly cite the addon being installed as the owner, rather than the actual owner of the definition. This made it difficult for users to diagnose the conflict.
This commit corrects the error message generation in `checkConflictDefs` to use the name of the actual owner application. A comprehensive unit test for this function has also been added to verify the corrected behavior and prevent regressions.
Fixes #6898
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(addon): show correct owner name in conflict message
When a definition conflict occurs, the error message attempts to show the addon that owns the existing definition.
However, if the owner is not a KubeVela addon application (i.e., its name doesn't have the 'addon-' prefix), the `AppName2Addon` function returns an empty string. This resulted in a confusing conflict message with a blank owner name, like "already exist in \n".
This patch fixes the issue by checking if the result of `AppName2Addon` is empty. If it is, it falls back to using the full application name of the owner,
ensuring the conflict message is always clear and actionable.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* chore(addon): update comment for addon name
- Add this comment to trigger ci
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(addon): improve conflict message for addon definitions
adjust comment placement and logic to ensure correct addon name display in conflict messages
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-31 13:52:00 +00:00
AshvinBambhaniya2003
260fc1a294
Feat: Enhance unit test coverage for references/appfile package ( #6913 )
...
* feat(appfile): Enhance unit test coverage and migrate to standard Go testing
This commit significantly enhances the unit test coverage for the `references/appfile` package by introducing a comprehensive suite of new test cases and migrating existing tests to the standard Go `testing` framework with `testify/assert`.
Key additions and improvements include:
- **New Test Cases for `references/appfile/api/appfile.go`**: Added tests for `NewAppFile`, `JSONToYaml`, and `LoadFromBytes` to ensure correct application file initialization, parsing, and loading.
- **New Test Cases for `references/appfile/api/service.go`**: Introduced tests for `GetUserConfigName`, `GetApplicationConfig`, and `ToStringSlice` to validate service configuration extraction and type conversions.
- **Expanded Test Coverage for `references/appfile/app.go`**: Added new tests for `NewApplication`, `Validate`, `GetComponents`, `GetServiceConfig`, `GetApplicationSettings`, `GetWorkload`, and `GetTraits`, ensuring the robustness of application-level operations.
- **Dedicated Test Files for `modify.go` and `run.go`**: Created `modify_test.go` and `run_test.go` to provide specific unit tests for `SetWorkload`, `CreateOrUpdateApplication`, `CreateOrUpdateObjects`, and `Run` functions.
- **Test Framework Migration**: Refactored `addon_suit_test.go` to `main_test.go` and `addon_test.go` to use standard Go `testing` and `testify/assert`, improving consistency and maintainability.
These changes collectively improve the robustness, reliability, and maintainability of the `appfile` package by providing a more comprehensive and standardized testing approach.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* chore(references/appfile): improve test suite robustness and style
This commit introduces two improvements to the test suite in the `references/appfile` package.
First, the `TestMain` function in `main_test.go` is refactored to ensure the `envtest` control-plane is always stopped, even if test setup fails. This is achieved by creating a single exit path that handles cleanup, preventing resource leaks.
Second, a minor linting issue (S1005) in `modify_test.go` is fixed by removing an unnecessary assignment to the blank identifier.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* Chore: remove comment to trigger ci
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-31 13:51:09 +00:00
AshvinBambhaniya2003
24f6718619
Feat(testing): Enhance Unit Test Coverage for Core Utility Packages ( #6929 )
...
* test(cli): enhance unit test coverage for theme and color config
This commit introduces a comprehensive suite of unit tests for the theme and color configuration functions in `references/cli/top/config`.
Key changes include:
- Refactored existing tests in `color_test.go` to use table-driven sub-tests for improved clarity and maintainability.
- Added new test functions to validate color parsing, hex color detection, and default theme creation.
- Implemented tests for theme file lifecycle management, including creation and loading logic.
These additions significantly increase the test coverage and ensure the robustness and correctness of the CLI's theme and color functionality.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test(cli): refactor and enhance tests for top view models and utils
This commit improves the unit test suite for the CLI's top view functionality by refactoring existing tests and adding new ones to increase coverage.
Key changes include:
- In `application_test.go`, `TestApplicationList_ToTableBody` is refactored to be a table-driven test, and new tests are added for `serviceNum`, `workflowMode`, and `workflowStepNum` helpers.
- In `time_test.go`, `TestTimeFormat` is refactored into a table-driven test for better structure and readability.
These changes align the tests with best practices and improve the overall robustness of the CLI top view's data presentation logic.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test(cuegen): enhance unit test coverage for CUE generation packages
This commit introduces a comprehensive suite of unit tests and refactors existing tests for the CUE generation packages located in `references/cuegen`.
Key changes include:
- Refactored existing tests in `generator_test.go` and `provider_test.go` to use table-driven sub-tests, improving clarity, maintainability, and coverage of error conditions.
- Added new test functions to `convert_test.go` to validate helper functions for comment generation, type support, and enum field handling.
- Added new tests in `provider_test.go` to cover provider extraction, declaration modification, and panic recovery logic.
These changes significantly increase the test coverage for the `cuegen` libraries, ensuring the correctness and robustness of the CUE code generation functionality.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test(docgen): add comprehensive unit tests for doc generation
This commit introduces a comprehensive suite of unit tests for the documentation generation package located in `references/docgen`.
Key changes include:
- Added new test files (`console_test.go`, `convert_test.go`, `openapi_test.go`) to cover the core functions for parsing and generating documentation for CUE, Terraform, and OpenAPI schemas.
- Refactored and enhanced `i18n_test.go` to use sub-tests, resolve race conditions, and improve coverage for fallback logic and error handling.
- Ensured all new and existing tests follow best practices, using table-driven tests for clarity and maintainability.
This effort significantly increases the test coverage for the `docgen` package, improving the reliability and robustness of the documentation generation features.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test: improve test reliability and conventions
This commit introduces several improvements to the test suite to enhance reliability and adhere to best practices.
- **Fix flaky test in `docgen/openapi_test.go`**:
The test for `GenerateConsoleDocument` was flaky because it performed an exact string match on table output generated from a map. Since map iteration order is not guaranteed, this could cause spurious failures. The test is now order-insensitive, comparing sorted sets of lines instead.
- **Improve assertions in `docgen/console_test.go`**:
- Removes an unnecessary `test.EquateErrors()` option, which is not needed for simple string comparisons.
- Corrects the `cmp.Diff` argument order to the standard `(want, got)` convention for clearer failure messages.
- Fixes a typo in an error message.
- **Standardize assertions in `cli/top/config/color_test.go`**:
Swaps `assert.Equal` arguments to the standard `(expected, actual)` convention.
- **Clean up `cuegen/generators/provider/provider_test.go`**:
Removes a redundant error check.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-31 13:50:30 +00:00
AshvinBambhaniya2003
44ac92d1ba
Feat(test): Enhance unit test coverage for webhook, workflow, VELAQL, and monitor packages ( #6895 )
...
* feat(monitor): Add unit tests for application metrics watcher
This commit introduces a new test file with comprehensive unit tests for the application metrics watcher functionality in pkg/monitor/watcher.
Key additions include:
- Test cases for the application metrics watcher's inc() method covering add, delete, and update operations
- Test cases for report() method that verifies dirty flags are cleared
- Test cases for helper functions getPhase() and getApp()
These additions improve the overall test coverage and ensure the correctness of the application metrics monitoring functionality.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(velaql): Add comprehensive unit tests for ParseVelaQLFromPath
This commit introduces new unit tests for the ParseVelaQLFromPath function in pkg/velaql, along with test data files to improve test coverage and ensure correctness.
Key additions include:
- `pkg/velaql/parse_test.go`: Adds TestParseVelaQLFromPath function with comprehensive test cases covering:
* Valid CUE files with and without export fields
* Nonexistent and empty file paths
* Invalid CUE content
* Files with invalid export types
- Test data files in pkg/velaql/testdata/:
* simple-valid.cue: Valid CUE file with export field
* simple-no-export.cue: Valid CUE file without export field
* empty.cue: Empty CUE file
* invalid-cue-content.cue: CUE file with invalid syntax
* invalid-export.cue: CUE file with invalid export type
These additions improve the overall test coverage and ensure the robustness of the VELAQL parsing functionality.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(webhook): Add unit tests for ValidateDefinitionRevision function
This commit introduces new unit tests for the ValidateDefinitionRevision function in pkg/webhook/utils to improve test coverage and ensure correctness of definition revision validation.
Key additions include:
- `pkg/webhook/utils/utils_test.go`: Adds TestValidateDefinitionRevision function with comprehensive test cases covering:
* Success scenarios with matching definition revisions
* Success scenarios when definition revision does not exist
* Failure scenarios with revision hash mismatches
* Failure scenarios with spec mismatches
* Failure scenarios with invalid definition revision names
These additions improve the overall test coverage and ensure the robustness of the webhook utility functions for validating definition revisions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(workflow): Add unit tests for OAM apply and query utilities
This commit introduces new unit tests for workflow provider functions in pkg/workflow/providers to improve test coverage and ensure correctness.
Key additions include:
- `pkg/workflow/providers/oam/apply_test.go`: Adds TestRenderComponent function with comprehensive test cases for component rendering
- `pkg/workflow/providers/query/utils_test.go`: Adds:
* TestBuildResourceArray function with comprehensive test cases covering simple, nested, and complex resource tree scenarios
* TestBuildResourceItem function with test cases for resources with and without annotations
These additions improve the overall test coverage and ensure the robustness of the workflow provider functions for OAM applications.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(velaql): Improve error handling in ParseVelaQLFromPath test
This commit addresses an issue in the TestParseVelaQLFromPath function where file read errors were being silently ignored. The changes include:
- Removing the unused expectedView field from test cases
- Replacing conditional error checking with require.NoError to ensure file read operations are properly validated
- Ensuring that test failures are properly reported when file reading fails
This fix improves the reliability of the test suite by making sure that any file I/O errors are properly caught and reported rather than silently ignored.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat: Apply cross-cutting test improvements
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat: Enhance test coverage with file-specific suggestions
This commit applies file-specific suggestions to enhance the test suite's
coverage and robustness.
Key changes include:
- **`pkg/monitor/watcher/application_test.go`**:
- Added a test case for a multi-step workflow with mixed phases to
validate `stepPhaseCounter` aggregation.
- Added a test for idempotence by calling `inc` twice.
- Added test cases for an empty workflow and an unknown application phase.
- Strengthened the `report` test to assert that counters are not cleared.
- **`pkg/velaql/parse_test.go`**:
- Added a test case for `ParseVelaQLFromPath` to handle files with
leading/trailing whitespace.
- Added a test case to ensure consistent error messages for relative paths.
- **`pkg/webhook/utils/utils_test.go`**:
- Added a test case to `TestValidateCueTemplate` for a malformed CUE
template.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-31 13:49:15 +00:00
Chaitanyareddy0702
d627ecea2a
Chore: Upgrade cuelang version to v0.14.1 ( #6877 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 24s
* chore: updates culenag version and syntax across all files
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* debuggin: reverts tf provider changes
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Refactor: Simplify provider configuration by removing 'providerBasic' and directly defining access keys and region for providers
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Refactor: Consolidate provider configuration by introducing 'providerBasic' for access keys and region
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: reorganize import statements in deepcopy files for consistency
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: reorder import statements for consistency across deepcopy files
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Refactor: Safely handle pattern parameter selectors to avoid panics in GetParameters and getStatusMap
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: add comment to clarify test context in definition_revision_test.go
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: remove redundant comment from test context initialization in definition_revision_test.go
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Refactor: Introduce GetSelectorLabel function to safely extract labels from CUE selectors
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: add newline at end of file in utils.go
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: increase timeout for multi-cluster e2e
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
2025-10-23 10:56:37 +01:00
Ayush Kumar
d8a17740dc
Refactor: controller flags registration and cobra options ( #6949 )
...
* feat: Introduce comprehensive configuration management for KubeVela
- Added multiple configuration files under `cmd/core/app/config` to encapsulate various aspects of KubeVela's functionality, including:
- Feature gates
- Logging (KLog)
- Kubernetes API client settings
- Multi-cluster management
- OAM-specific configurations
- Observability settings (metrics and logging)
- Performance optimizations
- Profiling settings
- Reconciliation settings
- Resource management
- Server-level configurations
- Sharding configurations
- Webhook settings
- Workflow engine configurations
- Refactored `CoreOptions` to utilize the new configuration modules, ensuring a clean delegation pattern for flag registration.
- Updated tests to validate the new configuration structure and ensure backward compatibility with legacy fields.
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: Sync config module values to legacy fields and add debug logging for webhook configuration
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: Remove debug logging for webhook configuration in server command
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: Add missing newlines at the end of multiple configuration files
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: Clean up legacy field synchronization and improve configuration handling in CoreOptions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: Introduce ControllerConfig for improved controller configuration management
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: Implement sync methods for configuration values across various modules
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: Update ControllerConfig to embed Args struct and simplify flag registration
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: Remove ConfigureKLog method and apply klog settings directly in server run function
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: Remove unnecessary line in ControllerConfig and update test assertions for CUE options
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: Enhance CUE configuration flags with detailed descriptions and add comprehensive tests for core options
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* feat: Add backward compatibility notes to sync methods and enhance CLI override tests for configuration values
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* refactor: Standardize flag formatting in TestCoreOptions_AllConfigModulesHaveFlags
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
2025-10-23 10:54:45 +01:00
jguionnet
05b0ec89a5
Refactor: Update documentation generation to retain .md extensions and fixed Components header ( #6957 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 25s
- Modified the documentation generation logic to keep .md file extensions, enhancing IDE support and compatibility with Docusaurus.
- Updated various documentation headers to include the correct .md references in auto-generated messages, ensuring consistency across multiple components (component, policy, trait, workflow).
Signed-off-by: jguionnet jguionnet@guidewire.com
Signed-off-by: jguionnet jguionnet@guidewire.com
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com >
2025-10-22 18:17:46 -07:00
Ayush Kumar
f196d66b5e
Fix: Prevent index out-of-bounds in definitions ( #6948 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 24s
* Fix: Update ingress messages to handle host retrieval more robustly across multiple templates
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Fix: Enhance output handling in k8s-objects template to check for empty objects
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Fix: Ensure policy selection from envBindingPolicies only occurs if the list is not empty
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
2025-10-17 14:34:43 +01:00
AshvinBambhaniya2003
21d9d24b07
Feat(addon): Enhance unit test coverage for pkg/addon ( #6901 )
...
* feat(addon): add comprehensive unit tests for addon readers
This commit enhances the test coverage and code quality for the addon reader implementations in the pkg/addon package.
- Refactors all existing addon reader tests (gitee, github, gitlab, local) to use consistent, modern testing patterns like sub-tests.
- Replaces the old memory_reader_test.go with a completely refactored implementation.
- Adds new unit tests for previously untested functions, including various getters, client constructors, and RelativePath helpers.
- Improves http-based tests (gitlab, github, gitee) to use robust mock handlers that correctly simulate API behavior, including pagination and error states.
These changes improve the overall quality and reliability of the addon system and uncovered two minor bugs during the process.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(addon): add more unit tests for addon helpers
This commit continues to improve the test coverage for the pkg/addon package by adding unit tests for several helper and factory functions.
- Adds a test for WrapErrRateLimit to ensure GitHub API rate limit errors are handled correctly.
- Adds a test for ClassifyItemByPattern to verify addon file classification logic.
- Adds a test for the NewAsyncReader factory function to ensure correct reader instantiation.
- Adds tests for various utility functions in utils.go, including IsRegistryFuncs, InstallOptions, ProduceDefConflictError, and GenerateChartMetadata.
These tests increase the reliability of the addon installation and handling logic.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(addon): add unit tests for versioned addon registry
This commit improves test coverage for the versioned addon registry logic in the pkg/addon package.
- Adds a unit test for resolveAddonListFromIndex to verify the logic for parsing Helm index files.
- Introduces a new table-driven test for the internal loadAddon function, covering success and multiple failure scenarios (e.g., version not found, download failure, corrupt data).
- Adds a new test helper, setupAddonTestServer, to create isolated mock HTTP servers for testing addon loading, improving test reliability and clarity.
These tests ensure the core logic for discovering and fetching versioned addons is robust and functions as expected.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* chore(addon): remove unused gitlab testdata path constant
- remove unused gitlab testdata path constant name `gitlabTestdataPath`
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* refactor(addon): improve unit tests based on review feedback
This commit addresses several code review comments to improve the quality, correctness, and robustness of the unit tests in the pkg/addon package.
- Refactors map key assertions in the memory reader test to use the correct "comma ok" idiom instead of assert.NotNil.
- Updates the GitHub reader test to use a compliant addon mock that includes the required template.cue file.
- Modifies the chart metadata test in utils_test.go to use t.TempDir() for better test isolation and automatic cleanup.
- Switches from assert.NotNil to require.NotNil in the versioned registry test to prevent panics on nil pointers.
These changes make the test suite more robust, reliable, and easier to maintain.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-17 10:47:43 +01:00
AshvinBambhaniya2003
3f5b698dac
Feat(appfile): Add comprehensive unit tests for appfile and component package ( #6908 )
...
* feat(appfile): Add comprehensive unit tests for appfile package
This commit significantly enhances the test coverage for the `pkg/appfile` package by adding a comprehensive suite of new unit tests. These tests improve the reliability of core application parsing, generation, and validation logic.
Key additions include:
- **Parsing:** New tests for policy parsing, legacy application revision handling, and dynamic component loading.
- **Manifest Generation:** Added coverage for `GenerateComponentManifests` and `GeneratePolicyManifests` to ensure correctness of generated resources.
- **OAM Contracts:** New tests for `SetOAMContract` and `setWorkloadRefToTrait` to verify OAM label and reference injection.
- **Template & Context:** Added tests for loading templates from revisions (`LoadTemplateFromRevision`) and preparing the process context (`PrepareProcessContext`).
- **Validation:** Enhanced validation tests for component parameters and uniqueness of output names.
As part of this effort, the existing tests were also migrated from Ginkgo to the standard `testing` package with `testify/assert` to maintain consistency across the codebase.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* refactor(pkg/component): Migrate ref-objects tests to standard Go testing and add new test cases
This commit refactors the unit tests for `pkg/component/ref-objects` from a Ginkgo-based suite to the standard Go `testing` package. Additionally, new unit test cases have been added to further enhance test coverage and ensure the robustness of the `ref-objects` functionality.
Key changes include:
- Deletion of `pkg/component/ref_objects_suite_test.go`.
- Introduction of `pkg/component/main_test.go` to manage test environment setup and teardown using `TestMain`.
- Creation of `pkg/component/ref_objects_test.go` containing all the ref-objects related unit tests, now using standard Go testing functions, along with newly added test cases for improved coverage.
This migration improves consistency with other unit tests in the codebase and leverages the native Go testing framework.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* chore(pkg/component): Reorder imports in ref_objects_test.go
This commit reorders the import statements in `pkg/component/ref_objects_test.go` to adhere to standard Go formatting and import grouping conventions. This change improves code readability and consistency.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-17 10:45:45 +01:00
AshvinBambhaniya2003
4b1d1601c8
fix(addon): correct path calculation in gitlab reader ( #6902 )
...
The GetPath method for GitLabItem produced an incorrect path when an addon's base path in the repository was empty. This was caused by an off-by-one error in the string slicing logic that always assumed a base path separator existed, incorrectly truncating the first character of the file path.
This commit corrects the logic by adding a check for an empty base path, ensuring the full path is returned in that case.
Fixes #6899
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-17 10:43:08 +01:00
Brian Kane
ebf73d03c2
Chore: Add codeowners ( #6946 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 20s
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-10-16 08:33:49 -07:00
AshvinBambhaniya2003
1d7b186664
Feat: Enhance unit test coverage for references/common package ( #6918 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 26s
* feat(common): Enhance unit test coverage for common utilities
This commit significantly enhances the unit test coverage for the `references/common` package, covering a wide range of utilities related to application management, metrics, registry operations, traits, and workloads. Existing tests have also been refactored to improve readability and maintainability.
Key additions and improvements include:
- **Application Utilities**: New tests for `ExportFromAppFile`, `ApplyApp`, `IsAppfile`, `Info`, `SonLeafResource`, `LoadAppFile`, and `ApplyApplication` in `application_test.go`.
- **Metrics Utilities**: Expanded tests for `ToPercentage`, `GetPodStorage`, and `GetPodOfManagedResource` in `metrics_test.go`, with existing tests refactored to use `testify/assert` and table-driven formats.
- **Registry Operations**: New tests for `InstallComponentDefinition` and `InstallTraitDefinition` in `registry_test.go`.
- **Trait Definitions**: New `trait_test.go` file with tests for `ListRawWorkloadDefinitions`.
- **Workload Initialization**: New `workload_test.go` file with tests for `InitApplication` and `BaseComplete`.
These changes collectively improve the robustness, reliability, and maintainability of the `references/common` package by providing a more comprehensive and standardized testing approach.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test(common): Improve test assertions and error handling
This commit improves the quality and reliability of unit tests in the `references/common` package by addressing several inconsistencies and potential issues.
Key changes include:
- Asserts the error returned by `v1beta1.AddToScheme` across multiple test files (`application_test.go`, `registry_test.go`, `workload_test.go`) to prevent masking scheme registration failures.
- Replaces `strings.Contains` with the more idiomatic `assert.Contains` in `application_test.go`.
- Adds an assertion to check the error returned by `tmpFile.Close()` in `application_test.go`.
- Uses `assert.EqualError` instead of `assert.Equal` for comparing error messages in `registry_test.go` for more precise error checking.
- Removes an unused `strings` import from `application_test.go`.
These changes lead to more robust, readable, and consistent tests.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(common): Fix flaky test in TestExportFromAppFile
The `TestExportFromAppFile` test was passing locally but failing in CI with a "no matches for kind" error.
This was caused by passing an uninitialized `common.Args` object to the `ExportFromAppFile` function. The function was using the client from this object, which was not the correctly configured fake client.
This commit fixes the issue by explicitly setting the fake client on the `common.Args` object before it is used, making the test hermetic and reliable.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-14 11:33:21 -07:00
James Dobson
d46ad7e06e
Chore: Remove unused parameter 'addonName' from 'vela-cli' workflow step. ( #6930 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 20s
Signed-off-by: James Dobson <jdobson@guidewire.com >
2025-10-09 13:34:26 -07:00
Ayush Kumar
743fcc6efc
Chore: update homebrew bump action ( #6939 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 23s
* Fix: update Homebrew formula action to latest version
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Fix: update Homebrew formula action reference to correct version
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* fix: remove redundant Homebrew bump action
- Fixes: https://github.com/kubevela/kubevela/actions/runs/18149681613/job/51659048948
- The kubevela formula in homebrew/core is already configured for automatic updates via BrewTestBot.
- BrewTestBot runs every ~3 hours after a new release to automatically open version bump PRs.
- The manual bump step (dawidd6/action-homebrew-bump-formula) was redundant and caused workflow failures:
'Error: Whoops, the kubevela formula has its version update pull requests automatically opened by BrewTestBot every ~3 hours!'
- Removed the manual bump action to prevent conflicts and rely solely on BrewTestBot for formula updates https://github.com/Homebrew/homebrew-core/blob/master/Formula/k/kubevela.rb .
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
2025-10-06 11:59:00 -07:00
AshvinBambhaniya2003
10b45d3a8f
Fix(references/appfile): Fix namespace check and Terraform output parsing ( #6915 )
...
* fix(references/appfile): correct namespace existence check in addon
The `generateSecretFromTerraformOutput` function was using an incorrect logic to check for namespace existence. It was trying to create the namespace and if it succeeded, it would return an error.
This commit corrects the logic to use `k8sClient.Get` and checks for a `NotFound` error to accurately determine if the namespace exists.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(references/appfile): make terraform output parsing robust
The previous implementation for parsing `terraform output` was fragile and could lead to data corruption or errors. It would incorrectly remove all spaces from values and would fail to parse values that contained an equals sign.
This commit refactors the parsing logic to be more robust:
- It no longer removes spaces from output values, preserving them correctly.
- It correctly parses `key=value` pairs by splitting only on the first equals sign in a line.
- It properly handles quoted string values from Terraform.
The corresponding tests in `addon_test.go` have been updated to align with the refactored function signature and verify the new, robust behavior.
Fixes #6916
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-10-06 11:57:37 -07:00
Vishal Kumar
7f81d6f2d6
Feat: add KinD setup step to sync-sdk workflow ( #6937 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 34s
Signed-off-by: vishal210893 <vishal210893@gmail.com >
2025-10-02 15:01:20 -07:00
Anoop Gopalakrishnan
17b7edca9e
Fix: goreleaser flag for release
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 25s
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-09-30 19:41:27 -07:00
Anoop Gopalakrishnan
773149aa53
Fix: clean up runner for disk space during release ( #6936 )
...
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-09-30 18:24:08 -07:00
Vishal Kumar
a8b652e59d
Feat(logging): Add colorized logging support for local development with dev-logs option to enable during development ( #6931 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 49s
* Feat(logging): Add colorized logging support with DevLogs option
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: return error on directory walk failure in lookupFilesInRoot
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Feat(logging): Add logger setup for local development with DevLogs option
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Feat(logging): Enable/Disable DevLogs option in kubevela-controller configuration
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Feat(logging): Make DevLogs configurable in kubevela-controller and values.yaml
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Feat(logging): Add devLogs option for formatted logging support in README and values.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Feat(logging): Update logger setup for DevLogs and handle errors in file lookup
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Feat(logging): Enhance caching by capturing Go cache directories for improved build performance
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Feat(logging): Enhance caching by capturing Go cache directories for improved build performance
Signed-off-by: vishal210893 <vishal210893@gmail.com >
---------
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2025-09-30 09:32:16 -07:00
Ayush Kumar
36f217e258
Feat: webhook reject unknown cr outputs ( #6932 )
...
* feat: implement output resource existence validation in component, trait, and policy definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add validation tests for ComponentDefinition and TraitDefinition outputs
- Implement tests for ComponentDefinition with non-existent CRDs in outputs, ensuring they are rejected.
- Add tests for valid outputs in ComponentDefinition, confirming acceptance.
- Include tests for mixed valid and non-K8s outputs in ComponentDefinition, verifying they pass validation.
- Test handling of empty outputs in ComponentDefinition, ensuring they are accepted.
- Introduce tests for invalid apiVersion formats in ComponentDefinition, confirming rejection.
- Add tests for TraitDefinition with mixed valid and invalid outputs, ensuring proper rejection.
- Create YAML manifests for valid and invalid ComponentDefinitions and TraitDefinitions to support e2e tests.
- Ensure comprehensive coverage of edge cases in output validation logic.
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
fix: handle errors in resource validation for component, trait, and policy definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
fix: improve error handling in Go module tidy and resource validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add webhook debugging setup and validation tests for ComponentDefinition and TraitDefinition
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add VS Code launch configuration for debugging webhook validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
refactor: streamline error handling in Go module tidy and remove obsolete test manifests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add mock context support for CUE template compilation
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance validation for WorkflowStepDefinition resources and improve output resource checks
Signed-off-by: viskumar <viskumar@guidewire.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: implement resource validation for CUE templates and add unit tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance logging and validation for component, policy, and trait definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: improve error handling and logging in validation handlers for component, policy, trait, and workflow step definitions
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Remove testUnknownResource folder from repository
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: implement structured logging for validation handlers and remove deprecated request_logger
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance structured logging and error handling in admission validation handlers
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: improve logging messages in validating handlers for better clarity
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: refactor logging field definitions for consistency and improve error handling in resource validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
chore: add license header to invalid_resource_check.go and invalid_resource_check_test.go
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance validation tests for WorkflowStepDefinition and improve error messages
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add e2e-test-local target for k3d cluster setup and webhook validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add webhook configuration for workflow step definitions with validation rules
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: update e2e-test-local configuration and improve Ingress API version compatibility
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add installation of FluxCD CRDs in pre-hook to prevent webhook validation errors
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add ValidateResourcesExist feature gate and enhance resource validation in webhook handlers
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance resource validation in e2e tests and improve addon definition checks
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: enhance addon definition detection by using owner references for validation
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: add ValidateResourcesExist feature gate and implement webhook validation for resource existence
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: update Ingress API version to v1 and adjust service references in tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
chore: remove webhook test commands and related YAML files from makefiles and tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
chore: remove architecture section from webhook debugging guide
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
feat: update webhook setup script with k3d host gateway IP note and improve cluster creation logic
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Fix: Correct path in Ingress resource definition in template tests
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Chore: add empty line to re-trigger failing workflow
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: remove space to re-trigger workflow
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Amit Singh <amisingh@guidewire.com >
2025-09-30 09:30:53 -07:00
Vishal Kumar
c298c0eb06
Fix: webhook TLS caBundle breakage during failed Helm upgrades ( #6919 )
...
Webhook Upgrade Validation / webhook-upgrade-check (push) Failing after 33s
* Fix: Add post-rollback hook to admission-related resources for better upgrade handling
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Add webhook upgrade validation workflow for handling failed Helm upgrades
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Update webhook upgrade validation template for improved resource handling
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Refactor webhook upgrade validation script for improved readability and resource handling
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* webhook-upgrade-validation.yml
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Update KubeVela CLI installation method in webhook upgrade validation workflow
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Update KubeVela CLI installation method in webhook upgrade validation workflow
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Add verification step for active webhook validation in upgrade workflow
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Update test command in webhook upgrade validation workflow to use Ginkgo
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Update cluster deletion command in webhook upgrade validation workflow
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: Refactor environment setup in webhook upgrade validation workflow
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: Update KinD setup in webhook upgrade validation workflow
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
---------
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2025-09-29 08:08:07 -07:00
Chaitanyareddy0702
8aabc9f789
Fix: Enhance workflow context generation ( #6925 )
...
* Feat: Enhance workflow context generation to include application labels and annotations
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Add application labels and annotations to workflow context generation
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: add comments
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
2025-09-29 08:06:51 -07:00
Chaitanyareddy0702
af1ce628d1
Chore: Add workflow addon testing ( #6911 )
...
* Chore: Add workflow addon testing
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat(tests): Update addon tests to use correct command and deployment name
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* Feat(tests): Enhance addon tests with debugging information for deployment not found
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* Feat(tests): Add debugging output for listing WorkflowRuns in addon tests
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* Feat(tests): Improve debugging output for WorkflowRuns in addon tests
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* Feat(tests): Update addon test command path for enabling Workflow
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* Refactor: Clean up unused imports and commented-out code in addon tests
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat(tests): Add debugging steps for addon registry in e2e tests
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Feat: Update vela-workflow version to v0.6.2 in mock server and tests
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Refactor: Remove debug commands from e2e tests and clean up addon test assertions
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Fix: run make reviewable
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* Fix: Update assertions in addon tests to check for successful WorkflowRun phase
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
---------
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
2025-09-24 09:25:38 -07:00
Ayush Kumar
707ae396ce
Chore: refactors workflows to use re-usable actions and adds upgrade test ( #6878 )
...
* Feat(utils): Enhance unit test coverage and quality for pkg/utils (#6884 )
* feat(env): Add comprehensive unit tests for environment management
This commit introduces a comprehensive suite of unit tests for the environment management functions in `pkg/utils/env`.
Key changes include:
- Refactoring the test setup to use `TestMain` for better test environment control.
- Adding new test cases for `CreateEnv`, `GetEnvByName`, `ListEnvs`, `SetCurrentEnv`, `SetEnvLabels`, and `DeleteEnv`.
These tests improve the overall test coverage and ensure the correctness and reliability of environment-related operations.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(errors): Add unit tests for error handling utilities
This commit introduces new unit tests for the error handling utilities located in `pkg/utils/errors/`.
Specifically, new test files have been added for:
- `crd_test.go`: Tests for CRD-related error checks.
- `list_test.go`: Tests for error list aggregation.
- `reason_test.go`: Tests for specific error reasons like label conflicts and CUE path not found.
- `resourcetracker_test.go`: Tests for resource tracker errors.
These additions improve the test coverage and ensure the robustness of KubeVela's error handling mechanisms.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* refactor(schema): Refactor ui_schema_test.go to use testify/assert and add new test cases
This commit refactors `pkg/utils/schema/ui_schema_test.go` to improve its readability and maintainability.
Key changes include:
- Migrating from Ginkgo/Gomega to testify/assert for assertions.
- Restructuring `TestGetDefaultUIType` into a table-driven test.
- Adding new comprehensive test cases for `Condition_Validate` function.
These changes enhance the test suite for UI schema utilities, making it more robust and easier to extend.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* refactor(system): Refactor system_test.go and add comprehensive unit tests
This commit refactors `pkg/utils/system/system_test.go` to improve its structure, readability, and test coverage.
Key changes include:
- Converting existing tests to a table-driven format using `testify/assert`.
- Adding new comprehensive test cases for:
- `CreateIfNotExist`
- `GetVelaHomeDir`
- `GetDirectoryFunctions` (e.g., `GetCapCenterDir`, `GetCapabilityDir`)
- `InitFunctions` (e.g., `InitCapabilityDir`, `InitCapCenterDir`, `InitDirs`)
- `BindEnvironmentVariables`
These changes enhance the test suite for system utilities, ensuring their correctness and robustness.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(types): Add unit tests for QL types
This commit introduces new unit tests for the types defined in `pkg/utils/types`, specifically focusing on types related to KubeVela Query Language (QL).
New test cases cover:
- `ServiceEndpoint.String()`: Verifies the string representation of service endpoints, including various protocols, ports, and paths.
- `AppliedResource.GroupVersionKind()`: Ensures correct extraction of GroupVersionKind from applied resources.
- `ResourceTreeNode.GroupVersionKind()`: Verifies correct extraction of GroupVersionKind from resource tree nodes.
These tests improve the coverage and reliability of core data structures used in KubeVela.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(util): Add and refactor unit tests for utility functions
This commit introduces new unit tests and refactors existing ones within the `pkg/utils/util` package.
Key changes include:
- **`pkg/utils/util/cmd_test.go`**: Adds comprehensive tests for `IOStreams` and its print functions, as well as `NewDefaultIOStreams` and `NewTestIOStreams`.
- **`pkg/utils/util/factory_test.go`**: Refactors the `GenerateLeaderElectionID` test to a table-driven format and adds new tests for `computeDiscoverCacheDir` and `RestConfigGetter` methods, ensuring the correctness of Kubernetes client configuration and discovery.
These additions and refactorings enhance the test coverage and reliability of core utility functions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(utils): Add and refactor unit tests for json, jwt, parse, and strings utilities
This commit introduces new unit tests and refactors existing ones across several utility packages within `pkg/utils/`.
Key changes include:
- **`pkg/utils/json`**: Adds tests for `StrictUnmarshal` to ensure proper JSON unmarshaling.
- **`pkg/utils/jwt`**: Adds tests for JWT token subject extraction and certificate subject retrieval.
- **`pkg/utils/parse`**: Expands test coverage for URL parsing functions (`Parse`, `ParseGitlab`).
- **`pkg/utils/strings`**: Refactors existing tests to a table-driven format and adds tests for box drawing string generation.
These additions and refactorings significantly improve the test coverage and reliability of KubeVela's utility functions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(tests): Address test and error handling issues
This commit addresses several issues identified in unit tests and error handling utilities, improving test reliability and code safety.
Key fixes and improvements include:
- **`pkg/utils/errors`**:
- Added nil check to `IsCuePathNotFound` to prevent panics.
- Corrected `fmt.Errorf` usage to `errors.New` in `reason_test.go` (SA1006 fix).
- Used `assert.EqualError` for clearer error message comparisons in `resourcetracker_test.go`.
- **`pkg/utils/jwt_test.go`**: Marked `generateTestCert` as a test helper using `t.Helper()` for better error reporting.
- **`pkg/utils/system_test.go`**:
- Removed unused `verifyCleanup` field.
- Modified `TestGetVelaHomeDir` to use a temporary home directory, preventing destructive operations on the user's system.
- **`pkg/utils/util/cmd_test.go`**: Swapped `assert.Equal` arguments to follow `expected, actual` convention.
These changes enhance the robustness and correctness of the test suite and related utility functions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* chore(tests): Apply gofmt and import ordering to test files
This commit applies standard Go formatting (`gofmt`) and corrects import ordering in several test files.
Affected files:
- `pkg/utils/schema/ui_schema_test.go`: Added missing newline at EOF.
- `pkg/utils/system/system_test.go`: Corrected import ordering.
- `pkg/utils/util/factory_test.go`: Corrected import ordering.
These changes ensure consistency with project coding standards.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: upgrades ga versions
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
# Conflicts:
# .github/workflows/unit-test.yml
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: upgrades ga versions in go workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: updates fluxcd negative test case criteria
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: update action versions in workflow files
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: add upgrade e2e and unit test workflows for KubeVela
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Chore: simplify upgrade test workflows by removing redundant steps and enhancing installation process
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Feat: automate KubeVela installation by fetching the latest release version
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: remove fix/upgrade-test branch from workflow triggers
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: add new actions for system info and unit testing diagnostics
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: implement Kubevela K8s upgrade e2e and unit test actions with diagnostics
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: create Kubevela test environment setup action with system dependencies and Ginkgo framework
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: implement Kubevela K8s upgrade multicluster e2e test action with coverage reporting and diagnostics
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: update workflow triggers to include and exclude fix/upgrade-test branch
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Feat: Support Native Cue in HealthPolicy and CustomStatus (#6859 )
* Feat: Support Native Cue in HealthPolicy and CustomStatus
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Feat: Support Native Cue in HealthPolicy and CustomStatus - Fix PR Comments & Bugs
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Feat: Consolidate Health & Status and Pass Status Context Data (#6860 )
Signed-off-by: Brian Kane <briankane1@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* <type>: <description> <jira number>
[optional body]
[optional footer]
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: remove author information from Kubevela test environment setup action
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: add fix/upgrade-test branch to workflow triggers and streamline unit test steps
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: add KinD setup step for unit tests and remove fix/upgrade-test branch from e2e triggers
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: add GitHub actions for deploying current branch and installing latest KubeVela release
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: rename test YAML files for consistency
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: update GitHub actions to use specific checkout version and streamline deployment steps
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: enhance GitHub actions for Kubevela tests with Codecov integration and cleanup
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: improve e2e profile cleanup logic in test workflows
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: add GitHub Action for setting up Kind cluster for E2E testing
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Chore: Optimised Github workflow
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: update action.yaml to enhance KinD cluster setup with configurable version and optional naming
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Chore: Add sudo command
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Chore: Revert check windows
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Chore: Add sudo to action
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Chore: Change branch trigger filters
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* Chore: Revert changes from rebase
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* refactor: optimizes github actions
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: update action.yaml to install kubectl and helm using direct downloads
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: update Kubernetes version in e2e multicluster test workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: updates upgrade test triggers
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: updates upgrade test triggers
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* feat: enhance action.yaml to support architecture detection and improve Helm installation
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Brian Kane <briankane1@gmail.com >
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: AshvinBambhaniya2003 <156189340+AshvinBambhaniya2003@users.noreply.github.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
Co-authored-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: Reetika Malhotra <rmalhotra@guidewire.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Chaitanyareddy0702 <78363486+Chaitanyareddy0702@users.noreply.github.com >
2025-09-23 10:06:41 -07:00
Brian Kane
c0e906629e
Fix: Unbundle the X-Definition Validation from Authentication Features ( #6904 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-09-17 04:33:20 +08:00
Vaibhav Agrawal
90e601a51e
Fix: inconsistent dry-run behavior with non-existent namespaces in CLI vs app.yaml ( #6896 )
2025-09-17 03:10:10 +08:00
AshvinBambhaniya2003
2139c813ad
Feat(multicluster): Enhance Unit Test Coverage for Multicluster Packages ( #6892 )
...
* feat(multicluster): Enhance unit test coverage for multicluster utilities
This commit introduces a comprehensive suite of unit tests for the multicluster management functions in pkg/multicluster.
Key changes include:
- `cluster_management_test.go`: Improves the structure of TestDetachCluster and TestRenameCluster by organizing test cases into a collection, which enhances clarity and
simplifies adding new scenarios.
- `utils_test.go` and `virtual_cluster_test.go`: Adds new test cases to validate additional utility and virtual cluster helper functions, increasing overall test
coverage.
These additions improve the overall test coverage and ensure the correctness and reliability of multicluster operations.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(multicluster): Add unit tests for multicluster workflow provider
This commit introduces new unit tests for the multicluster workflow provider located in pkg/workflow/providers/multicluster.
Key additions include:
- Comprehensive tests for the Deploy workflow step, covering parameter validation, error handling, and successful deployment scenarios.
- New tests for GetPlacementsFromTopologyPolicies to ensure correct placement resolution from topology policies, including error cases and default behaviors.
These additions improve the test coverage and ensure the robustness of the multicluster workflow provider.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(multicluster): Correct duplicate import in utils_test.go
This commit resolves a linting error (ST1019) in pkg/multicluster/utils_test.go caused by the k8s.io/api/core/v1 package being imported twice with different aliases (v1
and corev1).
The redundant import alias v1 has been removed, and the corresponding type reference for []v1.Secret has been updated to []corev1.Secret to maintain consistency.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test(multicluster): fix cross-test side effects
The TestListExistingClusterSecrets function mutates the global
variable ClusterGatewaySecretNamespace without restoring its original
value. This can lead to unpredictable behavior in other tests that
rely on this variable.
This commit fixes the issue by saving the value of
ClusterGatewaySecretNamespace before the test runs and restoring it
afterward using a defer statement.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* test(multicluster): remove redundant test case in TestContext
The `TestContextWithClusterName` sub-test in `TestContext` is redundant, as its functionality is already covered by the more comprehensive `TestClusterNameInContext` sub-test.
This commit removes the unnecessary test to improve the clarity and maintainability of the test suite without sacrificing coverage.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-09-15 08:37:55 -07:00
AshvinBambhaniya2003
d6ad578070
Feat(tests): Add unit test coverage for core packages ( #6889 )
...
* test(resourcekeeper): add unit tests for resource management
This commit introduces new unit tests to improve the test coverage of the `resourcekeeper` package.
- A new test file `containsresources_test.go` is added, which includes a comprehensive table-driven test for the `ContainsResources` function.
- A new table-driven test, `TestUpdateSharedManagedResourceOwner`, is added to `gc_test.go` to verify the logic for updating ownership of shared resources.
These tests follow Go best practices and enhance the robustness of the resourcekeeper functionality.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(resourcetracker): add unit tests for tree display logic
This commit enhances the test coverage for the resource tree display logic in the `pkg/resourcetracker` package.
- Refactors `TestResourceTreePrintOption_getWidthForDetails` to cover more cases and improve test clarity.
- Adds a comprehensive test for `TestPrintResourceTree` to verify the output of the resource tree printing.
- Introduces a new test for the `tableRoundTripper` to ensure the HTTP `Accept` header is correctly mutated.
- Adds tests for helper functions like `TestLoadResourceRows`, `TestSortRows`, and `TestFillResourceRows` to ensure each part of the tree building logic is working as expected.
These changes improve the overall quality and reliability of the resource tracker's tree view functionality.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(envbinding): add unit tests for placement logic
This commit enhances the test coverage for the `envbinding` policy package.
- Adds a new test for `WritePlacementDecisions` to verify the logic of writing placement decisions to the application status. This includes scenarios for adding new policies, updating existing ones, and handling malformed data.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(schema): add unit tests for schema parsing and conversion
This commit enhances the test coverage for the `pkg/schema` package by adding unit tests for CUE parsing and OpenAPI schema conversion.
- Adds a new test for `ParsePropertiesToSchema` to verify that CUE parameter definitions are correctly parsed into OpenAPI schemas.
- Introduces a new test for `ConvertOpenAPISchema2SwaggerObject` to ensure the conversion from a raw OpenAPI v3 schema to a Swagger object is handled correctly, including error cases.
These tests improve the reliability of the schema generation and conversion logic, which is critical for capability definitions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-09-11 07:29:07 +08:00
AshvinBambhaniya2003
2758afb1b2
Feat(utils): Enhance unit test coverage and quality for pkg/utils ( #6884 )
...
* feat(env): Add comprehensive unit tests for environment management
This commit introduces a comprehensive suite of unit tests for the environment management functions in `pkg/utils/env`.
Key changes include:
- Refactoring the test setup to use `TestMain` for better test environment control.
- Adding new test cases for `CreateEnv`, `GetEnvByName`, `ListEnvs`, `SetCurrentEnv`, `SetEnvLabels`, and `DeleteEnv`.
These tests improve the overall test coverage and ensure the correctness and reliability of environment-related operations.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(errors): Add unit tests for error handling utilities
This commit introduces new unit tests for the error handling utilities located in `pkg/utils/errors/`.
Specifically, new test files have been added for:
- `crd_test.go`: Tests for CRD-related error checks.
- `list_test.go`: Tests for error list aggregation.
- `reason_test.go`: Tests for specific error reasons like label conflicts and CUE path not found.
- `resourcetracker_test.go`: Tests for resource tracker errors.
These additions improve the test coverage and ensure the robustness of KubeVela's error handling mechanisms.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* refactor(schema): Refactor ui_schema_test.go to use testify/assert and add new test cases
This commit refactors `pkg/utils/schema/ui_schema_test.go` to improve its readability and maintainability.
Key changes include:
- Migrating from Ginkgo/Gomega to testify/assert for assertions.
- Restructuring `TestGetDefaultUIType` into a table-driven test.
- Adding new comprehensive test cases for `Condition_Validate` function.
These changes enhance the test suite for UI schema utilities, making it more robust and easier to extend.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* refactor(system): Refactor system_test.go and add comprehensive unit tests
This commit refactors `pkg/utils/system/system_test.go` to improve its structure, readability, and test coverage.
Key changes include:
- Converting existing tests to a table-driven format using `testify/assert`.
- Adding new comprehensive test cases for:
- `CreateIfNotExist`
- `GetVelaHomeDir`
- `GetDirectoryFunctions` (e.g., `GetCapCenterDir`, `GetCapabilityDir`)
- `InitFunctions` (e.g., `InitCapabilityDir`, `InitCapCenterDir`, `InitDirs`)
- `BindEnvironmentVariables`
These changes enhance the test suite for system utilities, ensuring their correctness and robustness.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(types): Add unit tests for QL types
This commit introduces new unit tests for the types defined in `pkg/utils/types`, specifically focusing on types related to KubeVela Query Language (QL).
New test cases cover:
- `ServiceEndpoint.String()`: Verifies the string representation of service endpoints, including various protocols, ports, and paths.
- `AppliedResource.GroupVersionKind()`: Ensures correct extraction of GroupVersionKind from applied resources.
- `ResourceTreeNode.GroupVersionKind()`: Verifies correct extraction of GroupVersionKind from resource tree nodes.
These tests improve the coverage and reliability of core data structures used in KubeVela.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(util): Add and refactor unit tests for utility functions
This commit introduces new unit tests and refactors existing ones within the `pkg/utils/util` package.
Key changes include:
- **`pkg/utils/util/cmd_test.go`**: Adds comprehensive tests for `IOStreams` and its print functions, as well as `NewDefaultIOStreams` and `NewTestIOStreams`.
- **`pkg/utils/util/factory_test.go`**: Refactors the `GenerateLeaderElectionID` test to a table-driven format and adds new tests for `computeDiscoverCacheDir` and `RestConfigGetter` methods, ensuring the correctness of Kubernetes client configuration and discovery.
These additions and refactorings enhance the test coverage and reliability of core utility functions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(utils): Add and refactor unit tests for json, jwt, parse, and strings utilities
This commit introduces new unit tests and refactors existing ones across several utility packages within `pkg/utils/`.
Key changes include:
- **`pkg/utils/json`**: Adds tests for `StrictUnmarshal` to ensure proper JSON unmarshaling.
- **`pkg/utils/jwt`**: Adds tests for JWT token subject extraction and certificate subject retrieval.
- **`pkg/utils/parse`**: Expands test coverage for URL parsing functions (`Parse`, `ParseGitlab`).
- **`pkg/utils/strings`**: Refactors existing tests to a table-driven format and adds tests for box drawing string generation.
These additions and refactorings significantly improve the test coverage and reliability of KubeVela's utility functions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(tests): Address test and error handling issues
This commit addresses several issues identified in unit tests and error handling utilities, improving test reliability and code safety.
Key fixes and improvements include:
- **`pkg/utils/errors`**:
- Added nil check to `IsCuePathNotFound` to prevent panics.
- Corrected `fmt.Errorf` usage to `errors.New` in `reason_test.go` (SA1006 fix).
- Used `assert.EqualError` for clearer error message comparisons in `resourcetracker_test.go`.
- **`pkg/utils/jwt_test.go`**: Marked `generateTestCert` as a test helper using `t.Helper()` for better error reporting.
- **`pkg/utils/system_test.go`**:
- Removed unused `verifyCleanup` field.
- Modified `TestGetVelaHomeDir` to use a temporary home directory, preventing destructive operations on the user's system.
- **`pkg/utils/util/cmd_test.go`**: Swapped `assert.Equal` arguments to follow `expected, actual` convention.
These changes enhance the robustness and correctness of the test suite and related utility functions.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* chore(tests): Apply gofmt and import ordering to test files
This commit applies standard Go formatting (`gofmt`) and corrects import ordering in several test files.
Affected files:
- `pkg/utils/schema/ui_schema_test.go`: Added missing newline at EOF.
- `pkg/utils/system/system_test.go`: Corrected import ordering.
- `pkg/utils/util/factory_test.go`: Corrected import ordering.
These changes ensure consistency with project coding standards.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-09-09 05:35:59 +08:00
Brian Kane
70e6c9a49f
fix: apply status results to correct component ( #6886 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-09-08 01:49:48 -07:00
Amit Singh
2d46bb300f
Chore: removes references to kubevelafix ( #6882 )
...
* chore: removes references to kubevelafix
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: upgrades oamdev/stern reference
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: upgrades oamdev/tf-config-inspect reference
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Co-authored-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
2025-09-04 06:27:00 +08:00
Rashid Alam
6fbeb6887f
Fix(cli): return non-zero exit code on vela def render error ( #6818 )
...
* fix exit code on render error
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
* minor changes
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
* fix error catch logic
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
---------
Signed-off-by: 7h3-3mp7y-m4n <emailtorash@gmail.com >
2025-09-03 06:00:58 +08:00
S Code Man
e533898192
Fix: Address Wrong Storage trait for hostPath volumes #6811 ( #6812 )
...
* fix: Address Wrong `Storage` trait for hostPath volumes #6811
Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com >
* fix: use tab instead of space
Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com >
* chore: run make reviewable
Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com >
---------
Signed-off-by: S Code Man <30977678+scodeman@users.noreply.github.com >
2025-09-03 05:59:44 +08:00
AshvinBambhaniya2003
72d5c2f0a5
Feat(tests): Add unit test coverage for core packages ( #6880 )
...
* feat(config): add unit test for config pkg
- add unit test cases for writer.go file
- add unit test cases for factory.go file
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(auth): add unit tests for auth package
This commit introduces a comprehensive suite of unit tests for the `pkg/auth` package, significantly improving test coverage and ensuring the correctness of the authentication and authorization logic.
The following key areas are now covered:
- **Identity:** Tests for identity creation, validation, matching, and subject generation.
- **Kubeconfig:** Tests for kubeconfig generation options, certificate creation, and identity reading from kubeconfig.
- **Privileges:** Tests for privilege description implementations, listing privileges, and pretty-printing.
By adding these tests, we increase the robustness of the auth package and make future refactoring safer.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(oam): add unit tests for auxiliary functions
This commit adds comprehensive unit tests for the auxiliary functions in the pkg/oam package. The new tests cover the following functions:
- GetPublishVersion / SetPublishVersion
- GetDeployVersion
- GetLastAppliedTime
- GetControllerRequirement / SetControllerRequirement
- GetCluster / SetCluster / SetClusterIfEmpty
These tests address the lack of coverage for these functions and ensure their behavior is correct, including edge cases like handling missing annotations or removing annotations when set to an empty string.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* feat(cue): add unit tests for cue packages
This commit enhances the test coverage of the `pkg/cue` directory by adding unit tests for the `definition`, `script`, and `task` packages.
The new tests cover the following areas:
- `pkg/cue/definition`:
- `TestWorkloadGetTemplateContext`: Verifies the template context retrieval for workloads.
- `TestTraitGetTemplateContext`: Ensures correct template context retrieval for traits.
- `TestGetCommonLabels`: Checks the conversion of context labels to OAM labels.
- `TestGetBaseContextLabels`: Validates the creation of base context labels.
- `pkg/cue/script`:
- Adds tests for `ParseToValue`, `ParseToValueWithCueX`, `ParseToTemplateValue`, and `ParseToTemplateValueWithCueX` to ensure CUE scripts are parsed correctly.
- `pkg/cue/task`:
- Refactors the existing test for `Process` to use a table-driven approach, improving readability and covering more cases.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
* fix(tests): address PR comments and improve test reliability
This commit addresses several comments from a pull request review, improving the reliability and correctness of tests in various packages.
The following changes are included:
- **`pkg/config/writer`**:
- Renamed `writter_test.go` to `writer_test.go` to fix a typo.
- **`pkg/cue/task`**:
- Replaced the use of an external invalid URL with a local unreachable endpoint (`http://127.0.0.1:3000 `) in `process_test.go` to prevent network flakiness.
- Switched to using `assert.ErrorContains` for safer error message assertions, avoiding potential panics.
- Corrected an assertion to compare a byte slice with a string by converting the byte slice to a string first.
- **`pkg/oam`**:
- Updated `auxliary_test.go` to use `time.Time.Equal` for time comparisons, making the test robust against timezone differences.
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
---------
Signed-off-by: Ashvin Bambhaniya <ashvin.bambhaniya@improwised.com >
2025-09-03 05:58:58 +08:00
Brian Kane
e8428e704c
Feature: Validate Definition Permissions on App Creation ( #6876 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-09-03 05:53:56 +08:00
Brian Kane
56bc3b02e9
Feat: Consolidate Health & Status and Pass Status Context Data ( #6860 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-24 02:30:06 +08:00
Chaitanyareddy0702
af1fb9a0fd
Feat: Allow gating with components dependsOn field ( #6854 )
...
* Fix: Add workflow dynamically when user doesn't define workflow steps but adds dependsOn in the component
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* fix: modify ApplyComponentWorkflowStepGenerator Generate function
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Feat: Add test cases for the component level dependsOn feature
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* <type>: <description> <jira number>
[optional body]
[optional footer]
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Refactor component dependency tests and improve failure handling
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Update environment context handling in application tests and adjust repository name check in setup script
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Chore: Remove .sh file
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Update component dependency test cases and adjust timeout for application status check
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Clean up environment setup in component dependency tests
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Update component dependency images to use latest version and adjust test cases
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: uncomment tests
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: update failing database image to empty string to simulate pull failure
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Reetika Malhotra <rmalhotra@guidewire.com >
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Co-authored-by: Reetika Malhotra <rmalhotra@guidewire.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
2025-08-22 09:00:21 -07:00
Amit Singh
8b7950cf61
Chore: upgrades kind version ( #6853 )
...
* chore: upgrades ga versions
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in definition lint
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in go workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in sdk test workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: upgrades ga versions in e2e test workflow
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* test: updates fluxcd negative test case criteria
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* test: debugging e2e test failures
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: update action versions in workflow files
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* Fix: Use hash instead of version in github actions
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
* chore: fix newline at end of file in README.md
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
* test: increase timeout for application update checks in multicluster standalone tests
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Ayush <ayushshyamkumar888@gmail.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
Co-authored-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Co-authored-by: Ayush <ayushshyamkumar888@gmail.com >
2025-08-22 08:55:37 -07:00
Brian Kane
a5de74ec1e
Feat: Support Native Cue in HealthPolicy and CustomStatus ( #6859 )
...
* Feat: Support Native Cue in HealthPolicy and CustomStatus
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Feat: Support Native Cue in HealthPolicy and CustomStatus - Fix PR Comments & Bugs
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-22 12:24:21 +08:00
Brian Kane
3aa94842fb
Fix: prevent make reviewable typecheck noise via wrapper ( #6858 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-21 06:08:12 +08:00
Brian Kane
1a934e1618
Feat: Application Status Metrics & Structured Logs ( #6857 )
...
Feat: Application Status Metrics & Structured Logs
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-21 06:07:13 +08:00
Brian Kane
721c75e44a
Fix: Fixes the request workflowstep ( #6804 )
...
* Fix: Fixes the request workflowstep
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Fix: Fixes the request workflowstep
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-13 15:21:50 -07:00
Vishal Kumar
d598d0a6fd
Chore: (deps): Update github.com/docker/docker from v25.0.6 to v28.3.… ( #6849 )
...
* Chore: (deps): Update github.com/docker/docker from v25.0.6 to v28.3.2 (CVE-2024-41110)
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Chore: (deps): Update github.com/docker/docker from v25.0.6 to v28.3.3 (CVE-2024-41110)
Signed-off-by: vishal210893 <vishal210893@gmail.com >
---------
Signed-off-by: vishal210893 <vishal210893@gmail.com >
2025-08-13 06:05:38 +08:00
dependabot[bot]
4a9ecd9ce7
Chore: (deps): Bump github/codeql-action from 3.28.16 to 3.29.5 ( #6846 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.28.16 to 3.29.5.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](28deaeda66...51f77329af )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 11:51:42 -07:00
Brian Kane
a27261bd14
Feature: Enhanced Status Reporting ( #6828 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-08-06 09:55:30 -07:00
Aberham Oscar
0b6092cf2b
Fix: omit component revision in additionalLabel to add to k8s object when component revision is not set and DisableAllComponentRevision setted true #6643 ( #6647 )
...
* Fix: omit component revision in additionalLabel to add to k8s object when component revision is not set and DisableAllComponentRevision setted true
Signed-off-by: 那金洋(29362878) <najinyang001@ke.com >
* Fix: omit component revision in additionalLabel to add to k8s object when component revision is not set and DisableAllComponentRevision setted true test cases
Signed-off-by: 那金洋(29362878) <najinyang001@ke.com >
---------
Signed-off-by: 那金洋(29362878) <najinyang001@ke.com >
2025-08-05 10:13:02 -07:00
dependabot[bot]
aebccf90d0
Chore: (deps): Bump zeebe-io/backport-action from 2.1.1 to 3.2.1 ( #6820 )
...
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action ) from 2.1.1 to 3.2.1.
- [Release notes](https://github.com/zeebe-io/backport-action/releases )
- [Commits](08bafb375e...0193454f0c )
---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
dependency-version: 3.2.1
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-31 15:48:44 -07:00
dependabot[bot]
3f5b5e6593
Chore: (deps): Bump sigstore/cosign-installer from 3.5.0 to 3.9.2 ( #6834 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.5.0 to 3.9.2.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](59acb6260d...d58896d6a1 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-version: 3.9.2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-31 07:48:24 -07:00
Vishal Kumar
b5a9925042
Chore: upgrade Kubernetes dependencies to v0.31.10 & enhance CLI, workflows, tests, and documentation ( #6837 )
...
* Create testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Update testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Delete testwr
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Chore: (deps): Bump goreleaser/goreleaser-action from 5.0.0 to 6.3.0 (#6775 )
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 5.0.0 to 6.3.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](7ec5c2b0c6...9c156ee8a1 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: Replace the openssf badge with UI link (#6783 )
[optional body]
[optional footer]
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: moves dockerhub user name to secret section in the reusable workflow (#6778 )
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush <ayushshyam.official.888@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: update helm repo path in tests (#6797 )
* chore: fixes the breaking tests with older helm chart address
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* tests: update the registery url
Signed-off-by: semmet95 <singhamitch@outlook.com >
* updates the default url
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: reverts the changes
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: sets github repo directory as the default definition registry
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: reverts the default definition registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* test: overwrites custom definition registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: moves resource modification inside patch block (#6791 )
* fix: moves resource modification inside patch block
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: adds changes from make-reviewable
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging error
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: updates the helm outdated path to new one
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* tests: fixes the failing helm test case
Signed-off-by: semmet95 <singhamitch@outlook.com >
* removes debugging printing statements
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush <ayushshyam.official.888@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: switches to new oapi type field type (#6794 )
* chore: switches to new oapi type field type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk_test to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates schema to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: changes from make reviewable
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: fixes linting errors
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: fixes schema type nil check
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: replaces literals with constants
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: switches to the new addon registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: extra line removal
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: replaces deprecated urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: removes extra quotes form marshaljson
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart url in mock resource
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: vela cli namespace behaviour (#6805 )
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: vela up command to behave similarly with kubectl (#6809 )
* Fix: vela up command to behave similarly with kubectl
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Chore: Update the unit test cases and add a new test cases
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: check component status after initial deployment (#6824 )
* fix: check component status after initial deployment
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Fix: applications should correctly reflect component health throughout the apps lifecycle
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Fix: check component status after initial deployment
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: Mikhail Elenskii <elenskii-mikhail@outlook.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* chore: upgrade k8s version to v0.31.10 and corresponding fixes
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: remove defer from feature gate testing in multiple test files
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* fix: remove defer from feature gate testing in multiple test files
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* fix: use RunPortForwardContext for improved context handling in port forwarding
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Chore: Fix check-diff
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* Chore: Update ENVTEST_K8S_VERSION variable
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* fix: update feature gate testing to use GinkgoT for improved context handling
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: update Kubernetes version in e2e tests to v1.31
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: increase timeout for application revision retrieval in multicluster tests
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
* chore: update kubevela workflow to master
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Fix: increase timeout in multicluster tests
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* fix: upgrade dependencies and improve context handling in port forwarding
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: remove space to trigger pipeline
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: add space to trigger pipeline
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: updated go sum
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: updated go.mod for running github action
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* chore: updated go.mod for running github action
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* Fix: increase timeout and enhanced multicluster tests
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* adding a comment to re run the pipeline
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* Adding back decription removed during check-diff
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* ran make reviewable
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* replaced generate-groups.sh with kube_codegen.sh
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* API Call changes for kube_codegen
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* fixed incorrect Api package path format and output dir handling
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* resolved incompatible dependencies issue
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
* chore: update clientgen.sh to use kubevela clientgen_work_temp
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* chore: update clientgen.sh to use kubevela clientgen_work_temp
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
* test: increase timeout for application deployment and rollback verification
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
---------
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Brian Kane <briankane1@gmail.com >
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Signed-off-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
Co-authored-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anoop Gopalakrishnan <2038273+anoop2811@users.noreply.github.com >
Co-authored-by: Ayush Kumar <65535504+roguepikachu@users.noreply.github.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush <ayushshyam.official.888@gmail.com >
Co-authored-by: Chaitanyareddy0702 <78363486+Chaitanyareddy0702@users.noreply.github.com >
Co-authored-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Co-authored-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: Mikhail Elenskii <elenskii-mikhail@outlook.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Reetika Malhotra <malhotra.reetika25@gmail.com >
2025-07-31 07:46:56 -07:00
Brian Kane
c79f03fe92
Fix: corrects validating webhook behaviour with cuex compilers ( #6799 )
...
Signed-off-by: Brian Kane <briankane1@gmail.com >
2025-07-17 15:18:36 -07:00
Brian Kane
fedcca1c7b
Fix: check component status after initial deployment ( #6824 )
...
* fix: check component status after initial deployment
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Fix: applications should correctly reflect component health throughout the apps lifecycle
Signed-off-by: Brian Kane <briankane1@gmail.com >
* Fix: check component status after initial deployment
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: Mikhail Elenskii <elenskii-mikhail@outlook.com >
2025-07-04 23:01:44 +05:30
Chaitanyareddy0702
b601d28afd
Fix: vela up command to behave similarly with kubectl ( #6809 )
...
* Fix: vela up command to behave similarly with kubectl
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Chore: Update the unit test cases and add a new test cases
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Chaitanya Reddy Onteddu <co@guidewire.com >
2025-06-23 21:25:45 -07:00
Chaitanyareddy0702
7d72fa904c
Fix: vela cli namespace behaviour ( #6805 )
2025-06-17 10:25:59 +08:00
Amit Singh
4d6fa58c0f
Chore: switches to new oapi type field type ( #6794 )
...
* chore: switches to new oapi type field type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates gen_sdk_test to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: updates schema to use the new schema type
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: changes from make reviewable
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: fixes linting errors
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: fixes schema type nil check
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: replaces literals with constants
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: switches to the new addon registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: extra line removal
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: replaces deprecated urls
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: removes extra quotes form marshaljson
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: updates chart url in mock resource
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Co-authored-by: Vishal Kumar <vishal210893@gmail.com >
2025-06-15 20:44:58 -07:00
Amit Singh
26123cf671
Fix: moves resource modification inside patch block ( #6791 )
...
* fix: moves resource modification inside patch block
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: adds changes from make-reviewable
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* debugging error
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: updates the helm outdated path to new one
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* tests: fixes the failing helm test case
Signed-off-by: semmet95 <singhamitch@outlook.com >
* removes debugging printing statements
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
---------
Signed-off-by: Ayush Shyam Kumar <ayushshyam.official.888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Ayush <ayushshyam.official.888@gmail.com >
2025-06-15 09:40:35 -07:00
Ayush Kumar
ad9cda63c9
Chore: update helm repo path in tests ( #6797 )
...
* chore: fixes the breaking tests with older helm chart address
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* tests: update the registery url
Signed-off-by: semmet95 <singhamitch@outlook.com >
* updates the default url
Signed-off-by: semmet95 <singhamitch@outlook.com >
* test: reverts the changes
Signed-off-by: semmet95 <singhamitch@outlook.com >
* fix: sets github repo directory as the default definition registry
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
* chore: reverts the default definition registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* test: overwrites custom definition registry url
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* debugging test failure
Signed-off-by: Amit Singh <singhamitch@outlook.com >
---------
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: semmet95 <singhamitch@outlook.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
2025-06-13 07:13:25 -07:00
Ayush Kumar
011e1f1445
chore: moves dockerhub user name to secret section in the reusable workflow ( #6778 )
...
Signed-off-by: Ayush Kumar <ayushshyamkumar888@gmail.com >
Signed-off-by: Ayush <ayushshyam.official.888@gmail.com >
2025-05-28 09:18:53 +05:30
Anoop Gopalakrishnan
974d3e88bf
Chore: Replace the openssf badge with UI link ( #6783 )
...
[optional body]
[optional footer]
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-05-22 06:45:37 +08:00
dependabot[bot]
ef9b6f3cc1
Chore: (deps): Bump goreleaser/goreleaser-action from 5.0.0 to 6.3.0 ( #6775 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 5.0.0 to 6.3.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](7ec5c2b0c6...9c156ee8a1 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-version: 6.3.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-06 10:24:31 +05:30
dependabot[bot]
144e96df31
Chore: (deps): Bump github.com/go-git/go-git/v5 from 5.13.1 to 5.16.0 ( #6764 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.13.1 to 5.16.0.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.13.1...v5.16.0 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-version: 5.16.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-03 12:55:40 +05:30
dependabot[bot]
5ee9c8b38c
Chore: (deps): Bump github/codeql-action from 2.1.37 to 3.28.16 ( #6770 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2.1.37 to 3.28.16.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2.1.37...28deaeda66b76a05916b6923827895f2b14ab387 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.28.16
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-03 12:55:00 +05:30
Vishal Kumar
d3ce7ad118
Feat(validation): fail-fast CUE validation for required parameters (incl. dynamic sources) ( #6774 )
...
* Chore: Added fail fast validation logic of component having multiple steps including workflow, component etc.
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* testing updated param filter logic
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* Added validation logic for struct type parameter
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* fixed code when struct type parameter is provided in component
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* refactor: minor code improvements
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* fixed go lint issue
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Chore: Add test cases for fail fast logic
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
* updated expect logic
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Added e2e test cases for required param validation
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Added feature gate in e2e test cases for required param validation
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Added feature gate make e2e_test file and removed for ginkgo test file
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Fixed code to quoted string
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Added logic and test case for policy type override
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
* Added license header
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Vishal Kumar <vishal210893@gmail.com >
Co-authored-by: Amit Singh <singhamitch@outlook.com >
Co-authored-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
2025-05-03 12:54:05 +05:30
shivin
a1145f21fe
Fix: update apps with topology policy during cluster join ( #6768 )
...
* functionality to get all application with a topology in cluster
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* refactor code and unit tests
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* refactor code and unit tests
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* rearrange imports
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* remove calling of goroutine
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* update logic to set publich version annotation
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* removed unused constants
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* make reviewable
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* add license info for cluster_test.go
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* ignore errors in updateAppsWithTopologyPolicy
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* modify error message
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* gofmt
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* add retry logic to handle conflict errors
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* using cmd to print and add log for retried applications
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* using context as first argument
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* log namespace in error
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* optimize retry logic
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* add pagination for listing applications
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
---------
Signed-off-by: vishal210893 <vishal210893@gmail.com >
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
Co-authored-by: vishal210893 <vishal210893@gmail.com >
2025-05-01 14:31:11 +05:30
glaxman
edf3be272e
fix(traitdefinition): podsecuritycontext - Make localhostProfile optional for other types and provide it only for Localhost. Fixes #6772 ( #6773 )
...
Signed-off-by: glaxman <508625+glaxman@users.noreply.github.com >
2025-05-01 09:29:03 +05:30
Oleg Tsymbal
b4f9db4af8
Fix(Helm): make tolerations, nodeSelector, affinity more generic ( #6771 )
...
* Fix(Helm): make tolerations, nodeSelector, affinity more generic
Signed-off-by: Oleg Tsymbal <dzirg44@gmail.com >
* Fix(Helm): make conditionals if and with consistent
Signed-off-by: Oleg Tsymbal <dzirg44@gmail.com >
* Fix(Helm): trigger the build to see if it is a problem with timeout
Signed-off-by: Oleg Tsymbal <dzirg44@gmail.com >
---------
Signed-off-by: Oleg Tsymbal <dzirg44@gmail.com >
2025-04-30 14:13:25 +05:30
PushparajShetty
78c0b2c04e
Chore: update go and golangci version ( #6767 )
...
* update go and golangci version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update staticcheck version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci_lint version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update golangci_lint version
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml and formating in go files
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated .golangci.yaml and formating in go files
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* updated makefile step
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* fix formatting issue
Signed-off-by: Gowtham S <gowthams316@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updated ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgraded go/x/crypto to v0.37.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* go/kin-openapi version to v0.118.0 and go/x/net version upgraded to v0.39.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgrades go/x/oauth2 version to v0.29.0
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* update ginkgo test
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* upgrades alpine image version to 3.21
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updates ginkgo tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
---------
Signed-off-by: Vaibhav Agrawal <vaibhav.agrawal0096@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
Signed-off-by: Gowtham S <gowthams316@gmail.com >
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
2025-04-29 03:46:08 +08:00
Anoop Gopalakrishnan
5d42a3b507
Fix: Failing issue-commands workflow ( #6766 )
...
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-04-25 06:16:59 +08:00
alingse
1588736b4e
Fix: call errors.Wrap with a nil value error err ( #6739 )
...
Signed-off-by: alingse <alingse@foxmail.com >
2025-04-22 03:56:57 +05:30
Amit Singh
27965fb8aa
Chore: updates vuln dependencies versions ( #6757 )
...
* chore: updates vuln dependencies versions
Signed-off-by: Amit Singh <singhamitch@outlook.com >
* fix check-diff tests
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
* updated import for deprecated package
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
---------
Signed-off-by: Amit Singh <singhamitch@outlook.com >
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
Co-authored-by: Gowtham <gowthams316@gmail.com >
Co-authored-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
Co-authored-by: PushparajShetty <116911361+PushparajShetty@users.noreply.github.com >
2025-04-18 10:22:27 +05:30
PushparajShetty
262daacb63
fix the initilization for trait in output section ( #6762 )
...
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
2025-04-18 10:21:54 +05:30
PushparajShetty
fb17af5e75
update workflow package to fix output compatibility ( #6761 )
...
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
2025-04-17 03:14:49 -07:00
jguionnet
5122eb575b
Update score card action version ( #6759 )
...
Signed-off-by: jguionnet <jguionnet@guidewire.com >
2025-04-15 23:25:36 +05:30
Ayush Kumar
d93e292142
feat: add signed releases, SBOMs, and SLSA provenance ( #6749 )
...
- Add SPDX SBOMs for Vela Core and CLI images
- Sign and attest images to GHCR and DockerHub
- Generate and attest SLSA provenance
- Include SBOMs for binaries via GoReleaser
- Sign artifact checksums for integrity
Signed-off-by: Ayush <ayushshyam.official.888@gmail.com >
2025-04-15 11:22:37 +08:00
shivin
f9e15c55ad
upgrade vulnerable packages ( #6755 )
...
Signed-off-by: Gowtham S <gowthams316@gmail.com >
2025-04-14 22:37:52 +05:30
jguionnet
af7f623cba
Feat: added support for stateful set ( #6638 )
...
* StatefulSet Draft
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* First running version
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Add generated component definition
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Adding an statefulset example inline with the component doc
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Adjustment to an example defining a simplistic statefulset and trait
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* Fix PR Review comments
Signed-off-by: jguionnet <jguionnet@guidewire.com >
* After running make reviewable and more ...
Signed-off-by: jguionnet <jguionnet@guidewire.com >
---------
Signed-off-by: jguionnet <jguionnet@guidewire.com >
2025-04-12 07:17:21 +08:00
Ayush Shyam Kumar
d487012468
adds slsa generator to the workflow ( #6747 )
...
Signed-off-by: Shivin Gopalani <gopalanishivin@gmail.com >
Signed-off-by: Ayush <ayushshyam.official.888@gmail.com >
Co-authored-by: Ayush Kumar <aykumar@guidewire.com >
2025-04-09 14:17:56 -07:00
ClarenceLiu
fc8888cb4d
Fix(CUE): remove duplicate tcpSocket in startup-probe ( #6528 )
...
Signed-off-by: ComingCL <1328004790@qq.com >
2025-04-03 21:34:15 +05:30
dependabot[bot]
9558cb8491
Chore: (deps): Bump docker/build-push-action from 6.3.0 to 6.15.0 ( #6740 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 6.3.0 to 6.15.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](1a162644f9...471d1dc4e0 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 22:32:21 +05:30
Chaitanyareddy0702
bde50df3e5
Fix: Vela not deleting the definition revisions after cleaning up the definitions ( #6738 )
...
Signed-off-by: svc-gh-gokarna_gwre <svc-gh-gokarna@guidewire.com >
Co-authored-by: svc-gh-gokarna_gwre <svc-gh-gokarna@guidewire.com >
2025-03-29 06:16:03 +08:00
Vishal Kumar
dba2676cd9
Fix: modified webservice componenet definition to define resource req and … ( #6714 )
...
* modified webservice componenet definition to define resource req and limit
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* maintained backward compatibility and introduce new parameter limit for resource limit
Signed-off-by: vishal210893 <vishal210893@gmail.com >
* updated definition in cue file and run make reviewable command to generate component definition
Signed-off-by: vishal210893 <vishal210893@gmail.com >
---------
Signed-off-by: vishal210893 <vishal210893@gmail.com >
2025-03-27 05:50:27 +08:00
Brian Kane
8ee02c6506
Feat: Enable CueX compiler in component & trait templating ( #6720 )
...
* Feat: Enable CueX compiler in component & trait templating
* Feat: Enable CueX compiler in component & trait templating
Signed-off-by: Brian Kane <briankane1@gmail.com >
---------
Signed-off-by: Brian Kane <briankane1@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-03-25 07:52:51 +08:00
shivin
0751c15ee5
Fix: support task component to be one-time run to completion ( #6733 )
...
* added metadata.name for Job to be combination of app name and component name
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
* make reviewable
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
---------
Signed-off-by: Shivin Gopalani <sgopalani@guidewire.com >
Co-authored-by: Shivin Gopalani <sgopalani@guidewire.com >
2025-03-25 04:56:51 +05:30
dependabot[bot]
1a16e52e36
Chore: (deps): Bump docker/setup-qemu-action from 3.0.0 to 3.6.0 ( #6735 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 3.0.0 to 3.6.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](68827325e0...29109295f8 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-25 02:36:44 +05:30
Jonatas Teixeira
853a077107
Fix(parser) - The app.Spec.Policies[idx].Name must be a valid string ( #6723 )
...
* Fix(parser) - Valid value must be an empty string or consist of alphanumeric characters, '-', '' or '.', and must start and end with an alphanumeric character
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Increase waiting to prevent test start before port-forwared be finished
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Adjust the time
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Increase waiting to prevent test start before port-forwared be finished - By using gomega
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
* Fix(e2e) - Change vela command to get app status
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
---------
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
2025-03-25 02:28:45 +05:30
shivin
c5d9f69c9c
Fix: removing detached clusters from resource trackers ( #6728 )
...
* removing detached clusters from resource trackers
Signed-off-by: Pushparaj Shetty KS <kspushparajshetty@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* resolve merge conflicts
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* resolved code conflicts
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
* update TestGetAddonStatus test case
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
---------
Signed-off-by: Pushparaj Shetty KS <kspushparajshetty@gmail.com >
Signed-off-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
Signed-off-by: Chaitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
Co-authored-by: Shivin Gopalani <sgopalani@guidewire.com >
Co-authored-by: Pushparaj Shetty K S <kspushparajshetty@gmail.com >
2025-03-19 07:35:06 +08:00
dependabot[bot]
e0f162e47d
Chore: (deps): Bump docker/login-action from 3.0.0 to 3.4.0 ( #6726 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 3.0.0 to 3.4.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](343f7c4344...74a5d14239 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-17 22:57:49 +05:30
Chaitanyareddy0702
d9fcebb9e8
Feat: support token retrieval via AuthInfo.Exec command ( #6721 )
...
Signed-off-by: co_gwre <co@guidewire.com >
Co-authored-by: co_gwre <co@guidewire.com >
2025-03-13 07:44:18 +05:30
Anoop Gopalakrishnan
c48ded1994
Fix: build failure due to deprecated actions/cache ( #6711 )
...
CodeQL / Analyze (go) (push) Failing after 35s
E2E MultiCluster Test / detect-noop (push) Successful in 2s
E2E Test / detect-noop (push) Successful in 3s
Go / detect-noop (push) Successful in 2s
license / Check for unapproved licenses (push) Failing after 8s
Registry / publish-core-images (push) Failing after 14s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 27s
Unit-Test / detect-noop (push) Successful in 2s
Definition-Lint / definition-doc (push) Failing after 7m7s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 1m51s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m36s
Go / staticcheck (push) Successful in 2m16s
Go / check-diff (push) Successful in 18m47s
Go / lint (push) Failing after 20m12s
Go / check-cli-image-build (push) Failing after 4m29s
Go / check-core-image-build (push) Successful in 6m31s
Unit-Test / unit-tests (push) Failing after 13m24s
Go / check-windows (push) Has been cancelled
* Fix(build): Upgrade actions/cache version
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Fix(build): Update actions/cache
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
---------
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-03-05 12:03:01 +08:00
yyzxw
424e433963
Feat: add controller metrics ( #6650 )
...
Definition-Lint / definition-doc (push) Failing after 4m24s
E2E MultiCluster Test / detect-noop (push) Successful in 24s
E2E Test / detect-noop (push) Successful in 20s
Go / detect-noop (push) Successful in 23s
license / Check for unapproved licenses (push) Failing after 2m40s
Registry / publish-core-images (push) Failing after 53s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 41s
Unit-Test / detect-noop (push) Successful in 16s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 1m25s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m12s
CodeQL / Analyze (go) (push) Failing after 16m11s
Go / staticcheck (push) Successful in 18m56s
Go / lint (push) Successful in 20m1s
Go / check-diff (push) Failing after 15m2s
Go / check-cli-image-build (push) Failing after 2m41s
Go / check-core-image-build (push) Successful in 18m10s
Unit-Test / unit-tests (push) Failing after 13m17s
Go / check-windows (push) Has been cancelled
* feat: add controller metrics
Signed-off-by: yyzxw <1020938856@qq.com >
* Fix: README changes after make reviewable
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
---------
Signed-off-by: yyzxw <1020938856@qq.com >
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
Co-authored-by: Anoop Gopalakrishnan <2038273+anoop2811@users.noreply.github.com >
Co-authored-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-03-02 17:02:58 -08:00
dependabot[bot]
b51957ef9f
Chore: (deps): Bump golangci/golangci-lint-action from 6.1.1 to 6.5.0 ( #6690 )
...
Definition-Lint / definition-doc (push) Failing after 6m35s
E2E MultiCluster Test / detect-noop (push) Successful in 19s
E2E Test / detect-noop (push) Successful in 16s
Go / detect-noop (push) Successful in 16s
license / Check for unapproved licenses (push) Failing after 2m38s
Registry / publish-core-images (push) Failing after 46s
CodeQL / Analyze (go) (push) Failing after 11m34s
Unit-Test / detect-noop (push) Successful in 2s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 48s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 13s
Go / staticcheck (push) Successful in 2m7s
E2E Test / e2e-tests (v1.29) (push) Failing after 2m23s
Go / lint (push) Successful in 12m8s
Go / check-diff (push) Failing after 15m33s
Go / check-core-image-build (push) Successful in 4m53s
Go / check-cli-image-build (push) Failing after 3m17s
Unit-Test / unit-tests (push) Failing after 5m4s
Go / check-windows (push) Has been cancelled
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 6.1.1 to 6.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](971e284b60...2226d7cb06 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-02 09:25:57 -08:00
huochexizhan
cd0b0988f9
fix: fix incorrect nil return value ( #6705 )
...
Signed-off-by: huochexizhan <huochexizhan@outlook.com >
2025-03-02 09:23:56 -08:00
Taosh
ead624e553
chore: quick deploy button for kubevela ( #6692 )
...
CodeQL / Analyze (go) (push) Failing after 2m48s
E2E MultiCluster Test / detect-noop (push) Successful in 9s
E2E Test / detect-noop (push) Successful in 8s
Go / detect-noop (push) Successful in 8s
license / Check for unapproved licenses (push) Failing after 22s
Registry / publish-core-images (push) Failing after 22s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 35s
Unit-Test / detect-noop (push) Successful in 9s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 27s
E2E Test / e2e-tests (v1.29) (push) Failing after 24s
Definition-Lint / definition-doc (push) Failing after 6m49s
Go / staticcheck (push) Successful in 2m59s
Go / lint (push) Failing after 19m45s
Go / check-diff (push) Failing after 21m3s
Go / check-core-image-build (push) Failing after 5m16s
Go / check-cli-image-build (push) Failing after 3m11s
Unit-Test / unit-tests (push) Failing after 13m17s
Go / check-windows (push) Has been cancelled
Signed-off-by: 青炽 <hanyuntao.hyt@alibaba-inc.com >
Co-authored-by: 青炽 <hanyuntao.hyt@alibaba-inc.com >
2025-02-28 19:07:41 -08:00
Daniel Higuero
f5aed7aefd
Update CODEOWNERS ( #6695 )
...
Remove dhiguero from codeowners
2025-02-28 19:02:20 -08:00
shivin
30249d5297
Fix: fix for skipping deletion of orphan resources ( #6700 )
...
* fix for skipping deletion of orphan resources
Signed-off-by: Pushparaj Shetty KS <kspushparajshetty@gmail.com >
* gofmt fix
Signed-off-by: Pushparaj Shetty KS <kspushparajshetty@gmail.com >
---------
Signed-off-by: Pushparaj Shetty KS <kspushparajshetty@gmail.com >
2025-02-28 19:00:31 -08:00
Anoop Gopalakrishnan
472e1f1e59
Fix: upddate deprecated action versions ( #6702 )
Definition-Lint / definition-doc (push) Failing after 33s
E2E MultiCluster Test / detect-noop (push) Successful in 9s
E2E Test / detect-noop (push) Successful in 9s
Go / detect-noop (push) Successful in 9s
license / Check for unapproved licenses (push) Failing after 15s
CodeQL / Analyze (go) (push) Failing after 1m55s
Registry / publish-core-images (push) Failing after 24s
Unit-Test / detect-noop (push) Successful in 9s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 36s
E2E Test / e2e-tests (v1.29) (push) Failing after 29s
Go / staticcheck (push) Successful in 20m2s
Go / lint (push) Failing after 22m11s
Go / check-core-image-build (push) Successful in 8m59s
Go / check-cli-image-build (push) Successful in 2m41s
Go / check-diff (push) Failing after 15m22s
Unit-Test / unit-tests (push) Failing after 5m29s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 35s
Go / check-windows (push) Has been cancelled
2025-02-28 11:08:05 +08:00
Tianxin Dong
33cd16d425
chore: update workflow to fix the compatibility for outputs ( #6701 )
...
CodeQL / Analyze (go) (push) Failing after 1m38s
E2E MultiCluster Test / detect-noop (push) Successful in 27s
E2E Test / detect-noop (push) Successful in 21s
Go / detect-noop (push) Successful in 26s
Definition-Lint / definition-doc (push) Successful in 3m19s
Registry / publish-core-images (push) Failing after 38s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 28s
Unit-Test / detect-noop (push) Successful in 2s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 19s
E2E Test / e2e-tests (v1.29) (push) Failing after 18s
license / Check for unapproved licenses (push) Failing after 3m3s
Go / staticcheck (push) Successful in 3m8s
Go / lint (push) Failing after 19m52s
Go / check-core-image-build (push) Failing after 4m24s
Go / check-cli-image-build (push) Failing after 3m5s
Go / check-diff (push) Successful in 25m18s
Unit-Test / unit-tests (push) Failing after 12m41s
Go / check-windows (push) Has been cancelled
Signed-off-by: FogDong <fog@bentoml.com >
2025-02-27 00:16:28 +05:30
Amit Singh
793ba55455
fix: switches to new helm repo url ( #6694 )
...
CodeQL / Analyze (go) (push) Failing after 2m2s
Definition-Lint / definition-doc (push) Failing after 7m6s
E2E MultiCluster Test / detect-noop (push) Successful in 25s
E2E Test / detect-noop (push) Successful in 35s
Go / detect-noop (push) Successful in 17s
license / Check for unapproved licenses (push) Failing after 2m49s
Registry / publish-core-images (push) Failing after 55s
Unit-Test / detect-noop (push) Successful in 23s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 2m27s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m37s
Go / staticcheck (push) Successful in 19m8s
Go / lint (push) Failing after 19m44s
Go / check-diff (push) Failing after 15m16s
Go / check-core-image-build (push) Failing after 4m5s
Go / check-cli-image-build (push) Failing after 3m1s
Unit-Test / unit-tests (push) Failing after 13m10s
Go / check-windows (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Failing after 51s
Signed-off-by: Chitanya Reddy Onteddu <chaitanyareddy0702@gmail.com >
2025-02-20 20:41:12 +05:30
Tianxin Dong
711c9f0053
fix: fix addon check ( #6687 )
...
CodeQL / Analyze (go) (push) Failing after 2m21s
Definition-Lint / definition-doc (push) Failing after 7m18s
E2E MultiCluster Test / detect-noop (push) Successful in 26s
E2E Test / detect-noop (push) Successful in 19s
Go / detect-noop (push) Successful in 19s
license / Check for unapproved licenses (push) Failing after 2m57s
Registry / publish-core-images (push) Failing after 45s
Unit-Test / detect-noop (push) Successful in 21s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 1m39s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m21s
Go / staticcheck (push) Successful in 17m18s
Go / lint (push) Failing after 19m39s
Go / check-diff (push) Failing after 14m58s
Go / check-core-image-build (push) Failing after 3m51s
Go / check-cli-image-build (push) Failing after 3m4s
Unit-Test / unit-tests (push) Failing after 12m46s
Go / check-windows (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Failing after 56s
Signed-off-by: FogDong <fog@bentoml.com >
2025-02-12 13:18:39 +08:00
Kanchan Dhamane
bc15e5b359
Feat: Semantic versioning support for Definitions ( #6648 )
...
CodeQL / Analyze (go) (push) Failing after 1m43s
Definition-Lint / definition-doc (push) Failing after 6m13s
E2E MultiCluster Test / detect-noop (push) Successful in 24s
E2E Test / detect-noop (push) Successful in 17s
Go / detect-noop (push) Successful in 21s
license / Check for unapproved licenses (push) Failing after 2m38s
Registry / publish-core-images (push) Failing after 40s
Unit-Test / detect-noop (push) Successful in 20s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 1m55s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m18s
Go / staticcheck (push) Successful in 18m35s
Go / lint (push) Failing after 19m38s
Go / check-diff (push) Failing after 15m7s
Go / check-core-image-build (push) Failing after 3m45s
Go / check-cli-image-build (push) Failing after 2m23s
Unit-Test / unit-tests (push) Failing after 12m43s
Go / check-windows (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Failing after 48s
* feature: Add Semantic versioning to KubeVela Definitions
Fixes https://github.com/kubevela/kubevela/issues/6435
Fixes https://github.com/kubevela/kubevela/issues/6534
Changes:
- Adds an optional "Version" field for all Definition Specs.
- Adds the following new validations to Webhooks for Definitions:
- Validate the "Version" field follows Semantic versioning.
- Dis-allow conflicting versioning fields ( Name annotation, Spec.Version)
- Adds the following new validations to Webhooks for Application:
- Dis-allow the use of both the "publishVersion" & "autoUpdate" annotations.
- Enahnce "multiStageComponentApply" feature to support auto updates.
Boy Scout Changes:
- Fixes Plugin e2e tests broken by the fix for 6534.
- Fixes the dryRun and livediff commands to respect the "-n" namespace flag.
- Fixes the Application ValidationWebhook to respect the "-n" namespace flag.
Co-authored-by: Rahul Kumar <35751394+bugbounce@users.noreply.github.com >
Co-authored-by: Chaitanya Reddy <chaitanyareddy0702@gmail.com >
Co-authored-by: Vibhor Chinda <vibhorchinda@gmail.com >
Co-authored-by: Shivin Gopalani <gopalanishivin@gmail.com >
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
* feature: Add KEP to define the proposal
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
* fix: Rebase and fix merge conflicts
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
* Fix: Adds unit test cases
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
---------
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
Co-authored-by: bugbounce <35751394+bugbounce@users.noreply.github.com >
2025-02-03 11:09:28 +08:00
Eko Simanjuntak
d0d7beb700
fix: return error before accesing mapping resource ( #6660 )
...
CodeQL / Analyze (go) (push) Failing after 2m18s
Definition-Lint / definition-doc (push) Failing after 6m5s
E2E MultiCluster Test / detect-noop (push) Successful in 18s
E2E Test / detect-noop (push) Successful in 21s
Go / detect-noop (push) Successful in 19s
license / Check for unapproved licenses (push) Failing after 2m30s
Registry / publish-core-images (push) Failing after 49s
Unit-Test / detect-noop (push) Successful in 18s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 1m28s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m17s
Go / staticcheck (push) Successful in 18m20s
Go / lint (push) Failing after 19m38s
Go / check-diff (push) Failing after 15m6s
Go / check-core-image-build (push) Failing after 4m1s
Go / check-cli-image-build (push) Failing after 3m2s
Unit-Test / unit-tests (push) Failing after 13m29s
Go / check-windows (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Failing after 41s
Signed-off-by: Eko Simanjuntak <ecojuntak@gmail.com >
2025-01-25 00:36:13 +05:30
dependabot[bot]
e63d8c33ec
Chore: (deps): Bump github.com/go-git/go-git/v5 from 5.8.1 to 5.13.1 ( #6668 )
...
CodeQL / Analyze (go) (push) Failing after 1m30s
Definition-Lint / definition-doc (push) Failing after 6m23s
E2E MultiCluster Test / detect-noop (push) Successful in 22s
E2E Test / detect-noop (push) Successful in 24s
Go / detect-noop (push) Successful in 27s
license / Check for unapproved licenses (push) Failing after 2m46s
Registry / publish-core-images (push) Failing after 1m5s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 46s
Unit-Test / detect-noop (push) Successful in 26s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 3m12s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m13s
Go / staticcheck (push) Successful in 19m3s
Go / lint (push) Failing after 19m42s
Go / check-diff (push) Failing after 11m44s
Go / check-core-image-build (push) Failing after 3m8s
Go / check-cli-image-build (push) Failing after 2m32s
Unit-Test / unit-tests (push) Failing after 12m55s
Go / check-windows (push) Has been cancelled
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.8.1 to 5.13.1.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.8.1...v5.13.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 01:56:32 +05:30
dependabot[bot]
3779f828ae
Chore: (deps): Bump docker/setup-buildx-action from 3.0.0 to 3.8.0 ( #6678 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 3.0.0 to 3.8.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](f95db51fdd...6524bf65af )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 01:54:37 +05:30
dependabot[bot]
4d744a35d4
Chore: (deps): Bump golang.org/x/crypto from 0.25.0 to 0.32.0 ( #6672 )
...
CodeQL / Analyze (go) (push) Failing after 1m54s
Definition-Lint / definition-doc (push) Failing after 7m11s
E2E MultiCluster Test / detect-noop (push) Successful in 25s
E2E Test / detect-noop (push) Successful in 25s
Go / detect-noop (push) Successful in 21s
license / Check for unapproved licenses (push) Failing after 2m40s
Registry / publish-core-images (push) Failing after 38s
Unit-Test / detect-noop (push) Successful in 30s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 3m26s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m13s
Go / staticcheck (push) Successful in 20m3s
Go / lint (push) Failing after 19m36s
Go / check-diff (push) Failing after 15m14s
Go / check-core-image-build (push) Failing after 3m22s
Go / check-cli-image-build (push) Failing after 2m16s
Unit-Test / unit-tests (push) Failing after 12m30s
Go / check-windows (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Failing after 53s
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.25.0 to 0.32.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.32.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-14 03:09:33 +08:00
Thomas Schuetz
9f09436359
Feat: add securityContext and podSecurityContext traits ( #6666 )
...
Definition-Lint / definition-doc (push) Failing after 1m45s
CodeQL / Analyze (go) (push) Failing after 1m49s
E2E MultiCluster Test / detect-noop (push) Successful in 18s
E2E Test / detect-noop (push) Successful in 26s
Go / detect-noop (push) Successful in 21s
Registry / publish-core-images (push) Failing after 1m24s
license / Check for unapproved licenses (push) Failing after 2m53s
Unit-Test / detect-noop (push) Successful in 26s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Failing after 1m56s
E2E Test / e2e-tests (v1.29) (push) Failing after 1m24s
Sync SDK / sync_sdk (push) Failing after 23m1s
Go / staticcheck (push) Successful in 19m14s
Go / check-diff (push) Failing after 15m19s
Go / check-core-image-build (push) Failing after 4m25s
Go / lint (push) Failing after 21m4s
Go / check-cli-image-build (push) Failing after 3m26s
Unit-Test / unit-tests (push) Failing after 8m53s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 20s
Go / check-windows (push) Has been cancelled
* feat: add securityContext and podSecurityContext traits
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
Signed-off-by: Thomas Schütz <thomas.schuetz@karriere.at >
* Fix: broken runner config for workglow (#6669 )
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
Signed-off-by: Thomas Schütz <thomas.schuetz@karriere.at >
* fix: fix spaces at for statements
Signed-off-by: Thomas Schütz <thomas.schuetz@karriere.at >
---------
Signed-off-by: Thomas Schuetz <thomas.schuetz@t-sc.eu >
Signed-off-by: Thomas Schütz <thomas.schuetz@karriere.at >
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
Co-authored-by: Anoop Gopalakrishnan <2038273+anoop2811@users.noreply.github.com >
2025-01-10 22:24:22 +05:30
Anoop Gopalakrishnan
c6765c6ff0
Fix: broken runner config for workglow ( #6669 )
...
CodeQL / Analyze (go) (push) Failing after 8m37s
Definition-Lint / definition-doc (push) Failing after 6m9s
E2E Test / detect-noop (push) Successful in 20s
Go / detect-noop (push) Successful in 25s
license / Check for unapproved licenses (push) Failing after 3m7s
E2E MultiCluster Test / detect-noop (push) Failing after 10m51s
Registry / publish-core-images (push) Failing after 1m5s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 4m5s
Unit-Test / detect-noop (push) Successful in 20s
E2E Test / e2e-tests (v1.29) (push) Failing after 12m25s
Go / staticcheck (push) Successful in 18m25s
Go / lint (push) Failing after 20m3s
Go / check-core-image-build (push) Failing after 4m15s
Go / check-cli-image-build (push) Failing after 3m8s
Go / check-diff (push) Failing after 17m20s
Unit-Test / unit-tests (push) Failing after 13m22s
Go / check-windows (push) Has been cancelled
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Has been cancelled
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2025-01-06 13:37:59 +08:00
Ai Ranthem
a5606b7808
Chore: (deps): Update k8s to 1.29 ( #6654 )
...
CodeQL / Analyze (go) (push) Failing after 6m23s
Definition-Lint / definition-doc (push) Failing after 3m8s
E2E MultiCluster Test / detect-noop (push) Successful in 6s
E2E Test / detect-noop (push) Successful in 3s
Go / detect-noop (push) Successful in 2s
license / Check for unapproved licenses (push) Failing after 18s
Registry / publish-core-images (push) Failing after 1m4s
Unit-Test / detect-noop (push) Successful in 20s
Sync SDK / sync_sdk (push) Failing after 3m9s
Go / staticcheck (push) Successful in 6m17s
Go / check-diff (push) Failing after 19m4s
Go / check-core-image-build (push) Failing after 5m44s
Go / check-cli-image-build (push) Failing after 3m31s
Unit-Test / unit-tests (push) Failing after 13m54s
Go / lint (push) Failing after 1h53m27s
Scorecards supply-chain security / Scorecards analysis (push) Failing after 1m27s
E2E MultiCluster Test / e2e-multi-cluster-tests (v1.29) (push) Has been cancelled
E2E Test / e2e-tests (v1.29) (push) Has been cancelled
Go / check-windows (push) Has been cancelled
* chore: update k8s to 1.29
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: unit test
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: e2e
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix: lint and e2e test
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* test(e2e): increase timeout
Signed-off-by: phantomnat <w.nattadej@gmail.com >
* fix e2e and scripts
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* make reviewable
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* rollback a unnecessary ut change
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
* update go.mod to import merged workflow
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
---------
Signed-off-by: phantomnat <w.nattadej@gmail.com >
Signed-off-by: AiRanthem <zhongtianyun.zty@alibaba-inc.com >
Co-authored-by: phantomnat <w.nattadej@gmail.com >
2025-01-03 07:54:42 +08:00
dependabot[bot]
a6bd2d5fc3
Chore: (deps): Bump golangci/golangci-lint-action from 3.7.0 to 6.1.1 ( #6634 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.7.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](3a91952989...971e284b60 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-10 03:30:43 +05:30
Jonatas Teixeira
f7b1eee7f3
fix: include the build labels and annotaiton metadata ( #6655 )
...
Signed-off-by: Jonatas Teixeira <jonatas.teixeira@hellofresh.com >
2024-12-09 13:15:34 +08:00
HongKuang
903f3dfe44
chore: fix function name in comment ( #6499 )
...
Signed-off-by: hongkuang <liurenhong@outlook.com >
2024-12-03 14:50:37 +08:00
Tianxin Dong
0f780dec75
Feat: add new providers and fix definitions ( #6599 )
...
* feat: add new providers and fix definitions
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix definitions and tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint and helm
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix definitions
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add multicluster
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix e2e
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix dynamic client for cli
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix api gen
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-10-01 12:29:44 +05:30
YoungLH
b1d62aa6ca
Fix: Correct spelling of "application" in deletion message ( #6626 ) ( #6628 )
...
Previously, the deletion message for applications contained a typo where "application" was misspelled as "appplication". This commit corrects the spelling to "application" in the message:
- Before: "Start deleting appplication %s/%s\n"
- After: "Start deleting application %s/%s\n"
This change improves the clarity of the output message when deleting applications.
Signed-off-by: YoungLH <974840768@qq.com >
2024-09-27 14:10:17 +08:00
Chaitanyareddy0702
613174384a
Feat( #6505 ): Add support for Cue Required field feature ( #6622 )
...
* Fix: e2e-tests and unit-tests
- Remove gomega from workflow e2e-test step
- Change the app phase to WorkFlowFailed when there is an error in workflow
- Change the app10.yaml file
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Author: VibhorChinda <vibhorchinda@gmail.com >
* Feat: Add strict cue required field parameter validation
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
---------
Signed-off-by: Chaitanya Reddy Onteddu <co@guidewire.com >
Co-authored-by: VibhorChinda <vibhorchinda@gmail.com >
2024-09-20 20:28:44 +05:30
Tianxin Dong
3f87c6f2e7
fix: fix github action token ( #6608 )
...
Signed-off-by: FogDong <fog@bentoml.com >
2024-08-27 16:52:14 +08:00
Harshita Sao
9370981639
fix: fixed the pinned dependencies issue ( #6602 )
...
Signed-off-by: harshitasao <harshitasao@gmail.com >
2024-08-18 22:36:07 +08:00
Tianxin Dong
0f978aed40
chore: use official workflow version ( #6588 )
...
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-29 14:08:56 +08:00
Tianxin Dong
4f8bf44684
Refactor: use cuex engine ( #6575 )
...
* refactor: use cuex engine
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix static check and sdk tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix testdata
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix docgen parser
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix cuegen
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix velaql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: delete useless print
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set client for ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix mt tests
Signed-off-by: FogDong <fog@bentoml.com >
* fix: set kubeclient in generator
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use pass kube client
Signed-off-by: FogDong <fog@bentoml.com >
* fix: simplify ql
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add wf debug back
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add loader
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-27 17:44:20 +08:00
dependabot[bot]
a565b48ae6
Chore: (deps): Bump actions/setup-node from 4.0.0 to 4.0.3 ( #6582 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 4.0.0 to 4.0.3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](8f152de45c...1e60f620b9 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 20:11:42 +05:30
dependabot[bot]
9993fba94d
Chore: (deps): Bump actions/github-script from 6.4.1 to 7.0.1 ( #6407 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6.4.1 to 7.0.1.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](d7906e4ad0...60a0d83039 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 20:09:05 +05:30
shreyas pandya
e3f0a6006d
Fix(docs): documentation where schematic for component definition refers to kube ( #6579 )
...
* cue structure implemented
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
* indent fix
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
* Fix(docs): correct example by changing schematic from kube to cue
- fixes #6436
Signed-off-by: Shreyas <pandyashreyas1@gmail.com >
---------
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
Signed-off-by: Shreyas <pandyashreyas1@gmail.com >
Co-authored-by: Kartikay <kartikay_2101ce32@iitp.ac.in >
2024-07-15 14:27:44 +05:30
dependabot[bot]
4aeeaa7294
Chore: (deps): Bump docker/build-push-action from 5.0.0 to 6.3.0 ( #6571 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5.0.0 to 6.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](0565240e2d...1a162644f9 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-12 22:21:59 +08:00
Kanchan Dhamane
5dbbbce4ea
chore: updates the make fmt command ( #6577 )
...
Signed-off-by: kanchan-dhamane <74534570+kanchan-dhamane@users.noreply.github.com >
2024-07-12 22:19:12 +08:00
Yuping Fan
a0ae9c68ee
Fix(CUE): fix namespaces field missing in the required at affinity trait ( #6567 )
...
Signed-off-by: Yuping Fan <coderfyp@gmail.com >
Co-authored-by: Yuping Fan <coderfyp@gmail.com >
2024-07-10 11:08:43 +08:00
dependabot[bot]
eba6a7001b
Chore: (deps): Bump golang.org/x/crypto from 0.23.0 to 0.25.0 ( #6569 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.23.0 to 0.25.0.
- [Commits](https://github.com/golang/crypto/compare/v0.23.0...v0.25.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 11:07:49 +08:00
Vibhor Chinda
79bf139958
Cleaned/Deleted the worklows after every test case ( #6565 )
...
Signed-off-by: vchinda <vchinda@guidewire.com >
Co-authored-by: vchinda <vchinda@guidewire.com >
2024-07-03 16:12:53 +08:00
Tianxin Dong
82dad1ebbb
Chore: update go version to 1.22 ( #6560 )
...
* chore: update go version to 1.22
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix lint
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix unit test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: update static check tool
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add debug
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr to fix dockerhub rate limit
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr for addons
Signed-off-by: FogDong <fog@bentoml.com >
* fix: add more timeout for e2e multicluster test
Signed-off-by: FogDong <fog@bentoml.com >
* fix: use ghcr
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix e2e addon image
Signed-off-by: FogDong <fog@bentoml.com >
* fix: test addon terraform version
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix admission image
Signed-off-by: FogDong <fog@bentoml.com >
* fix: fix terraform version
Signed-off-by: FogDong <fog@bentoml.com >
---------
Signed-off-by: FogDong <fog@bentoml.com >
2024-07-03 16:10:56 +08:00
Anoop Gopalakrishnan
c085d83aa8
Chore: Add Fog, Anoop and Daniel as codeowners ( #6564 )
...
* Chore: Add Anoop and Daniel as codeowners
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Chore: Add Fog as a codeowner
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
* Chore: Removed @zzxwill due to non existent error
- Codeowners file was saying the the user handle did not have access to
the repo
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
---------
Signed-off-by: Anoop Gopalakrishnan <anoop2811@aol.in >
2024-07-03 16:10:34 +08:00
Chaitanyareddy0702
52873eb7da
Fix: e2e-tests and unit-tests ( #6562 )
...
- Remove gomega from workflow e2e-test step
- Change the app phase to WorkFlowFailed when there is an error in workflow
- Change the app10.yaml file
Signed-off-by: Chaitanyareddy0702 <chaitanyareddy0702@gmail.com >
Author: VibhorChinda <vibhorchinda@gmail.com >
2024-07-02 16:42:55 +08:00
yukunjie
d5709623ae
Fix(CUE): fix volumns variable err bug in vela-cli ( #6537 )
...
Signed-off-by: yukunjie <yukunjie007@163.com >
Co-authored-by: yukunjie <yukunjie007@163.com >
2024-06-17 16:17:34 +08:00
Tianxin Dong
de4f89e914
fix: disable auto maxprocs logging ( #6530 )
...
Signed-off-by: FogDong <fog@bentoml.com >
2024-06-07 16:12:41 +08:00
dependabot[bot]
fdcdf659d8
Chore: (deps): Bump golang.org/x/crypto from 0.21.0 to 0.23.0 ( #6518 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/crypto/compare/v0.21.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 13:24:21 +08:00
dependabot[bot]
856718ef8e
Chore: (deps): Bump golang.org/x/net from 0.21.0 to 0.23.0 ( #6506 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 11:43:28 +08:00
dependabot[bot]
dbd230e7ff
Chore: (deps): Bump github.com/cloudflare/circl from 1.3.3 to 1.3.7 ( #6439 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.3.3 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.3.3...v1.3.7 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 11:40:25 +08:00
Tianxin Dong
8917780555
fix: bump pkg version to fix the client bug ( #6507 )
...
Signed-off-by: FogDong <fog@bentoml.com >
2024-04-22 15:31:51 +08:00
曾子恒
f46bfcf131
Fix(CUE): fix variable error bug in startup-probe ( #6472 )
...
The original variable is "grtcpSocketpc", but this variable does not
exist in the file. According to the context, it should be "tcpSocket".
In addition, its type needs to be int to work properly.
Signed-off-by: zengziheng <zengziheng@datacloak.com >
Co-authored-by: zengziheng <zengziheng@datacloak.com >
2024-04-07 10:38:33 +08:00
yyzxw
5bdd0db6e7
Chore: update chart readme ( #6494 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
Co-authored-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
2024-04-01 16:06:20 +08:00
yyzxw
838ff055b8
chore: ci yaml err ( #6492 )
...
Signed-off-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
Co-authored-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
2024-04-01 10:28:12 +08:00
Awadabang
24756fc507
fix: comma ok ( #6457 )
...
Signed-off-by: Awadabang <sheunggz@gmail.com >
Co-authored-by: Awadabang <sheunggz@gmail.com >
2024-03-15 22:50:47 +08:00
dependabot[bot]
81b54781a2
Chore: (deps): Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 ( #6479 )
...
Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 22:49:56 +08:00
dependabot[bot]
d27cc318f2
Chore: (deps): Bump golang.org/x/crypto from 0.18.0 to 0.21.0 ( #6474 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.18.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.18.0...v0.21.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-15 22:48:51 +08:00
Paul Sweeney
4e16b047f9
Fix: allow different service and container port ( #6477 )
...
Signed-off-by: kolossi <github@kolossi.co.uk >
Co-authored-by: kolossi <kolossi@github.com >
2024-03-15 22:46:22 +08:00
msun1996
c512bbe93a
Fix: zstd encoder concurrency number in k8s container, upgrade kubevela/pkg version to 1.9.0 ( #6462 ) ( #6476 )
...
Signed-off-by: hanzhaoyang <hanzhaoyang@jd.com >
Co-authored-by: hanzhaoyang <hanzhaoyang@jd.com >
2024-03-15 22:44:55 +08:00
Daniel Higuero
1a001e5b29
Address GolangCI lint 1.55 errors ( #6453 )
...
Signed-off-by: Daniel Higuero <daniel@napptive.com >
2024-02-07 17:27:32 +08:00
Paul Sweeney
42d75e09e5
Fix: add cronjob support for annotations, resources, and volumeMounts ( #6422 )
...
* Fix: add cronjob support for annotations, resources, and volumeMounts
Signed-off-by: kolossi <github@kolossi.co.uk >
* Fix: cronjob support change if shortcuts to chained ifs
Signed-off-by: kolossi <github@kolossi.co.uk >
* Fix: cronjob support change if shortcuts to chained ifs
Signed-off-by: kolossi <github@kolossi.co.uk >
---------
Signed-off-by: kolossi <github@kolossi.co.uk >
Co-authored-by: kolossi <kolossi@github.com >
2024-01-22 13:11:52 +08:00
Eray
5101401837
Fix: hpa build-in trait corresponding to cpu parameters when try to use memory ( #6434 )
...
Signed-off-by: Eray Arslan <relfishere@gmail.com >
2024-01-22 13:10:26 +08:00
dependabot[bot]
b9bfc4ac75
Chore: (deps): Bump golang.org/x/crypto from 0.14.0 to 0.18.0 ( #6442 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.14.0 to 0.18.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 13:09:42 +08:00
Tyler Gillson
86dc53afab
Fix: load local ComponentDefinitions recursively ( #6414 )
...
* fix: load local componentdefinitions recursively
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
* test: add dry-run offline def dir test
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
* test: fix unit tests
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
---------
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
2024-01-04 08:47:59 -08:00
Tyler Gillson
62efa9c787
fix: prevent kube client lookup in GetFakeClient ( #6428 )
...
Signed-off-by: Tyler Gillson <tyler.gillson@gmail.com >
2023-12-26 20:44:03 +08:00
dependabot[bot]
0c449d52b1
Chore: (deps): Bump actions/setup-go from 4.1.0 to 5.0.0 ( #6426 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](93397bea11...0c52d547c9 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-26 20:41:14 +08:00
dependabot[bot]
7a69a3b52b
Chore: (deps): Bump fkirc/skip-duplicate-actions from 5.3.0 to 5.3.1 ( #6380 )
...
Bumps [fkirc/skip-duplicate-actions](https://github.com/fkirc/skip-duplicate-actions ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/fkirc/skip-duplicate-actions/releases )
- [Commits](12aca0a884...f75f66ce18 )
---
updated-dependencies:
- dependency-name: fkirc/skip-duplicate-actions
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 11:03:58 +08:00
dependabot[bot]
7973864c22
Chore: (deps): Bump thehanimo/pr-title-checker from 1.4.0 to 1.4.1 ( #6375 )
...
Bumps [thehanimo/pr-title-checker](https://github.com/thehanimo/pr-title-checker ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/thehanimo/pr-title-checker/releases )
- [Commits](https://github.com/thehanimo/pr-title-checker/compare/v1.4.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: thehanimo/pr-title-checker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 11:00:45 +08:00
Daniel Higuero
f88b167b04
Fix: helm template adding namespace ( #6423 )
...
* fix: helm template adding namespace
Signed-off-by: Daniel Higuero <daniel@napptive.com >
* revert commented makefile
Signed-off-by: Daniel Higuero <daniel@napptive.com >
---------
Signed-off-by: Daniel Higuero <daniel@napptive.com >
2023-12-25 10:57:39 +08:00
caiqi1111
8b8c00fbba
Fix: update build.mk ( #6374 )
...
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
2023-12-05 13:13:07 +08:00
Ryan
5f04812d06
Feat: add annotations and labels to gateway.cue ( #6397 )
...
* add annotations and labels to gateway.cue and update gateway.yaml by "make reviewable"
Signed-off-by: YanRyan <527421522@qq.com >
* Update vela-templates/definitions/internal/trait/gateway.cue
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
* Update vela-templates/definitions/internal/trait/gateway.cue
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
* Update vela-templates/definitions/internal/trait/gateway.cue
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
* accept FogDong suggestions, use make reviewablew to update gateway.yaml
Signed-off-by: YanRyan <527421522@qq.com >
* Update vela-templates/definitions/internal/trait/gateway.cue
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com > (+2 squashed commits)
Squashed commits:
[2ad1ed5e3 ] Update vela-templates/definitions/internal/trait/gateway.cue
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
[a644195ae ] Update vela-templates/definitions/internal/trait/gateway.cue
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
---------
Signed-off-by: YanRyan <527421522@qq.com >
Co-authored-by: Tianxin Dong <wuwuglu19@gmail.com >
2023-11-20 14:33:29 +08:00
dependabot[bot]
9c037c8233
Chore: (deps): Bump zeebe-io/backport-action from 1.4.0 to 2.1.1 ( #6399 )
...
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action ) from 1.4.0 to 2.1.1.
- [Release notes](https://github.com/zeebe-io/backport-action/releases )
- [Commits](bd68141f07...08bafb375e )
---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 22:09:43 +08:00
dependabot[bot]
dc14baf1d8
Chore: (deps): Bump github.com/onsi/ginkgo/v2 from 2.11.0 to 2.13.1 ( #6400 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.11.0 to 2.13.1.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.11.0...v2.13.1 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-14 22:09:04 +08:00
dependabot[bot]
003f329b31
Chore: (deps): Bump actions/setup-node from 3.8.1 to 4.0.0 ( #6385 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](5e21ff4d9b...8f152de45c )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-06 15:09:05 +08:00
dependabot[bot]
b036624efc
Chore: (deps): Bump ossf/scorecard-action from 2.2.0 to 2.3.1 ( #6386 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.2.0 to 2.3.1.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](08b4669551...0864cf1902 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-02 17:28:04 +08:00
qiaozp
73c9c75c6f
Chore: bump terraform-controller to v0.8.0 ( #6363 )
...
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-10-01 12:01:07 +08:00
dependabot[bot]
cdcda5c9f9
Chore: (deps): Bump github.com/go-resty/resty/v2 from 2.7.0 to 2.8.0 ( #6357 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-30 22:57:44 -05:00
dependabot[bot]
5861988909
Chore: (deps): Bump actions/checkout from 4.0.0 to 4.1.0 ( #6360 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](3df4ab11eb...8ade135a41 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-27 08:19:22 +08:00
Mcduller
d3581b9189
Fix: fix the vela show error when format the output markdown ( #6356 )
...
Signed-off-by: Mcduller <1596582524@qq.com >
2023-09-25 14:34:37 +08:00
caiqi1111
30fb7a56a0
Fix: validate cue template in webhook handler and add policyvaladatin… ( #6355 )
2023-09-22 08:42:12 -05:00
caiqi1111
786e0f7755
Fix: update traitdefinitions apiVersions in validatingWebhookConfigur… ( #6352 )
...
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
2023-09-21 11:44:28 +08:00
dependabot[bot]
544cc4afb6
Chore: (deps): Bump docker/setup-buildx-action from 2.10.0 to 3.0.0 ( #6351 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.10.0 to 3.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](885d1462b8...f95db51fdd )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-20 10:53:54 +08:00
Anoop Gopalakrishnan
a07acc02c9
Feat: Add command to list all workflows in vela-cli ( #6326 )
...
- fixes #6326
Signed-off-by: Muralicharan Gurumoorthy <muralicharan.gurumoorthy@gmail.com >
Co-authored-by: Muralicharan Gurumoorthy <muralicharan.gurumoorthy@gmail.com >
2023-09-20 10:19:08 +08:00
dependabot[bot]
26faaaf4f9
Chore: (deps): Bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 ( #6346 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 18:11:24 +08:00
dependabot[bot]
ac9aa16579
Chore: (deps): Bump docker/login-action from 2.2.0 to 3.0.0 ( #6349 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](465a07811f...343f7c4344 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 16:52:37 +08:00
dependabot[bot]
a8cc84587c
Chore: (deps): Bump goreleaser/goreleaser-action from 4.6.0 to 5.0.0 ( #6348 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4.6.0 to 5.0.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](5fdedb94ab...7ec5c2b0c6 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 16:52:16 +08:00
dependabot[bot]
263081a105
Chore: (deps): Bump docker/setup-qemu-action from 2.2.0 to 3.0.0 ( #6350 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](2b82ce82d5...68827325e0 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 16:50:12 +08:00
dependabot[bot]
308819db33
Chore: (deps): Bump github.com/hashicorp/hcl/v2 from 2.17.0 to 2.18.0 ( #6344 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.17.0 to 2.18.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.17.0...v2.18.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 15:25:36 +08:00
dependabot[bot]
0defc5d312
Chore: (deps): Bump golang.org/x/crypto from 0.12.0 to 0.13.0 ( #6347 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/crypto/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 15:25:18 +08:00
qiaozp
c8d53c103c
Fix: unit test for http pkg ( #6354 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-09-19 15:24:45 +08:00
dependabot[bot]
3655a90dfe
Chore: (deps): Bump docker/build-push-action from 4.1.1 to 5.0.0 ( #6340 )
2023-09-13 03:43:45 +00:00
dependabot[bot]
e94426963d
Chore: (deps): Bump actions/upload-artifact from 3.1.2 to 3.1.3 ( #6337 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](0b7f8abb15...a8a3f3ad30 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:15:53 +08:00
yyzxw
5d8543fd8b
Fix: gateway triat miss port name ( #6329 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-09-13 10:03:37 +08:00
dependabot[bot]
48d1ba0538
Chore: (deps): Bump github.com/xanzy/go-gitlab from 0.90.0 to 0.91.1 ( #6323 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.90.0 to 0.91.1.
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.90.0...v0.91.1 )
---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:03:20 +08:00
dependabot[bot]
eb1bb69a3e
Chore: (deps): Bump github.com/cyphar/filepath-securejoin from 0.2.3 to 0.2.4 ( #6330 )
...
Bumps [github.com/cyphar/filepath-securejoin](https://github.com/cyphar/filepath-securejoin ) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/cyphar/filepath-securejoin/releases )
- [Commits](https://github.com/cyphar/filepath-securejoin/compare/v0.2.3...v0.2.4 )
---
updated-dependencies:
- dependency-name: github.com/cyphar/filepath-securejoin
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:02:46 +08:00
dependabot[bot]
a39a8356bd
Chore: (deps): Bump actions/checkout from 3.6.0 to 4.0.0 ( #6338 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](f43a0e5ff2...3df4ab11eb )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 10:00:47 +08:00
dependabot[bot]
e3dc76d0cd
Chore: (deps): Bump goreleaser/goreleaser-action from 4.4.0 to 4.6.0 ( #6336 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4.4.0 to 4.6.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](3fa32b8bb5...5fdedb94ab )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 09:59:16 +08:00
dependabot[bot]
5be6f38e54
Chore: (deps): Bump actions/cache from 3.3.1 to 3.3.2 ( #6334 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](88522ab9f3...704facf57e )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 09:58:44 +08:00
dependabot[bot]
6961587c7f
Chore: (deps): Bump golang.org/x/text from 0.12.0 to 0.13.0 ( #6322 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.12.0...v0.13.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 11:39:42 +08:00
qiaozp
6cbc12f9bb
Fix: addon dependency package retrieving is not compatible to v-prefixed version ( #6316 )
2023-09-02 21:00:41 +08:00
dependabot[bot]
08548968f0
Chore: (deps): Bump github.com/onsi/gomega from 1.27.8 to 1.27.10 ( #6307 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.27.8 to 1.27.10.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.27.8...v1.27.10 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 16:04:50 +08:00
JohnJan
d787e95a08
Feat: apply-component supports namespace ( #6248 )
2023-08-31 14:08:48 +08:00
dependabot[bot]
c4f9c8f63f
Chore: (deps): Bump gomodules.xyz/jsonpatch/v2 from 2.3.0 to 2.4.0 ( #6308 )
...
Bumps [gomodules.xyz/jsonpatch/v2](https://github.com/gomodules/jsonpatch ) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/gomodules/jsonpatch/releases )
- [Changelog](https://github.com/gomodules/jsonpatch/blob/release-2.0/CHANGELOG.md )
- [Commits](https://github.com/gomodules/jsonpatch/compare/v2.3.0...v2.4.0 )
---
updated-dependencies:
- dependency-name: gomodules.xyz/jsonpatch/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:57:35 +08:00
dependabot[bot]
6ee7eb345b
Chore: (deps): Bump docker/setup-buildx-action from 2.9.1 to 2.10.0 ( #6310 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](4c0219f9ac...885d1462b8 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:57:12 +08:00
dependabot[bot]
b5d42d3d4e
Chore: (deps): Bump github.com/containerd/containerd from 1.7.3 to 1.7.5 ( #6306 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.7.3 to 1.7.5.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.7.3...v1.7.5 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:56:37 +08:00
dependabot[bot]
662597bbca
Chore: (deps): Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 ( #6309 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:56:11 +08:00
dependabot[bot]
9459aae74f
Chore: (deps): Bump actions/checkout from 3.5.3 to 3.6.0 ( #6311 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](c85c95e3d7...f43a0e5ff2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 21:55:23 +08:00
qiaozp
94cbcad471
Chore: tidy appHandler ( #6300 )
2023-08-28 11:01:33 +08:00
Mcduller
68a2223353
Fix: fix the error when create the same secret twice ( #6290 )
...
Signed-off-by: Mcduller <1596582524@qq.com >
2023-08-28 00:11:58 +08:00
yyzxw
15c0b1e218
Feat: enable unknown flags ( #6303 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-08-27 17:20:25 +08:00
意琦行
faf5502fae
fix: hide msg when no cluster uninstall ( #6294 )
2023-08-25 12:27:40 +08:00
suwliang3
bdf9bf16b8
feature: identity addon from helm chart structure ( #6288 )
...
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-08-24 10:29:19 +08:00
JohnJan
6afe75efa6
Fix: container-ports trait reserve port name ( #6274 )
2023-08-23 15:09:56 +08:00
suwliang3
88a85eacb6
feature: add an annotation for the addon ( #6256 )
...
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-08-22 17:30:12 +08:00
Pranav
c315e81757
Fix: Print command output using stdout channel #6268 ( #6273 )
...
Co-authored-by: Priyanaka Kotturi
2023-08-22 09:55:20 +08:00
dependabot[bot]
5b6b66a5cc
Chore: (deps): Bump zeebe-io/backport-action from 1.3.1 to 1.4.0 ( #6278 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 23:45:10 +08:00
dependabot[bot]
103bd9b42e
Chore: (deps): Bump golang.org/x/tools from 0.11.0 to 0.12.0 ( #6283 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 23:43:56 +08:00
yyzxw
b494185481
chore: add lint fix ( #6275 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-08-21 18:02:13 +08:00
dependabot[bot]
9d479b7f7c
Chore: (deps): Bump github.com/oam-dev/terraform-controller ( #6284 )
...
Bumps [github.com/oam-dev/terraform-controller](https://github.com/oam-dev/terraform-controller ) from 0.7.11 to 0.7.12.
- [Release notes](https://github.com/oam-dev/terraform-controller/releases )
- [Commits](https://github.com/oam-dev/terraform-controller/compare/v0.7.11...v0.7.12 )
---
updated-dependencies:
- dependency-name: github.com/oam-dev/terraform-controller
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 18:00:39 +08:00
dependabot[bot]
629592c7e7
Chore: (deps): Bump github.com/xanzy/go-gitlab from 0.86.0 to 0.90.0 ( #6282 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.86.0 to 0.90.0.
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.86.0...v0.90.0 )
---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 17:59:50 +08:00
dependabot[bot]
b06dec994a
Chore: (deps): Bump github.com/containerd/containerd from 1.7.2 to 1.7.3 ( #6281 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.7.2...v1.7.3 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 17:59:16 +08:00
dependabot[bot]
4218faac4b
Chore: (deps): Bump golang.org/x/term from 0.10.0 to 0.11.0 ( #6280 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.10.0 to 0.11.0.
- [Commits](https://github.com/golang/term/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 17:57:34 +08:00
dependabot[bot]
555e94a10c
Chore: (deps): Bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 ( #6279 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](639cd343e1...3a91952989 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 17:54:46 +08:00
dependabot[bot]
5349f1663f
Chore: (deps): Bump actions/setup-node from 3.7.0 to 3.8.1 ( #6277 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.7.0 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](e33196f742...5e21ff4d9b )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 17:54:08 +08:00
dependabot[bot]
4778aacaaf
Chore: (deps): Bump docker/setup-buildx-action from 2.9.0 to 2.9.1 ( #6215 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](2a1a44ac4a...4c0219f9ac )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:42:11 +08:00
dependabot[bot]
dab2059bf8
Chore: (deps): Bump actions/setup-go from 4.0.1 to 4.1.0 ( #6266 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](fac708d667...93397bea11 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:41:46 +08:00
dependabot[bot]
9c57c09878
Chore: (deps): Bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 ( #6267 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](336e29918d...3fa32b8bb5 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 11:52:59 +08:00
dependabot[bot]
cc1ac251ce
Chore: (deps): Bump github.com/google/go-containerregistry ( #6264 )
...
Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry ) from 0.15.2 to 0.16.1.
- [Release notes](https://github.com/google/go-containerregistry/releases )
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml )
- [Commits](https://github.com/google/go-containerregistry/compare/v0.15.2...v0.16.1 )
---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 11:52:24 +08:00
dependabot[bot]
18fb098fce
Chore: (deps): Bump golang.org/x/text from 0.11.0 to 0.12.0 ( #6262 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.11.0...v0.12.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 11:51:51 +08:00
qiaozp
5a5721048c
Refactor: organize appHandler, remove unused flags ( #6254 )
2023-08-11 12:50:22 +08:00
qiaozp
bab5bb2caf
Refactor: capabilities and workload in appfile parsing ( #6250 )
2023-08-10 14:41:20 +08:00
dependabot[bot]
cce1859294
Chore: (deps): Bump github.com/go-git/go-git/v5 from 5.7.0 to 5.8.1 ( #6239 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 17:11:03 +08:00
Daniel Higuero
72bb0798ef
Fix: test timeout due to hardcoded goproxy ( #6246 )
...
Co-authored-by: JohnJan <wuzhongjian_yewu@cmss.chinamobile.com >
2023-08-08 09:43:41 +08:00
qiaozp
29aa2b9644
Fix: issue bot permission ( #6245 )
2023-08-07 17:10:50 +08:00
qiaozp
307d1db36d
Chore: revert "Feat: apply-component supports namespace" ( #6247 )
2023-08-07 15:44:20 +08:00
qiaozp
00ae0c9494
Feat: support offline dryrun with deploy step ( #6234 )
2023-07-26 18:09:01 +08:00
JohnJan
f0357fdc8f
Feat: apply-component supports namespace ( #6228 )
...
* Feat: apply-component supports namespace
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: apply-component supports namespace
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-07-25 10:31:18 +08:00
dependabot[bot]
ef8b0ac00f
Chore: (deps): Bump github.com/mattn/go-runewidth from 0.0.14 to 0.0.15 ( #6229 )
...
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth ) from 0.0.14 to 0.0.15.
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.14...v0.0.15 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 17:23:38 +08:00
suwliang3
aaaf2bddac
bug: The log printing error for the addon module ( #6207 )
...
Signed-off-by: suwanliang <suwanliang@cmss.chinamobile.com >
Co-authored-by: suwanliang <suwanliang@cmss.chinamobile.com >
2023-07-24 17:22:53 +08:00
dependabot[bot]
eeb6f08edf
Chore: (deps): Bump golang.org/x/tools from 0.10.0 to 0.11.0 ( #6217 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-24 13:37:50 +08:00
JohnJan
b9f1cc97a9
Feat: add container-ports trait for hostPort and hostIP ( #6187 )
...
* Feat: add container-ports trait for hostPort and hostIP
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: add container-ports trait for hostPort and hostIP
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: add container-ports trait for hostPort and hostIP
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: add container-ports trait for hostPort and hostIP
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: add container-ports trait for hostPort and hostIP
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-07-11 18:44:05 +08:00
Jianbo Sun
2117554d53
Fix: add deploy as built-in step to avoid parse in offline mode ( #6201 )
2023-07-11 17:23:32 +08:00
dependabot[bot]
9edd6ebc30
Chore: (deps): Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 ( #6195 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 09:51:26 +08:00
dependabot[bot]
ccdfc409a8
Chore: (deps): Bump golang.org/x/term from 0.9.0 to 0.10.0 ( #6197 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/term/compare/v0.9.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 22:43:09 +08:00
dependabot[bot]
449b3e0b49
Chore: (deps): Bump RyanSiu1995/kubebuilder-action ( #6192 )
...
Bumps [RyanSiu1995/kubebuilder-action](https://github.com/ryansiu1995/kubebuilder-action ) from ed0e300b13152c2c2bfb104475665c7bf609332f to 7170cb0476187070ae04cbb6cee305e809de2693.
- [Release notes](https://github.com/ryansiu1995/kubebuilder-action/releases )
- [Commits](ed0e300b13...7170cb0476 )
---
updated-dependencies:
- dependency-name: RyanSiu1995/kubebuilder-action
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 22:42:39 +08:00
dependabot[bot]
8be1fb29b4
Chore: (deps): Bump github.com/prometheus/client_golang ( #6198 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.15.1...v1.16.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:33:45 +08:00
dependabot[bot]
b42e6cf1e6
Chore: (deps): Bump golang.org/x/text from 0.10.0 to 0.11.0 ( #6196 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.10.0...v0.11.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:32:43 +08:00
dependabot[bot]
096afa227b
Chore: (deps): Bump docker/setup-buildx-action from 2.8.0 to 2.9.0 ( #6193 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](16c0bc4a6e...2a1a44ac4a )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:32:16 +08:00
dependabot[bot]
57b74c3687
Chore: (deps): Bump actions/setup-node from 3.6.0 to 3.7.0 ( #6194 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](64ed1c7eab...e33196f742 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 19:24:58 +08:00
dependabot[bot]
9203bbcdb8
Chore: (deps): Bump github.com/kubevela/workflow ( #6177 )
...
Bumps [github.com/kubevela/workflow](https://github.com/kubevela/workflow ) from 0.5.1-0.20230412142834-be9e5a10baf0 to 0.6.0.
- [Release notes](https://github.com/kubevela/workflow/releases )
- [Commits](https://github.com/kubevela/workflow/commits/v0.6.0 )
---
updated-dependencies:
- dependency-name: github.com/kubevela/workflow
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-06 16:48:47 +08:00
JohnJan
f3e920ab60
Refactor: parse workloads ( #6185 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-07-05 09:49:34 +08:00
Tanjim Hossain
6893a2b776
fix arm64 build, rm --platform flags in Dockerfile ( #6170 )
...
explicitly specify alpine version
explicitly specify alpine version
Signed-off-by: Audacious Tux <tangimhossain1@gmail.com >
2023-07-04 15:39:58 +08:00
Jianbo Sun
4637e3a918
Revert: "Feat: support applicator applying resources and update status ( #6030 )" ( #6182 )
2023-07-04 14:06:28 +08:00
dependabot[bot]
118f022cf5
Chore: (deps): Bump github.com/xanzy/go-gitlab from 0.85.0 to 0.86.0 ( #6180 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.85.0 to 0.86.0.
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.85.0...v0.86.0 )
---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-04 12:17:36 +08:00
qiaozp
dabaf03e73
Chore: swtich between old and new registry in vela install ( #6173 )
...
* Chore: swtich between old and new registry in vela install
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add comments
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* minor fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-07-04 12:15:30 +08:00
iyear
64e4ab813d
Fix: top command abnormal render ( #6174 )
...
* Fix: top command abnormal render
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: imports
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: gomod
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-07-04 12:09:02 +08:00
dependabot[bot]
2808de4733
Chore: (deps): Bump docker/setup-buildx-action from 2.7.0 to 2.8.0 ( #6175 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](ecf95283f0...16c0bc4a6e )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 23:31:05 +08:00
dependabot[bot]
8059c30f57
Chore: (deps): Bump sigs.k8s.io/gateway-api from 0.7.0 to 0.7.1 ( #6179 )
...
Bumps [sigs.k8s.io/gateway-api](https://github.com/kubernetes-sigs/gateway-api ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/kubernetes-sigs/gateway-api/releases )
- [Changelog](https://github.com/kubernetes-sigs/gateway-api/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kubernetes-sigs/gateway-api/compare/v0.7.0...v0.7.1 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/gateway-api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 23:30:56 +08:00
Somefive
48cf6fb10e
Fix: vela install chart switch place ( #6153 )
...
* Fix: vela install chart switch place
Signed-off-by: Somefive <Somefive@foxmail.com >
* Fix: test case replace url
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
---------
Signed-off-by: Somefive <Somefive@foxmail.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Co-authored-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-06-29 17:48:12 +08:00
StevenLeiZhang
90246065d9
Fix: vela dry-run can not render Applicaiton, if x-definition(Compnent/Trait) is not installed to vela-system namespace ( #6135 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-06-27 23:08:23 +08:00
dependabot[bot]
6e1cb04cd4
Chore: (deps): Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 ( #6155 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 19:07:38 +08:00
dependabot[bot]
b8259c9979
Chore: (deps): Bump github.com/onsi/ginkgo/v2 from 2.10.0 to 2.11.0 ( #6159 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.10.0...v2.11.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 19:07:16 +08:00
dependabot[bot]
110d475ae0
Chore: (deps): Bump github.com/go-git/go-git/v5 from 5.6.1 to 5.7.0 ( #6156 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 10:23:55 +08:00
dependabot[bot]
141f7dcdeb
Chore: (deps): Bump github.com/oam-dev/terraform-controller from 0.7.10 to 0.7.11 ( #6157 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 10:23:22 +08:00
dependabot[bot]
1baa125cc1
Chore: (deps): Bump ossf/scorecard-action from 2.1.3 to 2.2.0 ( #6160 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 10:21:43 +08:00
dependabot[bot]
7d3854d86a
Chore: (deps): Bump sigs.k8s.io/kind from 0.18.0 to 0.20.0 ( #6158 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 10:14:01 +08:00
Somefive
6e9063d40c
Fix: ci definition lint wrong config ( #6148 )
...
Signed-off-by: Somefive <Somefive@foxmail.com >
2023-06-21 13:48:53 +08:00
Somefive
c4f14ad261
Fix: remove forbid redirect for http get ( #6147 )
2023-06-21 13:46:44 +08:00
Somefive
257695f073
Fix: addon registry use kubevela.github.io and support redirect ( #6133 )
2023-06-20 16:30:27 +08:00
dependabot[bot]
162a8f346a
Chore: (deps): Bump docker/setup-buildx-action from 2.6.0 to 2.7.0 ( #6143 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](6a58db7e0d...ecf95283f0 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 23:19:04 +08:00
dependabot[bot]
9b6019f93d
Chore: (deps): Bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 ( #6141 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](5f1fec7010...639cd343e1 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 18:08:22 +08:00
dependabot[bot]
d283c2fbeb
Chore: (deps): Bump goreleaser/goreleaser-action from 4.2.0 to 4.3.0 ( #6145 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](f82d6c1c34...336e29918d )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 17:57:04 +08:00
dependabot[bot]
10e458c06d
Chore: (deps): Bump golang.org/x/tools from 0.9.3 to 0.10.0 ( #6136 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.9.3...v0.10.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 17:56:40 +08:00
dependabot[bot]
2ca31b41a0
Chore: (deps): Bump github.com/prometheus/client_model ( #6139 )
...
Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model ) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/prometheus/client_model/releases )
- [Commits](https://github.com/prometheus/client_model/compare/v0.3.0...v0.4.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_model
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 17:56:04 +08:00
dependabot[bot]
c43368457f
Chore: (deps): Bump github.com/containerd/containerd from 1.7.1 to 1.7.2 ( #6140 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.7.1...v1.7.2 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 17:54:38 +08:00
dependabot[bot]
69dd0d0b20
Chore: (deps): Bump docker/build-push-action from 4.1.0 to 4.1.1 ( #6142 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](44ea916f6c...2eb1c1961a )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 17:52:04 +08:00
dependabot[bot]
7af4bd5a49
Chore: (deps): Bump zeebe-io/backport-action from 1.3.0 to 1.3.1 ( #6144 )
...
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/zeebe-io/backport-action/releases )
- [Commits](b9f8a0a03e...bf5fdd624b )
---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-19 17:51:35 +08:00
StevenLeiZhang
28004bc26f
Fix: vela top crash, when view Application topology ( #6127 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-06-18 10:20:46 +08:00
Somefive
da3618ad27
Chore: remove useless envbinding env ( #6122 )
...
* Chore: remove useless envbinding env
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix go proxy
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-15 14:50:20 +08:00
zhaohuiweixiao
189555ba16
Refactor: addon dependency installation logic ( #6045 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-15 11:20:50 +08:00
zhaohuiweixiao
49327b8910
Fix: addon args is not changed when reinstall it without args ( #6065 )
...
* Fix: addon args is not changed when reinstall it without args
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: addon args review modify
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-14 16:59:35 +08:00
Somefive
a513029ec8
Fix: vela addon registry add allow redirect ( #6120 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-14 14:22:12 +08:00
dependabot[bot]
b05ea09d5a
Chore: (deps): Bump github.com/getkin/kin-openapi from 0.94.0 to 0.118.0 ( #6106 )
...
Bumps [github.com/getkin/kin-openapi](https://github.com/getkin/kin-openapi ) from 0.94.0 to 0.118.0.
- [Release notes](https://github.com/getkin/kin-openapi/releases )
- [Commits](https://github.com/getkin/kin-openapi/compare/v0.94.0...v0.118.0 )
---
updated-dependencies:
- dependency-name: github.com/getkin/kin-openapi
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-13 12:00:31 +08:00
zhaohuiweixiao
ff52cf58ba
Fix: can not get the APISchema when registry is not version registry ( #6066 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-13 10:36:03 +08:00
zhaohuiweixiao
95fa62164a
Fix: addon status list addon info error when there are mulitiple registries ( #6073 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-06-13 10:34:52 +08:00
dependabot[bot]
b576bee882
Chore: (deps): Bump github.com/onsi/gomega from 1.27.7 to 1.27.8 ( #6105 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.27.7 to 1.27.8.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.27.7...v1.27.8 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 20:52:36 +08:00
dependabot[bot]
9599e67275
Chore: (deps): Bump github.com/hashicorp/hcl/v2 from 2.16.2 to 2.17.0 ( #6107 )
...
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl ) from 2.16.2 to 2.17.0.
- [Release notes](https://github.com/hashicorp/hcl/releases )
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md )
- [Commits](https://github.com/hashicorp/hcl/compare/v2.16.2...v2.17.0 )
---
updated-dependencies:
- dependency-name: github.com/hashicorp/hcl/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 20:52:18 +08:00
dependabot[bot]
8626a4d988
Chore: (deps): Bump docker/setup-qemu-action from 2.1.0 to 2.2.0 ( #6108 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](e81a89b173...2b82ce82d5 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 20:51:42 +08:00
dependabot[bot]
ef2df1231c
Chore: (deps): Bump docker/build-push-action from 4.0.0 to 4.1.0 ( #6109 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](3b5e8027fc...44ea916f6c )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 20:51:30 +08:00
dependabot[bot]
8a794a08cd
Chore: (deps): Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 ( #6104 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.3...v1.8.4 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:55:33 +08:00
dependabot[bot]
36efea15a3
Chore: (deps): Bump docker/login-action from 2.1.0 to 2.2.0 ( #6110 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](f4ef78c080...465a07811f )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:53:21 +08:00
dependabot[bot]
799dfbe781
Chore: (deps): Bump actions/checkout from 3.5.2 to 3.5.3 ( #6112 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](8e5e7e5ab8...c85c95e3d7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:53:00 +08:00
dependabot[bot]
06cacb80a0
Chore: (deps): Bump docker/setup-buildx-action from 2.4.1 to 2.6.0 ( #6111 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2.4.1 to 2.6.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](f03ac48505...6a58db7e0d )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 17:37:09 +08:00
dependabot[bot]
652368fdb3
Chore: (deps): Bump github.com/xanzy/go-gitlab from 0.83.0 to 0.85.0 ( #6103 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.83.0 to 0.85.0.
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.83.0...v0.85.0 )
---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 17:35:42 +08:00
Somefive
f1bae16723
Chore: remove schematic kube and helm ( #6099 )
...
* Chore: remove unused code
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: remove schematic Kube & Helm
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-12 10:41:02 +08:00
suwliang3
c0cbe24dc4
Feat: optimize "application-resource-tree-view" ( #6096 )
...
* feature: Optimize "application-resource-tree-view"
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* fix: go fmt
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* fix: modif staticcheck
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
---------
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-06-09 09:44:36 +08:00
Somefive
c255d21ad6
Chore: remove unnecessary go mod ( #6093 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-08 15:32:57 +08:00
merusso
be3b990df0
Feat( #5861 ): Support addon dependencies version ranges ( #6002 )
...
* Feat(#5861 ): Support addon dependencies version ranges
This change enables addon maintainers to define version ranges for
dependencies in an addon's metadata.yaml file.
This behavior is similar to the version range allowed in the `system`
section of the metadata file. The version range expression for
`dependencies` follows the same format as for `system`.
Example:
```yaml
dependencies:
- name: addon1
version: ">= 2.3.3, < 3.0.0"
- name: addon2
version: ">= 0.1.0, < 1.0.0"
```
When installing an addon, the behavior varies depending on whether the
dependency is already installed.
If a dependency is already installed, the installed version will be
validated against the version range, and installation will fail with an
error if there's a mismatch.
If a dependency is not installed, the version range will be used to
select the addon version to be installed. If no addon version matching
the range exists, the installation will fail with an error.
Fixes #5861
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): remove unused ctx parameter
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): Add comment for IsLocalRegistry
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): unexport AddonInfoMap
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): unexport addonInfo
Signed-off-by: Michael Russo <merusso@gmail.com >
* chore: replace map[string]addonInfo with addonInfoMap for consistency
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix: add short circuit when dependency version is not specified
Signed-off-by: Michael Russo <merusso@gmail.com >
* feat: Add test for multiple validation errors
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix: Run go mod tidy
Signed-off-by: Michael Russo <merusso@gmail.com >
* feat: add tests for ToVersionedRegistry
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix: simplify listInstalledAddons loop
Signed-off-by: Michael Russo <merusso@gmail.com >
* feat: listAvailableAddons returns addons from multiple sources
Changes:
* implement ListAddonInfo in Registry
* add interface to aid testing of listAvailableAddons
* add tests for listAvailableAddons
Signed-off-by: Michael Russo <merusso@gmail.com >
* refactor: simplify validateAddonDependencies
move logic from validateAddonDependencies to
calculateDependencyVersionToInstall.
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): Implicit memory aliasing in for loop.
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): non-wrapping format verb for fmt.Errorf
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): indent-error-flow: (revive)
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): unexported-return
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): exported type comment format (revive)
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): refactor AddonInfo to ItemInfo, avoid "stutter" (revive)
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): add comment to exported method Registry.ListAddonInfo
Signed-off-by: Michael Russo <merusso@gmail.com >
* fix(lint): fix stutter, rename AddonInfoLister to ItemInfoLister
Signed-off-by: Michael Russo <merusso@gmail.com >
* chore: Add suite tests for Registry.ListAddonInfo()
Signed-off-by: Michael Russo <merusso@gmail.com >
* Test: add test cases for addon.sortVersionsDescending
Signed-off-by: Michael Russo <merusso@gmail.com >
---------
Signed-off-by: Michael Russo <merusso@gmail.com >
2023-06-07 11:44:54 +08:00
Yang Gang
30bc8c95f7
Chore: Cache the DiscoveryClient for cli command. ( #6091 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-06-07 09:58:46 +08:00
dependabot[bot]
cacbad3bb5
Chore: (deps): Bump github.com/google/go-containerregistry ( #6081 )
...
Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry ) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/google/go-containerregistry/releases )
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml )
- [Commits](https://github.com/google/go-containerregistry/compare/v0.15.1...v0.15.2 )
---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 10:13:25 +08:00
Yang Gang
114cf4005e
Chore: Fix duplicate logs and parameter wrong hints. ( #6086 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io >
2023-06-06 09:52:09 +08:00
dependabot[bot]
f28c050530
Chore: (deps): Bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 ( #6077 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](08e2f20817...5f1fec7010 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 09:50:24 +08:00
dependabot[bot]
25e4d6278e
Chore: (deps): Bump zeebe-io/backport-action from 1.2.0 to 1.3.0 ( #6078 )
...
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/zeebe-io/backport-action/releases )
- [Commits](a759fd2d7d...b9f8a0a03e )
---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 09:50:08 +08:00
dependabot[bot]
5bbae04963
Chore: (deps): Bump github.com/sirupsen/logrus from 1.9.2 to 1.9.3 ( #6084 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.2 to 1.9.3.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.2...v1.9.3 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-06 09:49:54 +08:00
dependabot[bot]
85213e656d
Chore: (deps): Bump thehanimo/pr-title-checker from 1.3.7 to 1.4.0 ( #6079 )
...
Bumps [thehanimo/pr-title-checker](https://github.com/thehanimo/pr-title-checker ) from 1.3.7 to 1.4.0.
- [Release notes](https://github.com/thehanimo/pr-title-checker/releases )
- [Commits](https://github.com/thehanimo/pr-title-checker/compare/v1.3.7...v1.4.0 )
---
updated-dependencies:
- dependency-name: thehanimo/pr-title-checker
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 17:48:02 +08:00
dependabot[bot]
c07033092e
Chore: (deps): Bump github.com/cloudtty/cloudtty from 0.5.2 to 0.5.3 ( #6083 )
...
Bumps [github.com/cloudtty/cloudtty](https://github.com/cloudtty/cloudtty ) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/cloudtty/cloudtty/releases )
- [Commits](https://github.com/cloudtty/cloudtty/compare/v0.5.2...v0.5.3 )
---
updated-dependencies:
- dependency-name: github.com/cloudtty/cloudtty
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 17:47:41 +08:00
Somefive
8e6bed2340
Fix: application gc not blocked by apprev gc ( #6074 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-05 11:04:23 +08:00
Somefive
f15eba2c5f
Chore: remove legacy rollout and scope ( #6068 )
...
* Chore: remove legacy rollout & scope
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* remove outdated params
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-05 10:57:38 +08:00
qiaozp
057e640ce2
Chore: remove migrated swagger json ( #6075 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-06-05 10:08:42 +08:00
Susheel Pal
715ec0cbe2
Fix: typo ( #6069 )
...
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-06-05 09:35:28 +08:00
Somefive
7a8264ddf3
Fix: issue command permission error ( #6071 )
2023-06-03 08:53:41 +08:00
Somefive
eb4b1a8161
Fix: vela def vet can be used without Kubernetes ( #6063 )
2023-06-01 14:15:45 +08:00
Somefive
1a6dafafde
Feat: support custom cascading gc policy ( #6059 )
2023-06-01 10:12:10 +08:00
Paul Sweeney
e215b18a3e
Feat: Fix ingress service name for multiple gateway traits ( #6067 )
...
Signed-off-by: Paul Sweeney <psweeney@travelrepublic.co.uk >
2023-06-01 09:48:29 +08:00
Somefive
dd899c2b39
Chore: remove outdated apis(v1alppha2 ApplicationConfiguration Component, and HealthScope, Rollout) ( #6041 )
...
* remove outdated api
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix rt test: no component rt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* recover context.revision to component hash
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-06-01 09:32:49 +08:00
yyzxw
d6788f12dd
feature: parallel init cluster info ( #6060 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-31 19:31:08 +08:00
qiaozp
c039328682
Fix: component-pod-view not showing podIP, hostIP, nodeName ( #6058 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-05-31 14:36:46 +08:00
Somefive
af7922d87c
Chore: remove oss upload in CI ( #6051 )
2023-05-31 14:14:05 +08:00
Somefive
04cd510ddc
Chore: use package function to replace parallel function ( #6052 )
2023-05-31 14:01:30 +08:00
yyzxw
1c0f2c4c7d
feature: expose probe params in helm chart ( #6044 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-31 09:46:22 +08:00
Somefive
ff881f930c
Fix: ignore kind not match err for vela def ( #6053 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-30 17:03:41 +08:00
Somefive
057441bc76
Chore: set CLI verbose output to be hidden by default ( #6016 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-30 14:53:41 +08:00
dependabot[bot]
d3b1006935
Chore: (deps): Bump github.com/onsi/gomega from 1.27.6 to 1.27.7 ( #6048 )
...
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega ) from 1.27.6 to 1.27.7.
- [Release notes](https://github.com/onsi/gomega/releases )
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/gomega/compare/v1.27.6...v1.27.7 )
---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 10:57:30 +08:00
dependabot[bot]
8818f5485b
Chore: (deps): Bump github.com/imdario/mergo from 0.3.15 to 0.3.16 ( #6046 )
...
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.15 to 0.3.16.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.15...v0.3.16 )
---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-30 09:52:51 +08:00
dependabot[bot]
159bb73b8f
Chore: (deps): Bump gomodules.xyz/jsonpatch/v2 from 2.2.0 to 2.3.0 ( #6050 )
...
Bumps [gomodules.xyz/jsonpatch/v2](https://github.com/gomodules/jsonpatch ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/gomodules/jsonpatch/releases )
- [Changelog](https://github.com/gomodules/jsonpatch/blob/release-2.0/CHANGELOG.md )
- [Commits](https://github.com/gomodules/jsonpatch/compare/v2.2.0...v2.3.0 )
---
updated-dependencies:
- dependency-name: gomodules.xyz/jsonpatch/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 21:25:28 +08:00
Somefive
268400e163
Feat: support applicator applying resources and update status ( #6030 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-29 17:57:34 +08:00
dependabot[bot]
a1f57e4a90
Chore: (deps): Bump github.com/openkruise/rollouts ( #6047 )
...
Bumps [github.com/openkruise/rollouts](https://github.com/openkruise/rollouts ) from 0.1.1-0.20220622054609-149e5a48da5e to 0.3.0.
- [Release notes](https://github.com/openkruise/rollouts/releases )
- [Changelog](https://github.com/openkruise/rollouts/blob/master/CHANGELOG.md )
- [Commits](https://github.com/openkruise/rollouts/commits/v0.3.0 )
---
updated-dependencies:
- dependency-name: github.com/openkruise/rollouts
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 17:53:17 +08:00
dependabot[bot]
9d214c49f2
Chore: (deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 ( #6049 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-29 17:52:35 +08:00
yyzxw
99ad780261
chore: add controller ut ( #6043 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-29 11:55:06 +08:00
Ahmed Qashlan
a849435db2
Feat(velaql): read max depth for query iterator from env. ( #6039 )
...
* Feat(velaql): read max depth for query iterator from env
Signed-off-by: Ahmed Qashlan <ahmedelqashlan@gmail.com >
* Feat(velaql): read max depth for query iterator from env.
Ref #6014
Signed-off-by: Ahmed Qashlan <ahmedelqashlan@gmail.com >
---------
Signed-off-by: Ahmed Qashlan <ahmedelqashlan@gmail.com >
2023-05-29 10:49:46 +08:00
Somefive
5ccec581e6
Chore: remove acr in ci ( #6040 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-26 15:41:19 +08:00
Somefive
2298dd73dc
Feat: revert ci to kind ( #6035 )
...
* Feat: revert ci to kind
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* feat: use internal runner
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix test bug
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 17:49:44 +08:00
Somefive
ef4bb07fb3
Chore: remove dm ( #6036 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 13:54:35 +08:00
Somefive
4d81ba8909
Feat: support force resource location with dispatch ( #6033 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-25 10:18:50 +08:00
Somefive
0df7803022
Feat: add validation for invalid definition attribute ( #6029 )
...
* Feat: add validation for invalid definition attribute
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix flaky test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-24 16:40:42 +08:00
Somefive
e109d4e525
Chore: upgrade kubebuilder installation in unit-test ci ( #6018 )
...
* Chore: upgrade kubebuilder installation in unit-test ci
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* upgrade ingress in kuebuilder test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-23 14:46:22 +08:00
Somefive
868cd32012
Chore: auto prune ci network after test ( #6028 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-23 14:45:55 +08:00
dependabot[bot]
9246929a1f
Chore: (deps): Bump sigs.k8s.io/gateway-api from 0.6.2 to 0.7.0 ( #6020 )
...
* Chore: (deps): Bump sigs.k8s.io/gateway-api from 0.6.2 to 0.7.0
Bumps [sigs.k8s.io/gateway-api](https://github.com/kubernetes-sigs/gateway-api ) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/kubernetes-sigs/gateway-api/releases )
- [Changelog](https://github.com/kubernetes-sigs/gateway-api/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kubernetes-sigs/gateway-api/compare/v0.6.2...v0.7.0 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/gateway-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Chore: upgrade CRD yaml
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-05-23 14:43:41 +08:00
dependabot[bot]
f080f80779
Chore: (deps): Bump github.com/nacos-group/nacos-sdk-go/v2 ( #6019 )
...
Bumps [github.com/nacos-group/nacos-sdk-go/v2](https://github.com/nacos-group/nacos-sdk-go ) from 2.1.0 to 2.2.2.
- [Release notes](https://github.com/nacos-group/nacos-sdk-go/releases )
- [Commits](https://github.com/nacos-group/nacos-sdk-go/compare/v2.1.0...v2.2.2 )
---
updated-dependencies:
- dependency-name: github.com/nacos-group/nacos-sdk-go/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 11:13:09 +08:00
dependabot[bot]
7b132d62b5
Chore: (deps): Bump golang.org/x/crypto from 0.6.0 to 0.9.0 ( #6021 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.6.0 to 0.9.0.
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 11:10:49 +08:00
Somefive
c66a63909e
Feat: support remote cluster client to allow user use CRD resource in managed cluster without installing CRD to hub cluster ( #6008 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-23 10:15:20 +08:00
dependabot[bot]
2c341db8c0
Chore: (deps): Bump github.com/sirupsen/logrus from 1.9.0 to 1.9.2 ( #6022 )
...
Bumps [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus ) from 1.9.0 to 1.9.2.
- [Release notes](https://github.com/sirupsen/logrus/releases )
- [Changelog](https://github.com/sirupsen/logrus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sirupsen/logrus/compare/v1.9.0...v1.9.2 )
---
updated-dependencies:
- dependency-name: github.com/sirupsen/logrus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 09:41:19 +08:00
dependabot[bot]
da662a2f93
Chore: (deps): Bump actions/setup-go from 4.0.0 to 4.0.1 ( #6023 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](4d34df0c23...fac708d667 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 09:41:05 +08:00
dependabot[bot]
af606be896
Chore: (deps): Bump codecov/codecov-action from 3.1.3 to 3.1.4 ( #6024 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](894ff025c7...eaaf4bedf3 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-23 09:40:51 +08:00
yyzxw
3cb0f7b330
refactor: parse trait & scope ( #6017 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-22 19:21:01 +08:00
dependabot[bot]
338703baf5
Chore: (deps): Bump github.com/containerd/containerd from 1.7.0 to 1.7.1 ( #6025 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.7.0...v1.7.1 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-22 19:09:27 +08:00
caiqi1111
3a933780de
Fix: add cluster information for vela adopt help ( #6015 )
...
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
2023-05-22 16:32:33 +08:00
yyzxw
dc52498b1d
refactor: enhanced code readability ( #6012 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-21 15:19:06 +08:00
Somefive
aa36edbc3a
Fix: ci tool version ( #6011 )
2023-05-19 15:56:44 +08:00
iyear
ff79438c8f
Feat: add gen-cue to Makefile ( #6009 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-05-19 14:44:10 +08:00
yyzxw
933d85c735
chore: add flags test ( #6007 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
Signed-off-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
Co-authored-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
2023-05-18 17:48:05 +08:00
Somefive
1b9bdffd06
fix multicluster adopt ( #5988 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-18 10:44:25 +08:00
iyear
f3f2af81b4
Refactor: transparent and extensible cuegen decl ( #6006 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-05-18 10:00:49 +08:00
Somefive
c4bd532523
Fix: ci docker install ( #6005 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-17 19:59:59 +08:00
Dhanu Saputra
208a4aed2d
Feat: application_controller should be responsible for deleting application revision ( #5739 )
...
* [Feature] application_controller should be responsible for deleting application revision
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* test
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: fix reviews, add tests
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: rebase master
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: make func private
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision clean
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: fix staticcheck
Signed-off-by: dhanu <andreasdhanu@gmail.com >
* delete-app-revision: fix review
Signed-off-by: dhanu <andreasdhanu@gmail.com >
---------
Signed-off-by: dhanu <andreasdhanu@gmail.com >
2023-05-17 17:41:01 +08:00
Somefive
530d7c5bd6
Feat: support resource update policy ( #6003 )
2023-05-17 16:11:06 +08:00
zhaohuiweixiao
eaa7f5821e
Fix: list addon commond displays only the first 20 entries when addon registry is gitlab type ( #5999 )
...
* Fix: list addon commond displays only the first 20 entries when addon registry is gitlab type
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: add tips for registry addon command
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: modify the addon registry command tip
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-05-17 15:32:14 +08:00
Somefive
34d6898fac
Fix: cleanup ci for minimal chart ( #6004 )
2023-05-17 09:47:42 +08:00
Somefive
da8588c887
Feat: support customizing application revision limit number in policy ( #5995 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-16 16:12:37 +08:00
yyzxw
1af82cd282
cleanup: remove unused code and fix typo ( #5986 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
Signed-off-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
Co-authored-by: xiaowu.zhu <xiaowu.zhu@daocloud.io >
2023-05-16 12:37:00 +08:00
Somefive
e0d106024b
Feat: remove vela install version requirement upper bound ( #5996 )
...
* Feat: relax vela install requirement upper bound
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: typo
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-16 11:57:40 +08:00
Dani
fb539048fb
CUE line spaces and typo ( #5997 )
...
Signed-off-by: André Gomes <andre3000pt@gmail.com >
2023-05-16 10:50:31 +08:00
dependabot[bot]
454887e450
Chore: (deps): Bump golang.org/x/sync from 0.1.0 to 0.2.0 ( #5993 )
...
Bumps [golang.org/x/sync](https://github.com/golang/sync ) from 0.1.0 to 0.2.0.
- [Commits](https://github.com/golang/sync/compare/v0.1.0...v0.2.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/sync
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 18:51:03 +08:00
dependabot[bot]
e500c7992e
Chore: (deps): Bump github.com/google/go-containerregistry ( #5991 )
...
Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry ) from 0.14.0 to 0.15.1.
- [Release notes](https://github.com/google/go-containerregistry/releases )
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml )
- [Commits](https://github.com/google/go-containerregistry/compare/v0.14.0...v0.15.1 )
---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 17:42:17 +08:00
dependabot[bot]
f66bd51391
Chore: (deps): Bump github.com/alibabacloud-go/cs-20151215/v3 ( #5990 )
...
Bumps [github.com/alibabacloud-go/cs-20151215/v3](https://github.com/alibabacloud-go/cs-20151215 ) from 3.0.32 to 3.0.35.
- [Release notes](https://github.com/alibabacloud-go/cs-20151215/releases )
- [Changelog](https://github.com/alibabacloud-go/cs-20151215/blob/master/ChangeLog.txt )
- [Commits](https://github.com/alibabacloud-go/cs-20151215/compare/v3.0.32...v3.0.35 )
---
updated-dependencies:
- dependency-name: github.com/alibabacloud-go/cs-20151215/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 17:35:32 +08:00
dependabot[bot]
31a0158d90
Chore: (deps): Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 ( #5992 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.7.0 to 0.8.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.7.0...v0.8.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-15 17:35:13 +08:00
Dani
7b119e687d
Chore: CUE code quality changes ( #5987 )
...
* Update topologyspreadconstraints.cue
Update cue comment standard in one file
Signed-off-by: André Gomes <andre3000pt@gmail.com >
* Update expose.cue
Corrected cue format
Signed-off-by: André Gomes <andre3000pt@gmail.com >
* make reviewable ran
Signed-off-by: André Gomes <andre3000pt@gmail.com >
* Update apply-terraform-config.cue
usae -> usage
Signed-off-by: André Gomes <andre3000pt@gmail.com >
* make reviewable ran again
Signed-off-by: André Gomes <andre3000pt@gmail.com >
---------
Signed-off-by: André Gomes <andre3000pt@gmail.com >
2023-05-15 17:18:21 +08:00
Somefive
d59b116d06
Feat: upgrade ginkgo to v2 ( #5940 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-15 16:07:51 +08:00
Somefive
643429d474
Chore: update dependabot settings ( #5984 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-05-15 09:51:33 +08:00
yyzxw
f6a9d6675d
test: add ut ( #5985 )
...
Signed-off-by: yyzxw <1020938856@qq.com >
2023-05-15 09:50:50 +08:00
Siege Lion
d19bb89ce7
Fix: fix the typo error in vela top ( #5982 )
2023-05-12 22:41:41 +08:00
dependabot[bot]
c56820a164
Chore: (deps): Bump github.com/rogpeppe/go-internal from 1.9.0 to 1.10.0 ( #5963 )
...
Bumps [github.com/rogpeppe/go-internal](https://github.com/rogpeppe/go-internal ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/rogpeppe/go-internal/releases )
- [Commits](https://github.com/rogpeppe/go-internal/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/rogpeppe/go-internal
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 14:25:15 +08:00
iyear
e5b9dca03c
Feat: support def gen-doc command ( #5975 )
...
* Feat: support def gen-doc command
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: ci error
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: typo
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-05-12 14:24:49 +08:00
dependabot[bot]
c8f2c744f8
Chore: (deps): Bump github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible ( #5980 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 13:54:31 +08:00
dependabot[bot]
8a71a96bb4
Chore: (deps): Bump github.com/openkruise/kruise-api from 1.3.0 to 1.4.0 ( #5964 )
...
Bumps [github.com/openkruise/kruise-api](https://github.com/openkruise/kruise-api ) from 1.3.0 to 1.4.0.
- [Commits](https://github.com/openkruise/kruise-api/compare/v1.3.0...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/openkruise/kruise-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 13:46:50 +08:00
dependabot[bot]
4ff33308d2
Chore: (deps): Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 ( #5979 )
...
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl ) from 1.1.0 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases )
- [Commits](https://github.com/cloudflare/circl/compare/v1.1.0...v1.3.3 )
---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-12 13:37:40 +08:00
Paul Sweeney
4a1ed788a0
Fix: Restore service creation for gateway trait ( #5978 )
2023-05-12 13:32:33 +08:00
dependabot[bot]
761c308e6f
Chore: (deps): Bump github.com/onsi/ginkgo/v2 from 2.9.2 to 2.9.4 ( #5960 )
2023-05-10 06:47:56 +00:00
iyear
01e4dcb667
Feat: only print to stdout ( #5958 )
2023-05-10 14:17:16 +08:00
Paul Sweeney
6ca20121e2
Feat: Add support for multiple gateway traits ( #5860 )
...
Co-authored-by: paul <paul@kolossi.co.uk >
2023-05-10 11:21:39 +08:00
iyear
af0556a52b
Feat: provider doc generator ( #5968 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-05-10 10:25:35 +08:00
Xinwei Xiong
68743841cd
Chore: Give the help information of Makefile to make it more clear ( #5638 )
...
* chore(Makefile): Give the help information of Makefile to make it more readable
Signed-off-by: Xinwei Xiong <3293172751nss@gmail.com >
fix: Fixed some spelling mistakes
Signed-off-by: Xinwei Xiong <3293172751nss@gmail.com >
fix: part of the makefile shows a problem
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com >
* fix: makefile targer image-cleanup
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com >
---------
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com >
2023-05-09 18:55:25 +08:00
dependabot[bot]
72560661cc
Chore: (deps): Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 ( #5961 )
2023-05-08 09:43:18 +00:00
suwliang3
c06c5dd9fd
Fix: The addon page displays the deleted addon ( #5924 )
...
Co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com >
2023-05-08 14:10:12 +08:00
dependabot[bot]
df3a9901e9
Chore: (deps): Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 ( #5945 )
2023-05-08 02:32:45 +00:00
dependabot[bot]
932b48dc89
Chore: (deps): Bump golang.org/x/term from 0.6.0 to 0.7.0 ( #5941 )
...
Bumps [golang.org/x/term](https://github.com/golang/term ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/term/releases )
- [Commits](https://github.com/golang/term/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/term
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-06 21:04:17 +08:00
dependabot[bot]
b54a153b25
Chore: (deps): Bump github.com/cloudtty/cloudtty from 0.2.0 to 0.5.2 ( #5942 )
...
Bumps [github.com/cloudtty/cloudtty](https://github.com/cloudtty/cloudtty ) from 0.2.0 to 0.5.2.
- [Release notes](https://github.com/cloudtty/cloudtty/releases )
- [Commits](https://github.com/cloudtty/cloudtty/compare/v0.2.0...v0.5.2 )
---
updated-dependencies:
- dependency-name: github.com/cloudtty/cloudtty
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-06 21:04:01 +08:00
dependabot[bot]
944d782d17
Chore: (deps): Bump github.com/fluxcd/helm-controller/api ( #5953 )
...
Bumps [github.com/fluxcd/helm-controller/api](https://github.com/fluxcd/helm-controller ) from 0.32.1 to 0.32.2.
- [Release notes](https://github.com/fluxcd/helm-controller/releases )
- [Changelog](https://github.com/fluxcd/helm-controller/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fluxcd/helm-controller/compare/v0.32.1...v0.32.2 )
---
updated-dependencies:
- dependency-name: github.com/fluxcd/helm-controller/api
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-06 21:03:38 +08:00
dependabot[bot]
9ffec640f4
Chore: (deps): Bump github.com/prometheus/client_golang ( #5954 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.14.0 to 1.15.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-06 21:03:26 +08:00
zhaohuiweixiao
91e31c1673
Fix: restrict the rules that automatically add topology strategy to addons to be valid only for the yaml type ( #5957 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-05-06 21:47:19 +12:00
iyear
e675cdafc4
Feat: add vela def gen-cue command ( #5956 )
...
* Feat: add vela def gen-cue command
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: golangci-lint G304 error
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: remove useless stat
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: remove useless log
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: type alias
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-05-05 20:26:13 +09:00
Somefive
e828d3c8cf
Feat: allow empty policy name ( #5917 )
2023-05-04 16:48:43 +08:00
Somefive
0921f43262
Chore: update dependabot settings ( #5946 )
2023-05-04 16:39:50 +08:00
qiaozp
5cb942c444
Fix: trait not added in Go SDK ( #5950 )
...
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-05-04 10:20:52 +08:00
dependabot[bot]
258a1abcdd
Chore: (deps): Bump github.com/briandowns/spinner from 1.11.1 to 1.23.0 ( #5824 )
2023-04-28 09:25:14 +00:00
Somefive
5c8a44a066
Chore: upgrade moby dependency to fix security issue ( #5937 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-28 16:16:53 +08:00
Somefive
be85b1d579
add retest for pr ( #5936 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-28 15:47:26 +08:00
dependabot[bot]
392d2382de
Chore: (deps): Bump github.com/google/go-containerregistry ( #5927 )
...
Bumps [github.com/google/go-containerregistry](https://github.com/google/go-containerregistry ) from 0.13.0 to 0.14.0.
- [Release notes](https://github.com/google/go-containerregistry/releases )
- [Changelog](https://github.com/google/go-containerregistry/blob/main/.goreleaser.yml )
- [Commits](https://github.com/google/go-containerregistry/compare/v0.13.0...v0.14.0 )
---
updated-dependencies:
- dependency-name: github.com/google/go-containerregistry
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 15:16:47 +08:00
dependabot[bot]
bf03d9a016
Chore: (deps): Bump github.com/go-logr/logr from 1.2.3 to 1.2.4 ( #5929 )
...
Bumps [github.com/go-logr/logr](https://github.com/go-logr/logr ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/go-logr/logr/releases )
- [Changelog](https://github.com/go-logr/logr/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-logr/logr/compare/v1.2.3...v1.2.4 )
---
updated-dependencies:
- dependency-name: github.com/go-logr/logr
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 15:15:15 +08:00
dependabot[bot]
b3a6b778e7
Chore: (deps): Bump github.com/form3tech-oss/jwt-go ( #5930 )
...
Bumps [github.com/form3tech-oss/jwt-go](https://github.com/form3tech-oss/jwt-go ) from 3.2.3+incompatible to 3.2.5+incompatible.
- [Release notes](https://github.com/form3tech-oss/jwt-go/releases )
- [Changelog](https://github.com/form3tech-oss/jwt-go/blob/master/VERSION_HISTORY.md )
- [Commits](https://github.com/form3tech-oss/jwt-go/compare/v3.2.3...v3.2.5 )
---
updated-dependencies:
- dependency-name: github.com/form3tech-oss/jwt-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-28 15:14:49 +08:00
zhaohuiweixiao
98deab08f5
Fix: install dependency is invalid for runtime addon when it's cluster arg is nil ( #5865 )
...
* Fix: install dependency is invalid for runtime addon when it's clusters arg is nil
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: add unit test for getDependencyArgs and checkDependencyNeedInstall
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: Simplified the checkDependencyNeedInstall func logic
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: add comments for checkDependencyNeedInstall
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-04-28 10:16:33 +08:00
Somefive
d6541d0c4f
Chore: add e2e ci env bootstrap & remove multlcluster legacy rollout ci ( #5926 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-27 13:55:19 +08:00
Somefive
fb79ee433c
Chore: refactor vela cli entrance ( #5909 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-27 10:02:47 +08:00
Somefive
9def4087df
Fix: multicluster disable installation ( #5922 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-26 13:58:47 +08:00
Somefive
b9fa400cd0
Chore: update code owners ( #5923 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-26 11:31:34 +08:00
dependabot[bot]
479221f49f
Chore: (deps): Bump sigs.k8s.io/gateway-api from 0.4.3 to 0.6.2 ( #5829 )
...
* Chore: (deps): Bump sigs.k8s.io/gateway-api from 0.4.3 to 0.6.2
Bumps [sigs.k8s.io/gateway-api](https://github.com/kubernetes-sigs/gateway-api ) from 0.4.3 to 0.6.2.
- [Release notes](https://github.com/kubernetes-sigs/gateway-api/releases )
- [Changelog](https://github.com/kubernetes-sigs/gateway-api/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kubernetes-sigs/gateway-api/compare/v0.4.3...v0.6.2 )
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---
updated-dependencies:
- dependency-name: sigs.k8s.io/gateway-api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix gateway related api
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Somefive <yd219913@alibaba-inc.com >
2023-04-26 10:48:17 +08:00
dependabot[bot]
5df0aa055c
Chore: (deps): Bump github.com/imdario/mergo from 0.3.13 to 0.3.15 ( #5919 )
...
Bumps [github.com/imdario/mergo](https://github.com/imdario/mergo ) from 0.3.13 to 0.3.15.
- [Release notes](https://github.com/imdario/mergo/releases )
- [Commits](https://github.com/imdario/mergo/compare/v0.3.13...v0.3.15 )
---
updated-dependencies:
- dependency-name: github.com/imdario/mergo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 21:22:57 +08:00
dependabot[bot]
babf84f75b
Chore: (deps): Bump sigs.k8s.io/kind from 0.17.0 to 0.18.0 ( #5920 )
...
Bumps [sigs.k8s.io/kind](https://github.com/kubernetes-sigs/kind ) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/kubernetes-sigs/kind/releases )
- [Commits](https://github.com/kubernetes-sigs/kind/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: sigs.k8s.io/kind
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-25 21:22:35 +08:00
iyear
5b8c38ad3e
Feat: initial provider generator ( #5839 )
...
* Feat: initial provider generator
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: distinguish any and ellipsis type
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-04-25 10:30:23 +08:00
dependabot[bot]
434cd4c2d0
Chore: (deps): Bump github.com/onsi/gomega from 1.27.5 to 1.27.6 ( #5912 )
2023-04-24 10:48:14 +00:00
dependabot[bot]
e7d57e96e8
Chore: (deps): Bump codecov/codecov-action from 3.1.2 to 3.1.3 ( #5910 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](40a12dcee2...894ff025c7 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 17:37:20 +08:00
Somefive
bfb673e0c9
Feat: support multi policies ( #5811 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-24 17:02:32 +08:00
Somefive
1c04656834
Fix: upgrade cluster register to support join ocm cluster with k8s 1.24+ ( #5907 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-24 16:47:36 +08:00
dependabot[bot]
6ddb2ec53b
Chore: (deps): Bump github.com/containerd/containerd from 1.6.18 to 1.7.0 ( #5892 )
2023-04-24 07:06:26 +00:00
caiqi1111
b4e499ba37
Fix: support get helm chart values from which index.yaml urls is not … ( #5786 )
...
* Fix: support get helm chart values from which index.yaml urls is not completed
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
* Fix: support get helm chart values from which index.yaml urls is not completed
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
* Fix: support get helm chart values from which index.yaml urls is uncomplted
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
* Fix: support get helm chart values from which index.yaml urls is uncompleted
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
---------
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
2023-04-24 10:30:30 +08:00
Somefive
0174e9aa1f
Fix: multi cluster inline policy load extra definitions ( #5901 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-24 10:19:25 +08:00
Somefive
f328308d8e
Feat: remove unused crd in chart ( #5899 )
...
* Feat: remove unused crd in chart
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-24 09:57:30 +08:00
JohnJan
efb2f1b083
Fix: parse template disable resolve provider functions ( #5905 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-04-24 09:57:16 +08:00
Somefive
1aaab58f15
Feat: upgrade deps ( #5900 )
...
* Chore: cherry-pick #5821 #5822
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: upgrade cluster gateway
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: fix config test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-23 17:50:37 +08:00
Somefive
3de9e391ee
Feat: vela cuex eval ( #5562 )
...
* Feat: vela cuex render
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* feat: CLI command `vela cuex eval <file>`
Signed-off-by: Zhenghao Lou <rhzx3519@gmail.com >
* responsive writer
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Zhenghao Lou <rhzx3519@gmail.com >
Co-authored-by: Zhenghao Lou <rhzx3519@gmail.com >
2023-04-23 10:21:11 +08:00
dependabot[bot]
956eb31f29
Chore: (deps): Bump golang.org/x/text from 0.8.0 to 0.9.0 ( #5897 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.8.0...v0.9.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 22:46:16 +08:00
dependabot[bot]
681144319b
Chore: (deps): Bump github.com/fatih/color from 1.13.0 to 1.15.0 ( #5898 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.13.0 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.13.0...v1.15.0 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 22:43:29 +08:00
iyear
9042ed078b
Fix: make any as top value in cue ( #5893 )
...
* Fix: make any as top value in cue
Signed-off-by: iyear <ljyngup@gmail.com >
* Feat: support different cue special type in type option
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: unit test type option
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-04-21 16:45:34 +08:00
Somefive
dab1618eef
Feat: refactor vela help ( #5895 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-21 14:19:36 +08:00
JohnJan
5549619ef9
Feat: support validate properties with CueX ( #5894 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-04-21 10:05:40 +08:00
dependabot[bot]
a427c1e4c2
Chore: (deps): Bump github.com/oam-dev/cluster-gateway ( #5891 )
...
Bumps [github.com/oam-dev/cluster-gateway](https://github.com/oam-dev/cluster-gateway ) from 1.9.0-alpha.1.0.20230412030221-d9666385607f to 1.9.0-alpha.2.
- [Release notes](https://github.com/oam-dev/cluster-gateway/releases )
- [Commits](https://github.com/oam-dev/cluster-gateway/commits/v1.9.0-alpha.2 )
---
updated-dependencies:
- dependency-name: github.com/oam-dev/cluster-gateway
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-20 17:57:11 +08:00
Somefive
106b7b3670
Feat: support mark stage in gc when workflow failed ( #5882 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-20 14:05:45 +08:00
dependabot[bot]
351cb83f15
Chore: (deps): Bump github.com/xanzy/go-gitlab from 0.80.0 to 0.83.0 ( #5884 )
...
Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab ) from 0.80.0 to 0.83.0.
- [Release notes](https://github.com/xanzy/go-gitlab/releases )
- [Changelog](https://github.com/xanzy/go-gitlab/blob/master/releases_test.go )
- [Commits](https://github.com/xanzy/go-gitlab/compare/v0.80.0...v0.83.0 )
---
updated-dependencies:
- dependency-name: github.com/xanzy/go-gitlab
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 17:45:46 +08:00
JohnJan
3d9b1b68af
Feat: support parse template depends on CueX ( #5848 )
...
* Feat: support parse template depends on CueX
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support parse template depends on CueX
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-04-19 17:40:56 +08:00
Somefive
feb819920e
Feat: support connecting cluster via proxy url ( #5875 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-19 11:12:02 +08:00
Somefive
859702900f
Fix: upgrade dependencies ( #5827 )
...
* Fix: upgrade base
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* upgrade gateway api
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: (deps): Bump codecov/codecov-action from 3.1.1 to 3.1.2
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](d9f34f8cd5...40a12dcee2 )
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix: revert gateway api
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add docker hub login for e2e
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-19 09:39:33 +08:00
Somefive
d1a37eb2d0
Test: pend multicluster rollout test ( #5873 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-18 19:03:13 +08:00
Tianxin Dong
657fcc6c64
Fix: fix terminate suspending steps ( #5872 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-04-18 16:57:30 +08:00
Tianxin Dong
0e77b2bcc3
Chore: update cue to v0.5.0 ( #5869 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-04-18 16:14:45 +08:00
dependabot[bot]
95cc5f1c26
Chore: (deps): Bump actions/checkout from 3.4.0 to 3.5.2 ( #5866 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.4.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](24cb908017...8e5e7e5ab8 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 15:33:21 +08:00
Somefive
61dd692819
Chore: refactor e2e test ( #5871 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-18 14:39:09 +08:00
dependabot[bot]
13eb7876f3
Chore: (deps): Bump github.com/dave/jennifer from 1.6.0 to 1.6.1 ( #5847 )
...
Bumps [github.com/dave/jennifer](https://github.com/dave/jennifer ) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/dave/jennifer/releases )
- [Commits](https://github.com/dave/jennifer/compare/v1.6.0...v1.6.1 )
---
updated-dependencies:
- dependency-name: github.com/dave/jennifer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 16:32:55 +08:00
wyike
2821682c60
fix bug if addon parameter is Empty ( #5856 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-04-14 17:45:09 +08:00
Jianbo Sun
863da991bc
Feat: add new fields for addon metadata ( #5845 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-04-14 17:16:38 +08:00
Basuotian
7b2e294a88
fix typo of clean-jobs example doc ( #5855 )
...
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
2023-04-14 11:32:28 +08:00
Jianbo Sun
08a773341d
Fix: refine the erorr output format ( #5843 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-04-13 15:59:34 +08:00
Tianxin Dong
fea7ae5935
Fix: fix the operate order in suspend & resume ( #5841 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-04-13 11:29:22 +08:00
dependabot[bot]
4a08caf81e
Chore: (deps): Bump k8s.io/klog/v2 from 2.90.0 to 2.90.1 ( #5830 )
...
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog ) from 2.90.0 to 2.90.1.
- [Release notes](https://github.com/kubernetes/klog/releases )
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes/klog/compare/v2.90.0...v2.90.1 )
---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-13 10:58:37 +08:00
Somefive
792f33d471
Feat: migrate prism cluster ( #5836 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-12 20:25:24 +08:00
JohnJan
c007ad8df0
Feat: support config validation depends on CueX ( #5796 )
...
* Feat: support config validation depends on CueX
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support config validation depends on CueX
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support config validation depends on CueX
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support config validation depends on CueX
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-04-12 13:58:12 +08:00
Tianxin Dong
05ac3eaeb7
Fix: fix multi clusters bottom in vela adopt ( #5834 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-04-12 11:52:03 +08:00
Jianbo Sun
39e33c1260
Chore: update pr template and test github copilot ( #5833 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-04-12 10:50:51 +08:00
iyear
167720f2e5
Chore: expose functions and refactor conversion style ( #5828 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-04-11 22:50:01 +08:00
iyear
6397f973d2
Chore: add special field name test case ( #5826 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-04-11 13:04:45 +08:00
dependabot[bot]
abb2732ce5
Chore: (deps): Bump github.com/chartmuseum/helm-push ( #5724 )
...
Bumps [github.com/chartmuseum/helm-push](https://github.com/chartmuseum/helm-push ) from 0.10.2 to 0.10.3.
- [Release notes](https://github.com/chartmuseum/helm-push/releases )
- [Changelog](https://github.com/chartmuseum/helm-push/blob/main/.goreleaser.yml )
- [Commits](https://github.com/chartmuseum/helm-push/compare/v0.10.2...v0.10.3 )
---
updated-dependencies:
- dependency-name: github.com/chartmuseum/helm-push
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 10:11:41 +08:00
dependabot[bot]
ab156efbb5
Chore: (deps): Bump github.com/fluxcd/helm-controller/api ( #5798 )
...
Bumps [github.com/fluxcd/helm-controller/api](https://github.com/fluxcd/helm-controller ) from 0.21.0 to 0.32.1.
- [Release notes](https://github.com/fluxcd/helm-controller/releases )
- [Changelog](https://github.com/fluxcd/helm-controller/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fluxcd/helm-controller/compare/v0.21.0...v0.32.1 )
---
updated-dependencies:
- dependency-name: github.com/fluxcd/helm-controller/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-11 10:08:21 +08:00
Somefive
bfa5f4c641
Feat: upgrade pkg & workflow ( #5819 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-11 09:59:58 +08:00
Somefive
57dd6d105f
Chore: update codeowners ( #5818 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-10 13:59:32 +08:00
Somefive
d8af202242
Feat: upgrade k8s.io to 0.26 ( #5758 )
...
* Feat: upgrade k8s.io to 0.26
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: replace temp replace
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-10 11:19:05 +08:00
qiaozp
5ef0798d89
Chore: bump testing to Kubernetes v1.26 ( #5816 )
...
* Chore: bump testing to Kubernetes v1.25
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix condition in e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Bump e2e-multicluster-test to v1.25
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Bump e2e-rollout-test and rebase
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: EndpointSlice v1beta1 is depracated
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix vela ql test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove comment
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Bump all e2e test environment to v1.26
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-04-07 17:28:51 +08:00
zhaohuiweixiao
76dc154e92
Refactor: the addon dependency installation logic is accurate to the cluster ( #5206 )
...
* Refactor: the addon dependency installation logic is accurate to the cluster
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Fix: optimize the code based on the review
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Feat: add unit test for func checkDependencyNeedInstall
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-04-07 17:15:44 +08:00
Mcduller
eba40ab20d
Feat: support vela def vet the input "dir" and many cue files ( #5806 )
...
* Feat: support vela def vet the input "dir" and many cue files
Signed-off-by: Mcduller <1596582524@qq.com >
* Feat: support vela def vet the input "dir" and many cue files
Signed-off-by: Mcduller <1596582524@qq.com >
---------
Signed-off-by: Mcduller <1596582524@qq.com >
2023-04-07 14:12:37 +08:00
朱晓兵
3ae9381d6c
Feat: compatible with k8s last-applied-configuration while perfer app.oam.dev/last-applied-configuration in annotations ( #5804 )
...
* Fix: when taking over an existing resource for the first time, use kubectl last apply anno
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: '-' || 'skip' return nil
Signed-off-by: zxbyoyoyo <596908030@qq.com >
* Fix: check-diff
Signed-off-by: zxbyoyoyo <596908030@qq.com >
---------
Signed-off-by: zxbyoyoyo <596908030@qq.com >
2023-04-07 11:05:42 +08:00
Tianxin Dong
c128c71e29
Fix: use step id to filter the log data and fix the regex ( #5809 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-04-07 10:39:23 +08:00
iyear
2bd593855b
Fix: can't reuse modified ref options ( #5795 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-04-06 20:02:49 +08:00
Tianxin Dong
3c2d47be6e
Fix: fix step id to name in workflow logs ( #5805 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-04-06 14:56:22 +08:00
qiaozp
c24cbdc6f9
Feat: compatibility on componentDefinition spec.workload.definition field ( #5800 )
...
* Feat: compatibility on componentDefinition spec.workload.definition field
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* rollback
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove hack fallback
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-04-06 11:48:26 +08:00
dependabot[bot]
0a368ec856
Chore: (deps): Bump ossf/scorecard-action from 2.1.2 to 2.1.3 ( #5790 )
2023-04-06 03:05:09 +00:00
Tianxin Dong
7ea237d580
Feat: add mode in steps for step group ( #5799 )
2023-04-06 10:52:48 +08:00
iyear
06eb414f1e
Feat: add type filter option ( #5789 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-04-04 09:56:54 +08:00
wyike
52b1f20e5f
Fix: filter rollout created by rolling-release in vela workflow resume ( #5783 )
...
* filter rollout created by rolling-release
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix golint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* use annotation instead trait type
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* use annotations instead of triat type
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* lint go import
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
---------
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-04-03 15:28:46 +08:00
Somefive
d8f92e0b44
Feat: vela cluster join support overwrite ( #5784 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-04-03 10:12:44 +08:00
zhaohuiweixiao
1a04121894
Feat: list addon with specify registry ( #5780 )
2023-03-31 17:47:41 +08:00
Jianbo Sun
6e4460e3fb
Feat: expose trait with new ports ( #5781 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-03-31 15:56:18 +08:00
Zhenghao Lou
784106cdf3
Fix: component name generated by vela adopt is not in lowecase ( #5775 )
...
CUE: fix the adopt-templates/default.cue
closes #5771
Signed-off-by: Zhenghao Lou <rhzx3519@gmail.com >
2023-03-30 13:58:32 +08:00
wyike
bb34012c3a
Feat: add check prometheus metrics workflowStepDefinition ( #5768 )
...
* add metrics
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add check metrics
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add check-metrics definition example
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
rename example
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add default metrics
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
---------
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-03-30 11:11:25 +08:00
iyear
d5ecb7b870
Refactor: split Generate function ( #5763 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-03-29 17:56:41 +08:00
Tianxin Dong
d4576db82d
Chore: stable the version of workflow to 0.5.0 for 1.8 release ( #5759 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-03-29 11:49:01 +08:00
Somefive
542b32bcf4
Chore: fix definition parse logic and allow if/for comprehension & use op.#Suspend for deploy ( #5743 )
...
* Chore: fix definition parse logic and allow if/for comprehension & use op.#Suspend for deploy
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: flaky mc test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: flaky mc test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-28 15:35:15 +08:00
howieyuen
8619f1c413
Fix: vela top cannot switch the theme ( #5745 )
...
Signed-off-by: howieyuen <howieyuen@outlook.com >
2023-03-28 13:50:00 +08:00
dependabot[bot]
d06d3bee79
Chore: (deps): Bump rajatjindal/krew-release-bot from 0.0.43 to 0.0.46 ( #5747 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-28 09:30:57 +08:00
qiaozp
2e109dd77b
Fix: gateway message is wrong ( #5748 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-03-27 22:25:09 +08:00
Basuotian
1afdb09964
vela adopt support multi-cluster adoption ( #5635 )
...
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
2023-03-27 15:28:44 +08:00
Somefive
b71efddfc8
Feat: fix flacky test ( #5741 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-27 13:52:48 +08:00
Somefive
9dc0db4cfc
Feat: add qps for load test client ( #5733 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-24 18:04:18 +08:00
iyear
de790e6fae
Feat: support nullable option ( #5736 )
...
Signed-off-by: iyear <ljyngup@gmail.com >
2023-03-24 16:24:05 +08:00
Somefive
e70d2a1021
Feat: enhance vela adopt and refactor ( #5728 )
...
* Feat: enhance vela adopt and refactor
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: flaky mc test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-24 16:23:01 +08:00
Somefive
5790e57423
Feat: remove comp name dup check ( #5727 )
2023-03-24 15:21:58 +08:00
Somefive
4aa14fc337
Feat: support pause reconcile ( #5732 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-24 13:19:44 +08:00
iyear
d694dff4de
Refactor: option pattern ( #5720 )
...
* Refactor: option pattern
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: nil check and add tests
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-03-24 12:06:34 +08:00
qiaozp
6b4da4fa45
Feat: add sub-module to Golang SDK ( #5655 )
...
* wait to deal with go.mod
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* seperate def and module modifier
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix module import
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* refine code
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove the pointer reference in loop
generalize the language-specific argument parsing
amend tests
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove focused test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* update command usage
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-03-24 11:28:56 +08:00
S Code Man
fe279cf20d
Fix: fix vela-minimal helm chart unrecognised options ( #5721 )
...
* fix(vela-minimal): fix unrecognised options
Signed-off-by: florent.madiot.e <florent.madiot.e@thalesdigital.io >
* Fix(vela-minimal): make reviewable
Signed-off-by: florent.madiot.e <florent.madiot.e@thalesdigital.io >
---------
Signed-off-by: florent.madiot.e <florent.madiot.e@thalesdigital.io >
2023-03-24 11:28:35 +08:00
Somefive
80da131171
Feat: upgrade helm values ( #5722 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-23 18:40:06 +08:00
dependabot[bot]
332c7e42a7
Chore: (deps): Bump github.com/go-git/go-git/v5 from 5.5.1 to 5.6.1 ( #5715 )
...
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git ) from 5.5.1 to 5.6.1.
- [Release notes](https://github.com/go-git/go-git/releases )
- [Commits](https://github.com/go-git/go-git/compare/v5.5.1...v5.6.1 )
---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 13:03:14 +08:00
dependabot[bot]
7f1def40ad
Chore: (deps): Bump github.com/xlab/treeprint from 1.1.0 to 1.2.0 ( #5667 )
...
Bumps [github.com/xlab/treeprint](https://github.com/xlab/treeprint ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/xlab/treeprint/releases )
- [Commits](https://github.com/xlab/treeprint/compare/v1.1.0...v1.2.0 )
---
updated-dependencies:
- dependency-name: github.com/xlab/treeprint
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-22 13:02:38 +08:00
iyear
6976b2ba0c
Feat: CUE generator with type conversion ( #5585 )
...
* Feat: CUE generator with type conversion
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: golangci-lint error
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: add licenses
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: go mod tidy
Signed-off-by: iyear <ljyngup@gmail.com >
* Tests: add util unit tests
Signed-off-by: iyear <ljyngup@gmail.com >
* Tests: add registry unit tests
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: add util_test.go header license
Signed-off-by: iyear <ljyngup@gmail.com >
* Tests: add tag unit tests
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: small bugs
Signed-off-by: iyear <ljyngup@gmail.com >
* Tests: add testdata
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: add licenses to testdata go files
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: modify according to FogDong
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: remove ident '_' addition
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: add tests and refactor files
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: remove useless escape test and ident placeholder
Signed-off-by: iyear <ljyngup@gmail.com >
* Chore: add more escape tests
Signed-off-by: iyear <ljyngup@gmail.com >
* Fix: index out of range and add edge case tests
Signed-off-by: iyear <ljyngup@gmail.com >
* Feat: support escaping separators ';' ':' ','
Signed-off-by: iyear <ljyngup@gmail.com >
---------
Signed-off-by: iyear <ljyngup@gmail.com >
2023-03-21 15:24:29 +08:00
xingming01
4d714ed2c2
Fix: Optimize the webhook log format ( #5652 )
...
Co-authored-by: caoxingming <caoxingming@jd.com >
2023-03-21 11:38:57 +08:00
dependabot[bot]
2f6ea93272
Chore: (deps): Bump golang.org/x/oauth2 from 0.3.0 to 0.6.0 ( #5693 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-21 11:33:16 +08:00
dependabot[bot]
586f0f26c1
Chore: (deps): Bump actions/setup-go from 3.5.0 to 4.0.0 ( #5706 )
2023-03-21 03:29:46 +00:00
dependabot[bot]
7b47fdc046
Chore: (deps): Bump actions/checkout from 3.3.0 to 3.4.0 ( #5708 )
2023-03-21 02:41:55 +00:00
Tianxin Dong
971f6ffe4c
Fix: use logs to show errs intead of return in adopt all ( #5705 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-03-21 10:41:05 +08:00
Somefive
377753d1b1
Fix: system crd validation hook should not always use the default vela system ( #5709 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-21 10:16:40 +08:00
dependabot[bot]
e961f8da88
Chore: (deps): Bump github.com/spf13/cobra from 1.6.0 to 1.6.1 ( #5694 )
2023-03-20 02:21:38 +00:00
dependabot[bot]
3acfecc9e4
Chore: (deps): Bump golang.org/x/text from 0.7.0 to 0.8.0 ( #5692 )
2023-03-20 02:20:49 +00:00
Somefive
50458bc455
Feat: memory optimization via enhance informer cache ( #5683 )
2023-03-20 10:19:21 +08:00
Tianxin Dong
b28b165048
Chore: update workflow version to fix depends on skip ( #5698 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-03-17 17:14:33 +08:00
Tianxin Dong
59fc019243
Feat: add adopt all command ( #5690 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-03-17 14:46:06 +08:00
dependabot[bot]
fa8899088c
Chore: (deps): Bump github.com/alibabacloud-go/tea from 1.1.19 to 1.1.20 ( #5681 )
...
Bumps [github.com/alibabacloud-go/tea](https://github.com/alibabacloud-go/tea ) from 1.1.19 to 1.1.20.
- [Release notes](https://github.com/alibabacloud-go/tea/releases )
- [Commits](https://github.com/alibabacloud-go/tea/compare/v1.1.19...v1.1.20 )
---
updated-dependencies:
- dependency-name: github.com/alibabacloud-go/tea
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 13:38:52 +08:00
Somefive
b4ef7e915f
Feat: add load testing app template ( #5526 )
...
* Feat: add load testing apptemplate
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: update region template
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: use configmap instead of secret and add cleanup script
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* enhance readme
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-16 18:57:04 +08:00
Somefive
0bff849689
Feat: change the cluster-gateway connect mode to direct and deprecate envbinding CRD ( #5631 )
...
* Feat: upgrade helm chart values
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* fix authentication issue
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-16 17:17:45 +08:00
dependabot[bot]
942e88cd29
Chore: (deps): Bump github.com/prometheus/client_golang ( #5668 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.2 to 1.14.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.14.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 10:16:30 +08:00
dependabot[bot]
23383841db
Chore: (deps): Bump actions/cache from 3.2.6 to 3.3.1 ( #5663 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.2.6 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](69d9d449ac...88522ab9f3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 10:14:16 +08:00
StevenLeiZhang
801c630c61
Fix: sample yaml of Trait storage does not work ( #5679 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-03-16 10:00:30 +08:00
StevenLeiZhang
91bcedbf24
Fix: parameter type is conflict with Component webserice and Trait re… ( #5579 )
2023-03-15 20:36:00 +08:00
qiaozp
3ce7517b6b
Feat: set right default value for oneOf schema if set ( #5677 )
2023-03-15 14:08:53 +08:00
dependabot[bot]
87f2a43bee
Chore: (deps): Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #5666 )
2023-03-15 03:06:15 +00:00
msun1996
ad23240e4e
Fix: The resource topology fails to display the pods under the cronjob ( #5640 ) ( #5642 )
...
Signed-off-by: hanzhaoyang <hanzhaoyang@jd.com >
Co-authored-by: hanzhaoyang <hanzhaoyang@jd.com >
2023-03-14 18:41:56 +08:00
Somefive
0ae82d8034
Fix: mc flaky e2e test ( #5661 )
...
* Fix: mc flaky e2e test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add time for workflow rollback
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: load-test flaky
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-13 16:53:00 +08:00
qiaozp
e8b92a5d02
fix CVE-2023-27483 ( #5657 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-03-13 16:15:54 +08:00
dependabot[bot]
c08cffbc4c
Chore: (deps): Bump zeebe-io/backport-action from 1.1.0 to 1.2.0 ( #5622 )
2023-03-13 08:01:13 +00:00
dependabot[bot]
4f24f13fd7
Chore: (deps): Bump github.com/hashicorp/hcl/v2 from 2.12.0 to 2.16.2 ( #5649 )
2023-03-13 07:21:25 +00:00
dependabot[bot]
1159eef264
Chore: (deps): Bump github.com/emicklei/go-restful/v3 ( #5650 )
2023-03-13 07:21:07 +00:00
Somefive
d41c3ec0e7
Fix: cve-2022-4203 ( #5658 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-13 15:07:48 +08:00
suwliang3
54311b9d06
Fix: add addon registry ( #5646 )
...
* Fix: add addon registry
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Fix: modify edit errors
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
---------
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-03-13 14:12:32 +08:00
barnettZQG
50622ababc
Chore: move the API server to the VelaUX repository ( #5636 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-03-13 13:53:35 +08:00
wyike
a36eb4f2e2
Fix: loading definitions if lack in the revision when calculate dispatch stage of trait. ( #5644 )
...
* small fix for dispatch stage
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
revert useless commit
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add test case
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
---------
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-03-13 11:22:44 +08:00
Somefive
4edb21782f
Feat: add feature gate to allow disbale cluster watch at the start of vela-core ( #5632 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-13 11:17:15 +08:00
qiaozp
6704e9794a
Fix: push tags anyway in new release while syncing api and sdk ( #5641 )
2023-03-09 14:03:24 +08:00
qiaozp
07a05c419f
Feat: sync sdk automatically ( #5630 )
2023-03-09 10:18:08 +08:00
barnettZQG
79f1d5cb03
Chore: optimize the package dependencies ( #5596 )
...
* Chore: optimize the package dependces
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the code style
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: remove the repetitive context
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the context key
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: Optimize the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
---------
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-03-07 16:19:37 +08:00
qiaozp
3f53c26bc8
Feat: enhance the SDK, fix generating bugs ( #5586 )
2023-03-07 15:12:54 +08:00
Tianxin Dong
388056fda0
Fix: stores workflow status in revison if it is restarted ( #5604 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-03-07 14:13:56 +08:00
dependabot[bot]
c4fbc38ff4
Chore: (deps): Bump open-cluster-management.io/api from 0.7.0 to 0.10.0 ( #5574 )
...
Bumps [open-cluster-management.io/api](https://github.com/open-cluster-management-io/api ) from 0.7.0 to 0.10.0.
- [Release notes](https://github.com/open-cluster-management-io/api/releases )
- [Commits](https://github.com/open-cluster-management-io/api/compare/v0.7.0...v0.10.0 )
---
updated-dependencies:
- dependency-name: open-cluster-management.io/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 11:50:43 +08:00
Somefive
d60bb6224d
Feat: optimize empty patch request ( #5600 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-07 11:11:06 +08:00
dependabot[bot]
36128671c1
Chore: (deps): Bump dawidd6/action-homebrew-bump-formula from 3.8.3 to 3.9.0 ( #5623 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-07 09:52:11 +08:00
dependabot[bot]
1762f7a294
Chore: (deps): Bump actions/cache from 3.2.5 to 3.2.6 ( #5621 )
2023-03-06 16:11:54 +00:00
zhaohuiweixiao
6fa0d98547
Fix: render addon application checkDeployClusters invalid ( #5555 )
...
* Fix: render addon application checkDeployClusters invalid
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
* Feat: add getClusters test logic
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2023-03-06 19:36:59 +08:00
Somefive
91638eba65
Fix: make read-only object not found error more clear ( #5614 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-06 13:18:05 +08:00
Somefive
e7dad3c9be
Fix: replication example componentdefinition miss workload field for webhook validation ( #5615 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-06 13:17:48 +08:00
dependabot[bot]
ce749dd6bb
Chore: (deps): Bump github.com/gdamore/tcell/v2 ( #5583 )
...
Bumps [github.com/gdamore/tcell/v2](https://github.com/gdamore/tcell ) from 2.4.1-0.20210905002822-f057f0a857a1 to 2.6.0.
- [Release notes](https://github.com/gdamore/tcell/releases )
- [Commits](https://github.com/gdamore/tcell/commits/v2.6.0 )
---
updated-dependencies:
- dependency-name: github.com/gdamore/tcell/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-06 13:04:02 +08:00
Somefive
76a8d13a37
Feat: remove loop reduction & filter unnecessary apprev update ( #5598 )
...
* Feat: remove loop reduction
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: filter unnecessary rev update
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: add retry for multicluster e2e test
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-03 20:05:10 +08:00
caiqi1111
2f7b8b5ba8
Fix: length of name should be less than 32 ( #5547 )
...
* Fix: length of name should be less than 32
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
* Fix: length of name should be less than 32
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
---------
Signed-off-by: caiqi <caiqi_yewu@cmss.chinamobile.com >
2023-03-03 16:35:02 +08:00
Somefive
0d27a412cc
Feat: support direct connection mode for cluster gateway ( #5595 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-03 10:29:15 +08:00
Somefive
4596aac043
Feat: upgrade cluster-gateway to use v1.8.0-alpha.3 & fix time metrics bug ( #5593 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-02 14:49:48 +08:00
dependabot[bot]
5ed67d7bec
Chore: (deps): Bump go.mongodb.org/mongo-driver from 1.11.1 to 1.11.2 ( #5584 )
2023-03-01 07:53:28 +00:00
JohnJan
c640dd24c7
Fix: add test for InterfaceSlice ( #5590 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-03-01 15:34:26 +08:00
Somefive
65215c00e4
Feat: refactor prometheus metrics ( #5592 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-03-01 14:32:35 +08:00
Siege Lion
0ace2033ba
Feat: add more information about resource in vela top's topology view ( #5577 )
...
* Feat: add application detail view
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add data source
Signed-off-by: HanMengnan <1448189829@qq.com >
---------
Signed-off-by: HanMengnan <1448189829@qq.com >
2023-03-01 13:39:33 +08:00
Tianxin Dong
41844eb461
Feat: add op.#Suspend and suspending phase in step ( #5567 )
2023-03-01 10:59:31 +08:00
JohnJan
7f54ca96e7
Fix: the array type cannot be converted to interface type ( #5578 )
...
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: the array type cannot be converted to interface type
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-03-01 09:42:05 +08:00
Frank Zhao
f454ec34e4
docs: add leaderboard badge ( #5581 )
...
Signed-off-by: frank-zsy <syzhao1988@126.com >
Add contribution leaderboard badge to README.
2023-02-28 11:55:48 +08:00
dependabot[bot]
c8d4bfb150
Chore: (deps): Bump github.com/tidwall/gjson from 1.9.3 to 1.14.4 ( #5576 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 20:30:11 +08:00
Somefive
c0234888a6
Feat: optimize list op ( #5572 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-27 19:04:57 +08:00
Somefive
af10f11225
Feat: default enable multi-stage apply ( #5530 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-27 17:38:09 +08:00
Siege Lion
c350cc3a23
Feat: Add Request and Limit metrics to vela status --metrics ( #5546 )
...
* Feat: Add Request and Limit metrics to vela status --metrics
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix function spec and const variable
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix logic of loading pod metrics
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: optimize function structure
Signed-off-by: HanMengnan <1448189829@qq.com >
---------
Signed-off-by: HanMengnan <1448189829@qq.com >
2023-02-27 16:31:38 +08:00
msun1996
93a56c84c0
Fix: The resource topology fails to display the pods under the job ( #5566 ) ( #5568 )
...
Signed-off-by: hanzhaoyang <hanzhaoyang@jd.com >
Co-authored-by: hanzhaoyang <hanzhaoyang@jd.com >
2023-02-27 16:28:50 +08:00
caiqi1111
1e7edabdab
Fix: createTime and LoginTime wrong for login information ( #5535 )
2023-02-27 10:07:48 +08:00
zhanghw0354
4ad0c7a9c0
Docs: correct the doc of recycle application env api ( #5537 )
...
* correct the doc of recycle application env api
Signed-off-by: zhanghw0354 <zhanghaiwen_yewu@cmss.chinamobile.com >
* Feat: SDK generating framework (#5431 )
Signed-off-by: zhanghw0354 <zhanghaiwen_yewu@cmss.chinamobile.com >
---------
Signed-off-by: zhanghw0354 <zhanghaiwen_yewu@cmss.chinamobile.com >
Co-authored-by: qiaozp <47812250+chivalryq@users.noreply.github.com >
2023-02-27 10:00:39 +08:00
Echo
f846e25517
Fix: swagger DateType ( #5563 )
...
Signed-off-by: yueyongyue <yueyongyue@sina.cn >
2023-02-27 09:48:18 +08:00
dependabot[bot]
0d273b0ccb
Chore: (deps): Bump golang.org/x/crypto from 0.4.0 to 0.6.0 ( #5527 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.4.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 13:30:05 +08:00
dependabot[bot]
282bb4e977
Chore: (deps): Bump zeebe-io/backport-action from 0.0.9 to 1.1.0 ( #5543 )
...
Bumps [zeebe-io/backport-action](https://github.com/zeebe-io/backport-action ) from 0.0.9 to 1.1.0.
- [Release notes](https://github.com/zeebe-io/backport-action/releases )
- [Commits](2ee900dc92...5984bcd72f )
---
updated-dependencies:
- dependency-name: zeebe-io/backport-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 13:29:36 +08:00
dependabot[bot]
0927700fcf
Chore: (deps): Bump supercharge/mongodb-github-action ( #5540 )
...
Bumps [supercharge/mongodb-github-action](https://github.com/supercharge/mongodb-github-action ) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/supercharge/mongodb-github-action/releases )
- [Changelog](https://github.com/supercharge/mongodb-github-action/blob/main/CHANGELOG.md )
- [Commits](538a4d2a10...d26215f71b )
---
updated-dependencies:
- dependency-name: supercharge/mongodb-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 13:29:01 +08:00
dependabot[bot]
597172ad35
Chore: (deps): Bump thehanimo/pr-title-checker from 1.3.5 to 1.3.7 ( #5541 )
...
Bumps [thehanimo/pr-title-checker](https://github.com/thehanimo/pr-title-checker ) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/thehanimo/pr-title-checker/releases )
- [Commits](https://github.com/thehanimo/pr-title-checker/compare/v1.3.5...v1.3.7 )
---
updated-dependencies:
- dependency-name: thehanimo/pr-title-checker
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-25 13:27:57 +08:00
dependabot[bot]
13761891af
Chore: (deps): Bump github.com/prometheus/client_model ( #5557 )
2023-02-24 12:28:19 +00:00
dependabot[bot]
9ecfa55056
Chore: (deps): Bump docker/setup-buildx-action from 2.2.1 to 2.4.1 ( #5542 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 17:27:22 +08:00
dependabot[bot]
41cf74e6ae
Chore: (deps): Bump github.com/onsi/ginkgo/v2 from 2.8.0 to 2.8.3 ( #5544 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-22 17:25:44 +08:00
Ramesh Krishna
0f6c89b7f9
Feat: update version of terraform-controller to v0.7.10. ( #5550 )
2023-02-22 10:27:28 +08:00
qiaozp
8ff77c4486
Feat: SDK generating framework ( #5431 )
2023-02-21 15:54:44 +08:00
StevenLeiZhang
b1fc313519
Fix: vela top can not show Containers and Pod metrics, when the Component is deployed to member cluster ( #5534 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-02-20 14:05:47 +08:00
Tianxin Dong
3a8746e07f
Feat: support resume a specific suspend step in workflow ( #5505 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-02-18 17:04:17 +08:00
dependabot[bot]
a37b865a61
Chore: (deps): Bump github.com/alibabacloud-go/cs-20151215/v3 ( #5529 )
2023-02-17 12:01:02 +00:00
Somefive
46320e93dc
Feat: expose cluster gateway metrics ( #5523 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-17 16:01:16 +08:00
dependabot[bot]
a1840d5290
Chore: (deps): Bump github.com/containerd/containerd ( #5520 )
2023-02-17 03:38:27 +00:00
dependabot[bot]
80d149a8d8
Chore: (deps): Bump github.com/google/go-containerregistry from 0.9.0 to 0.13.0 ( #5519 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-17 10:44:24 +08:00
dependabot[bot]
d90cfa5cd2
Chore: (deps): Bump github.com/alibabacloud-go/darabonba-openapi/v2 from 2.0.0 to 2.0.4 ( #5518 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 19:03:37 +08:00
suwliang3
e2ab8aad48
Fix: delete the secret of the cluster ( #5497 )
...
* Fix: delete the secret of the cluster
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Fix: add test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Fix: modify error
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Fix: solve check-diff
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Fix: modify test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
---------
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-02-16 14:03:47 +08:00
Afzal
39c24cfdb9
Fix: removes default parameter name for terraform provider ( #5468 )
...
Co-authored-by: afzalbin64 <afzal442@gmail.com >
Fixes https://github.com/kubevela/kubevela/issues/5427
2023-02-16 13:52:51 +08:00
Somefive
f008411f4a
Feat: add load testing script (batch apply applications) ( #5506 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-16 13:34:25 +08:00
dependabot[bot]
7d52ceadc8
Chore: (deps): Bump github.com/openkruise/kruise-api from 1.1.0 to 1.3.0 ( #5510 )
2023-02-16 03:58:29 +00:00
dependabot[bot]
874cd73850
Chore: (deps): Bump github.com/containerd/containerd ( #5511 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.12 to 1.6.17.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.12...v1.6.17 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-16 11:49:37 +08:00
wyike
319b5c2de9
Feat: The vela-apiserver supports displaying chart values stored in the OCI registry ( #5458 )
...
* support helm chart values
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
rebase
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
no lint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix lint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add test and deprecated API
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix url bug
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix tests panic
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix golint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* return values.yaml
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix return values
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add multiple valeus yaml in
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add old interface back
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix golint
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
---------
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-02-15 13:59:25 +08:00
qiaozp
57cd4ceb7e
Fix: read-only definition in cue spec ( #5498 )
2023-02-15 11:35:10 +08:00
dependabot[bot]
03943752de
Chore: (deps): Bump github.com/xanzy/go-gitlab from 0.60.0 to 0.80.0 ( #5503 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-15 11:25:17 +08:00
Somefive
e209b2835d
Feat: support parallelize-state-keep ( #5504 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-15 10:00:51 +08:00
dependabot[bot]
5c9e109155
Chore: (deps): Bump sigs.k8s.io/kind from 0.9.0 to 0.17.0 ( #5502 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 21:25:58 +08:00
Siege Lion
059f248e2b
Feat: add cli command vela metrics to display resource number and resource status ( #5479 )
...
* Feat: add command vela metrics
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: add printer
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add cli tips
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: remove metrics command
Signed-off-by: HanMengnan <1448189829@qq.com >
---------
Signed-off-by: HanMengnan <1448189829@qq.com >
2023-02-14 13:51:35 +08:00
qiaozp
48db981db2
Chore: add codeowner ( #5496 )
...
* Chore: add codeowner
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* finer-grained permission
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* backup
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-02-14 13:50:53 +08:00
Somefive
c222862b32
Fix: pprof addr checked before parsed ( #5495 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-14 11:33:17 +08:00
dependabot[bot]
30278993d9
Chore: (deps): Bump k8s.io/klog/v2 from 2.70.1 to 2.90.0 ( #5466 )
...
Bumps [k8s.io/klog/v2](https://github.com/kubernetes/klog ) from 2.70.1 to 2.90.0.
- [Release notes](https://github.com/kubernetes/klog/releases )
- [Changelog](https://github.com/kubernetes/klog/blob/main/RELEASE.md )
- [Commits](https://github.com/kubernetes/klog/compare/v2.70.1...v2.90.0 )
---
updated-dependencies:
- dependency-name: k8s.io/klog/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 11:27:35 +08:00
dependabot[bot]
345b17a534
Chore: (deps): Bump github.com/fatih/color from 1.13.0 to 1.14.1 ( #5453 )
...
Bumps [github.com/fatih/color](https://github.com/fatih/color ) from 1.13.0 to 1.14.1.
- [Release notes](https://github.com/fatih/color/releases )
- [Commits](https://github.com/fatih/color/compare/v1.13.0...v1.14.1 )
---
updated-dependencies:
- dependency-name: github.com/fatih/color
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 10:00:08 +08:00
dependabot[bot]
53842dc5c5
Chore: (deps): Bump goreleaser/goreleaser-action from 4.1.1 to 4.2.0 ( #5490 )
...
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action ) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases )
- [Commits](9754a253a8...f82d6c1c34 )
---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 09:49:31 +08:00
dependabot[bot]
a4dfe30b4c
Chore: (deps): Bump github.com/emicklei/go-restful-openapi/v2 ( #5440 )
...
Bumps [github.com/emicklei/go-restful-openapi/v2](https://github.com/emicklei/go-restful-openapi ) from 2.3.0 to 2.9.1.
- [Release notes](https://github.com/emicklei/go-restful-openapi/releases )
- [Changelog](https://github.com/emicklei/go-restful-openapi/blob/v2/CHANGES.md )
- [Commits](https://github.com/emicklei/go-restful-openapi/compare/v2.3.0...v2.9.1 )
---
updated-dependencies:
- dependency-name: github.com/emicklei/go-restful-openapi/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-14 09:48:50 +08:00
dependabot[bot]
7397936edc
Chore: (deps): Bump github.com/deckarep/golang-set from 1.7.1 to 1.8.0 ( #5454 )
...
Bumps [github.com/deckarep/golang-set](https://github.com/deckarep/golang-set ) from 1.7.1 to 1.8.0.
- [Release notes](https://github.com/deckarep/golang-set/releases )
- [Commits](https://github.com/deckarep/golang-set/compare/v1.7.1...v1.8.0 )
---
updated-dependencies:
- dependency-name: github.com/deckarep/golang-set
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 19:48:37 +08:00
dependabot[bot]
cb5fa0c122
Chore: (deps): Bump actions/github-script from 6.3.3 to 6.4.0 ( #5494 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 6.3.3 to 6.4.0.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](d556feaca3...98814c53be )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 19:42:43 +08:00
dependabot[bot]
8946fcf045
Chore: (deps): Bump actions/cache from 3.0.11 to 3.2.5 ( #5493 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.0.11 to 3.2.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](9b0c1fce7a...6998d139dd )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 19:42:20 +08:00
dependabot[bot]
8992bdf15a
Chore: (deps): Bump ossf/scorecard-action from 2.1.0 to 2.1.2 ( #5492 )
...
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action ) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases )
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md )
- [Commits](937ffa90d7...e38b1902ae )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 19:41:54 +08:00
dependabot[bot]
0f32ed9197
Chore: (deps): Bump actions/checkout from 3.2.0 to 3.3.0 ( #5491 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](755da8c3cf...ac59398561 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-13 19:41:37 +08:00
Somefive
930ead942e
Fix: recover application watcher when sharding disabled ( #5488 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-13 16:57:59 +08:00
qiaozp
22cb57d3e7
Feat: add cloud resource data passing KEP ( #5489 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-02-13 15:50:56 +08:00
qiaozp
ff05180cb9
Fix: apply-terraform-provider and container-image definition ( #5485 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-02-13 11:08:04 +08:00
Vasco Lameiras
0d61e7825e
Fix: apiVersion of CronJob for 1.25+ clusters ( #5480 )
...
Signed-off-by: Vasco Lameiras <lameiras@gmail.com >
2023-02-11 15:27:05 +08:00
Charlie Chiang
762667ad71
Fix: use correct helm value when setting apprev compression ( #5477 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2023-02-10 19:17:07 +08:00
StevenLeiZhang
98e04eba10
Feat: need podAntiAffinity for vela pods, in order to make kubevela high availability ( #5465 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-02-10 16:30:30 +08:00
Tianxin Dong
4a16b2f6fe
Feat: add category for workflow step definition ( #5471 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-02-10 14:23:04 +08:00
Somefive
7f7814851b
Fix: pod view invalid cue for special pod output ( #5472 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-10 13:04:15 +08:00
Somefive
1d62ab648f
Feat: enhance expose trait and adopt ( #5470 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-10 11:29:24 +08:00
Jianbo Sun
c2de316eae
Chore: fix krew release with new binary format for .exe ( #5459 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-02-08 21:54:41 +08:00
Somefive
4a6f98da27
Fix: expose trait load balance cue check bug ( #5460 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-08 20:48:55 +08:00
qiaozp
6dc9dda0d4
Fix: stop sending update to brew and krew if alpha version ( #5451 )
...
* Fix: stop sending update to brew and krew if alpha version
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add rc
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
---------
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-02-08 16:27:03 +08:00
Somefive
a31a66758c
Fix: suppress klog logs output for vela top ( #5448 )
2023-02-08 15:48:44 +08:00
dependabot[bot]
4ebbfb171e
Chore: (deps): Bump go.mongodb.org/mongo-driver from 1.5.1 to 1.11.1 ( #5443 )
...
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver ) from 1.5.1 to 1.11.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases )
- [Commits](https://github.com/mongodb/mongo-go-driver/compare/v1.5.1...v1.11.1 )
---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 14:53:40 +08:00
dependabot[bot]
2f2371deb2
Chore: (deps): Bump github.com/gorilla/websocket from 1.4.2 to 1.5.0 ( #5437 )
...
Bumps [github.com/gorilla/websocket](https://github.com/gorilla/websocket ) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/gorilla/websocket/releases )
- [Commits](https://github.com/gorilla/websocket/compare/v1.4.2...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/gorilla/websocket
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08 14:52:33 +08:00
Somefive
bde4ebb32e
Fix: use get before create or update ( #5444 )
...
* Fix: use get before create or update
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: ignore resource not found error when manage privileges for target
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-08 14:49:58 +08:00
Jianbo Sun
c12bf436a0
Chore: refine readme with more featrues ( #5447 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-02-08 14:47:30 +08:00
qiaozp
5dda2d58d7
Fix: simplify notification parameters ( #5445 )
2023-02-08 13:42:15 +08:00
dependabot[bot]
c0c1f6fdbb
Chore: (deps): Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.8.0 ( #5441 )
...
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo ) from 2.1.6 to 2.8.0.
- [Release notes](https://github.com/onsi/ginkgo/releases )
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md )
- [Commits](https://github.com/onsi/ginkgo/compare/v2.1.6...v2.8.0 )
---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 17:16:02 +08:00
dependabot[bot]
fa7218f70a
Chore: (deps): Bump actions/upload-artifact from 3.1.1 to 3.1.2 ( #5435 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](83fd05a356...0b7f8abb15 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 16:22:55 +08:00
dependabot[bot]
515504466c
Chore: (deps): Bump github.com/gertd/go-pluralize from 0.1.7 to 0.2.1 ( #5438 )
...
Bumps [github.com/gertd/go-pluralize](https://github.com/gertd/go-pluralize ) from 0.1.7 to 0.2.1.
- [Release notes](https://github.com/gertd/go-pluralize/releases )
- [Commits](https://github.com/gertd/go-pluralize/compare/v0.1.7...v0.2.1 )
---
updated-dependencies:
- dependency-name: github.com/gertd/go-pluralize
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 13:52:50 +08:00
dependabot[bot]
eba8b8afa0
Chore: (deps): Bump actions/setup-node from 3.5.1 to 3.6.0 ( #5434 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](8c91899e58...64ed1c7eab )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 13:50:46 +08:00
dependabot[bot]
1ce1fc47ec
Chore: (deps): Bump docker/build-push-action from 3.2.0 to 4.0.0 ( #5433 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3.2.0 to 4.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](c56af95754...3b5e8027fc )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 13:49:35 +08:00
dependabot[bot]
996e55de04
Chore: (deps): Bump github.com/coreos/go-oidc ( #5439 )
...
Bumps [github.com/coreos/go-oidc](https://github.com/coreos/go-oidc ) from 2.1.0+incompatible to 2.2.1+incompatible.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v2.1.0...v2.2.1 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 13:48:38 +08:00
dependabot[bot]
232a387d67
Chore: (deps): Bump golangci/golangci-lint-action from 3.3.0 to 3.4.0 ( #5436 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](07db5389c9...08e2f20817 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 13:46:35 +08:00
dependabot[bot]
ba0173fdd6
Chore: (deps): Bump rajatjindal/krew-release-bot from 0.0.38 to 0.0.43 ( #5432 )
...
Bumps [rajatjindal/krew-release-bot](https://github.com/rajatjindal/krew-release-bot ) from 0.0.38 to 0.0.43.
- [Release notes](https://github.com/rajatjindal/krew-release-bot/releases )
- [Changelog](https://github.com/rajatjindal/krew-release-bot/blob/master/.goreleaser.yml )
- [Commits](3320c0b546...92da038bbf )
---
updated-dependencies:
- dependency-name: rajatjindal/krew-release-bot
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-07 13:46:08 +08:00
Somefive
e2f95e065a
Feat: update sharding using pkg ( #5430 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-07 11:12:40 +08:00
Echo
7694519fb9
Fix: dingding notification message.text.content ( #5424 )
...
* Fix: dingding notification message.text.content
Signed-off-by: yueyongyue <yueyongyue@sina.cn >
2023-02-06 19:13:42 +08:00
Jianbo Sun
46d762fd95
Create dependabot.yml ( #5423 )
...
Signed-off-by: Jianbo Sun jianbo.sjb@alibaba-inc.com
2023-02-06 16:39:13 +08:00
Somefive
b7e0cd86be
Feat: add deploy inline policy and support loading definitions when lack in the revision ( #5416 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-06 15:58:44 +08:00
Tianxin Dong
6324c16a68
Chore: update cue to v0.5.0-beta.5 ( #5421 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-02-06 13:36:08 +08:00
fsl
3a3def1f42
Fix: update CVE-2022-3996 vuln ( #5417 )
...
Signed-off-by: fengshunli <1171313930@qq.com >
2023-02-04 20:53:17 +08:00
Karanjot Singh
c9d6bfef42
Fix: Add confirmation prompt for vela adopt --apply with existing app name ( #5376 )
...
* Add confirmation prompt for vela adopt --apply with existing app name
Signed-off-by: Karanjot Singh <drquark@duck.com >
* Added changes according to the review
Signed-off-by: Karanjot Singh <drquark@duck.com >
* Fixed Userinput and used loadremoteApplication
Signed-off-by: Karanjot Singh <drquark@duck.com >
minor fixes
Signed-off-by: Karanjot Singh <drquark@duck.com >
used loadRemoteApplication
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor Fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
Minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
* Used f.Client().Get method
Signed-off-by: Karanjot Singh <drquark@duck.com >
minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
minor fix
Signed-off-by: Karanjot Singh <drquark@duck.com >
* Changed bool to False
Signed-off-by: Karanjot Singh <drquark@duck.com >
---------
Signed-off-by: Karanjot Singh <drquark@duck.com >
2023-02-03 18:01:35 +08:00
huaxk
8ec8bd9390
Fix: multiple initialization containers are not supported in traits ( #5110 ) ( #5413 )
...
Signed-off-by: huaxk <huaxk@163.com >
2023-02-03 15:57:05 +08:00
Somefive
ce63df6b26
Feat: enhance health check to support bypass component check and add parameter to context ( #5412 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-03 15:49:13 +08:00
JohnJan
47b027f328
Fix: sync project from app crd to velaux ( #5403 )
...
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: sync project from app crd to velaux
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
---------
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-02-02 15:30:18 +08:00
wyike
1b993ffcc9
fix bugs of specified addonName ( #5404 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-02-01 16:41:50 +08:00
Somefive
cca8338832
Fix: ignore validation webhook for ref-objects typed component ( #5397 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-01 16:00:38 +08:00
Somefive
a38bbc72cf
Fix: skip last-applied-configuration error for threewaymergepatch ( #5402 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-02-01 15:58:57 +08:00
qiaozp
17bff50005
Fix: longer releaser timeout ( #5399 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-02-01 13:57:09 +08:00
Basuotian
27177bbc38
Fix: use the namespace specified in the resource if -n is not s… ( #5379 )
...
* fix #5368 , use the namespace specified in the resource if -n is not specified
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
* add default namespace for the case missing namespace in resourceRef
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
* add test case
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
---------
Signed-off-by: Basuotian <basuoluomiu@gmail.com >
2023-01-31 20:02:05 +08:00
fsl
2fb17cd159
Fix: update package dependencies ( #5388 )
...
Signed-off-by: fengshunli <1171313930@qq.com >
2023-01-31 18:31:29 +08:00
barnettZQG
df1fe1dedd
Feat: add the updating the application trigger API ( #5382 )
...
* Feat: add the updating the application trigger API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: imported more than once
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
---------
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-31 17:11:21 +08:00
Jianbo Sun
66dd2a70b7
Fix: aligin config create to be managed by apps with Dispatch function ( #5384 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-01-31 16:55:37 +08:00
suwliang3
647fdf89f6
Feat: add the func of additionalInfo for workload ( #5325 )
...
* Fix: create default trait for webservice
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Feat: add the func of additionalInfo for workload
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* modify podAdditionalInfo
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
---------
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-01-31 13:42:32 +08:00
qiaozp
f5e9e9393a
Fix: rework on apisrever e2e test covergae ( #5385 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-01-31 13:04:31 +08:00
Somefive
9efbb72850
Feat: support sharding in controller ( #5360 )
...
* Feat: bootstrap sharding
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Chore: refactor end-e2e-core-shards script
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
---------
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-31 13:03:29 +08:00
Tianxin Dong
951fd83461
Chore: update workflow version to fix panic ( #5383 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-31 10:56:46 +08:00
qiaozp
f9e8f4222f
Fix: replace homemade release script with goreleaser ( #5380 )
...
Fixes https://github.com/kubevela/kubevela/issues/5347
2023-01-31 10:08:09 +08:00
barnettZQG
c52cd98713
Fix: failed to create the record when rollbacking the application ( #5377 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-30 18:56:50 +08:00
Somefive
f733d74647
Feat: upgrade cluster gateway to 1.7.0 ( #5354 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-18 11:07:13 +08:00
Tianxin Dong
250824bf05
Feat: add workflow step scope in doc gen ( #5351 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-17 16:08:38 +08:00
Stephen Ni
59e5d292b4
Docs: fix README.md ad-hoc ( #5345 )
...
Signed-off-by: nisiyong <stephen.ni@outlook.com >
Signed-off-by: nisiyong <stephen.ni@outlook.com >
2023-01-17 10:35:37 +08:00
Somefive
b342ab0f86
Feat: vela cluster export config ( #5336 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-16 18:03:38 +08:00
Somefive
9dc102021e
Feat: remove useless storage driver ( #5350 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-16 18:03:04 +08:00
Tianxin Dong
9304315972
Fix: delete example url in definitions that refer to workflowrun example ( #5344 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-16 16:24:08 +08:00
gökhan
4ec9214c79
Feat: reuse same logic for cluster labels ( #5346 )
...
Issue: https://github.com/kubevela/kubevela/issues/5171
Signed-off-by: Gokhan Karadas <gokhan.karadas@trendyol.com >
Signed-off-by: Gokhan Karadas <gokhan.karadas@trendyol.com >
Co-authored-by: Gokhan Karadas <gokhan.karadas@trendyol.com >
2023-01-16 15:46:42 +08:00
ZhaoweiWang
5289bd9817
fix: fix --cluster when addon enable ( #5332 )
...
Signed-off-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
Signed-off-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
Co-authored-by: zhaowei.wang <zhaowei.wang@metabit-trading.com >
2023-01-13 17:04:33 +08:00
Tianxin Dong
5158fcf6c1
Fix: optimize skip reconcile and expose error if the traits patch an invalid workload like terraform ( #5334 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-13 17:04:22 +08:00
Tianxin Dong
9ab6fe4188
Feat: upgrade the workflow version to v0.4.0 ( #5335 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-13 16:56:21 +08:00
Somefive
1e15e27c8c
Fix: conflict while using gc policy and shared-resource policy concurrently ( #5330 )
...
* Fix: conflict while using gc policy and shared-resource policy concurrently
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Fix: github ci
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-13 15:51:15 +08:00
barnettZQG
df3f134f12
Fix: maintain compatibility with old project data ( #5328 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-13 13:55:32 +08:00
StevenLeiZhang
5ec3bd5ef7
Feat: need one Trait to set Rollout strategy of Workload ( #5257 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-01-12 17:18:15 +08:00
hnd4r7
cd5ef33951
velaql support indexing into exported array field ( #5320 )
...
Signed-off-by: hnd4r7 <307365651@qq.com >
Signed-off-by: hnd4r7 <307365651@qq.com >
2023-01-12 10:12:38 +08:00
Girish
5136269c6f
Fix typo in the long cli description of vela system command ( #5321 )
2023-01-12 10:08:20 +08:00
barnettZQG
fbaea02408
Fix: the developer user can't load the definition ( #5317 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-11 18:27:56 +08:00
wyike
c4f3026065
small optimzie for addon ( #5316 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
name the compoennt
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 16:10:46 +08:00
Tianxin Dong
19a7f4e05e
Fix: fix permissions for backport in commands ( #5308 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-11 14:54:28 +08:00
Xunzhuo
51b8d0c8ce
fix: errorMsg when uninstall vela ( #5304 )
...
Signed-off-by: bitliu <bitliu@tencent.com >
Signed-off-by: bitliu <bitliu@tencent.com >
2023-01-11 14:47:57 +08:00
JohnJan
59e8b88d0a
Fix: create a config with the same name reported an incorrect error ( #5270 )
...
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: create a config with the same name reported an incorrect error
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2023-01-11 14:23:41 +08:00
barnettZQG
f7d34cbe8a
Feat: enhance the application synchronizer ( #5299 )
...
* Feat: enhance the application synchronizer
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-11 14:20:47 +08:00
cezhang
1ce5c6d8ea
Feat: vela dry-run render results should be affected by override policy and deploy workflowstep ( #4815 )
...
* [Feature] vela dry-run render results should be affected by override policy and deploy workflowstep
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* multiple input files support; policy,workflow support; new flag: merge orphan policy or workflow
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* add more tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix comment issues
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* add tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix e2e
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
* fix tests
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
Signed-off-by: cezhang <c1zhang.dev@gmail.com >
2023-01-11 13:52:49 +08:00
old prince
bee732b107
Fix: Index structure map[string]string,Mongo resulting in inconsistent results obtained by filtering non-string type by index. ( #5274 )
...
Signed-off-by: old.prince <di7zhang@gmail.com >
Signed-off-by: old.prince <di7zhang@gmail.com >
2023-01-11 13:05:26 +08:00
wyike
ff802ad2c5
Fix: more explicit error when addon package hasn't a metadata.yaml ( #5298 )
...
* more explicit error when addon package hasn't a metadata.yaml
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix checkdiff
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix commets
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2023-01-11 11:45:41 +08:00
Somefive
332b48e39b
Chore: vela delete doc ( #5301 )
2023-01-11 10:59:40 +08:00
hnd4r7
6ad7a72b6c
Fix: don't return err if subresource type is not found when listing application resources ( #5295 )
...
Signed-off-by: hnd4r7 <307365651@qq.com >
Signed-off-by: hnd4r7 <307365651@qq.com >
2023-01-10 22:10:00 +08:00
Tianxin Dong
432a5f37b7
Fix: fix backport command action caused by upgrades ( #5300 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-10 19:02:21 +08:00
Tianxin Dong
b71a8a353a
Fix: fix vela debug cli to find id for step ( #5294 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-10 16:46:21 +08:00
old prince
46b31b2569
Fix: Delete appplication fails if status.workflow.endTime not specified. ( #5287 )
...
Error Details:
E0106 08:12:02.807341 1 controller.go:317] controller/application "msg"="Reconciler error" "error"="Application.core.oam.dev \"test\" is invalid: status.workflow.endTime: Invalid value: \"null\": status.workflow.endTime in body must be of type string: \"null\"" "name"="test" "namespace"="test" "reconciler group"="core.oam.dev" "reconciler kind"="Application"
If the workflow is not completed, the endtime should be null, and the deletion of the application will fail
Signed-off-by: old.prince <di7zhang@gmail.com >
Signed-off-by: old.prince <di7zhang@gmail.com >
2023-01-10 15:14:10 +08:00
Charlie Chiang
3f5d558f22
Test: let addon helper tests use local helm server ( #5286 )
...
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2023-01-09 12:09:27 +08:00
Jianbo Sun
5d6848b1c6
Chore: update makefile with velaql in make def-install ( #5285 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-01-06 17:45:50 +08:00
Somefive
69293f4094
Feat: upgrade cluster-gateway to support client-identity-exchange config ( #5284 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-06 16:37:57 +08:00
barnettZQG
3a917cb6af
Fix: the addon management APIs support the user impersonation ( #5282 )
...
* Fix: the addon management APIs support the user impersonation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-06 15:11:56 +08:00
barnettZQG
1c43c6d1c5
Fix: keep the workflow data structure in MongoDB ( #5276 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-06 15:11:42 +08:00
barnettZQG
9bbf7bf01b
Fix: make the synced workflow name normative ( #5278 )
...
* Fix: make the synced workflow name normative
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: query the latest workflow
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-06 15:11:29 +08:00
Somefive
5a845104fb
Feat: support interactive mode to manually skip encountered errors ( #5266 )
2023-01-06 15:03:47 +08:00
Somefive
693eb3cb1d
Feat: add pre-dispatch dryrun check ( #5277 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2023-01-06 10:46:50 +08:00
Jianbo Sun
78f5827fa6
Fix: move notes to the right to avoid package head to be invalid format ( #5280 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2023-01-06 10:29:34 +08:00
Tianxin Dong
af8a7eb695
Fix: check the legacy definitions in vela install ( #5268 )
...
* Fix: check the legacy definitions in vela install
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* take over views
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-05 19:13:19 +08:00
barnettZQG
97ce8ba500
Feat: add the API that rollbacks the application ( #5273 )
...
* Feat: add the API that rollbacks the application
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: enhance the test cases
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: use the klog/v2 package
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-05 17:45:42 +08:00
qiaozp
03d892bcf1
Fix: apiserver k8sclient have duplicated multicluster wrapper ( #5275 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2023-01-05 15:42:38 +08:00
Tianxin Dong
360c9e24b2
Feat: support hostpath in storage and vela cli ( #5265 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-05 10:08:54 +08:00
barnettZQG
ba0a726cfc
Fix: make the impersonation feature work ( #5261 )
...
* Fix: make the impersonation feature work
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: update the document of the chart
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-04 16:58:03 +08:00
aimuz
b2f4e237c2
docs: update bot.md link fail ( #5262 )
...
Signed-off-by: aimuz <mr.imuz@gmail.com >
Signed-off-by: aimuz <mr.imuz@gmail.com >
2023-01-04 11:52:29 +08:00
Tianxin Dong
5f71d05db1
Fix: fix inputs conflict for workflow ( #5251 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2023-01-04 10:45:51 +08:00
barnettZQG
340059989b
Feat: enhance the workflow restful APIs ( #5252 )
...
* Feat: enhange the workflow restful APIs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the workflow record status is empty
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add some logs
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: enhance the e2e test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-04 09:56:36 +08:00
suwliang3
5b636e451a
Feat: Detect the correctness of the custom addon repository when adding add… ( #5221 )
...
* Detect the correctness of the custom addon repository when adding addon registry
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* wrap error
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* don't check if the registry is not helm
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* modify unit-test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* Modify unit-test
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2023-01-03 20:02:59 +08:00
James Dobson
ecc77f8cae
Test: prevent notification step definition test from failing when re-run. ( #5253 )
...
Signed-off-by: James Dobson <jdobson@guidewire.com >
Signed-off-by: James Dobson <jdobson@guidewire.com >
2023-01-03 13:46:07 +08:00
StevenLeiZhang
8a5239575a
Feat: need one new Trait to support HorizontalPodAutoscaler of CPU/MEM/PodCustomMetrcs ( #5225 )
...
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
Signed-off-by: StevenLeiZhang <zhangleiic@163.com >
2023-01-03 11:17:31 +08:00
william302
6461625832
Docs: correct update project user api's doc description ( #5244 )
...
Signed-off-by: william302 <william902@qq.com >
Signed-off-by: william302 <william902@qq.com >
Co-authored-by: william302 <william902@qq.com >
2023-01-03 11:02:55 +08:00
James Dobson
28f6f42ed4
Fix: apply label to pod for vela-cli workflow step definition. Fixes #5247 ( #5248 )
...
Signed-off-by: James Dobson <jdobson@guidewire.com >
Signed-off-by: James Dobson <jdobson@guidewire.com >
2023-01-03 10:47:34 +08:00
old prince
7bc2f4e8d1
Fix:Dry-run from revision application,Problems caused by resource version lower than the current version ( #5246 )
...
Signed-off-by: old.prince <di7zhang@gmail.com >
Signed-off-by: old.prince <di7zhang@gmail.com >
2023-01-03 10:46:59 +08:00
barnettZQG
d588def0af
Feat: versioned the context backend values to the app revision ( #5231 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2023-01-02 21:23:12 +08:00
Somefive
6c12b968a7
Fix: add permission for release ci ( #5245 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-31 13:23:03 +08:00
Somefive
18f778a871
Fix: gc failure cause workflow restart not working properly ( #5240 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-29 23:15:02 +08:00
Siege Lion
0f6c244d81
Fix: remove cluster field from pod view in vela top and optimize some ui ( #5237 )
2022-12-29 19:58:43 +08:00
my-git9
2fb0633354
cleanup ioutil for newer go version ( #5238 )
...
Signed-off-by: xin.li <xin.li@daocloud.io >
Signed-off-by: xin.li <xin.li@daocloud.io >
2022-12-29 19:34:45 +08:00
Tianxin Dong
38aa522016
Chore: update workflow version to add restart from step and fix bugs ( #5233 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-12-29 18:34:59 +08:00
dependabot[bot]
7cc7ea2fa0
Chore(deps): Bump github.com/containerd/containerd from 1.6.6 to 1.6.12 ( #5235 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.6.6 to 1.6.12.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.6.6...v1.6.12 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-27 18:04:49 +08:00
Somefive
88f4c33d72
Feat: upgrade dependency ( #5217 )
2022-12-27 16:28:13 +08:00
qiaozp
a11f2cdae5
Fix: dependency makefile variable error ( #5234 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-27 15:45:45 +08:00
Somefive
f0902e91d1
Feat: add prestart-hook for vela-core and add crd guard check ( #5232 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-27 10:18:01 +08:00
qiaozp
8988d9a224
Fix: pin dependencies to hash ( #5223 )
...
* Fix: pin dependencies to hash
remove useless action and makefile steps
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reinstall golangci-lint with certain version
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* rollback setup node
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-26 17:36:14 +08:00
qiaozp
cadaa996da
Fix: remove useless field when loading pod in top ( #5228 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-26 11:57:42 +08:00
xingming01
25b9350fd4
Feat: the webservice component has no args parameter #5226 ( #5227 )
...
Add the args parameter to the webservice component
Signed-off-by: xingming01 <whatissoftware@163.com >
Signed-off-by: xingming01 <whatissoftware@163.com >
2022-12-26 10:38:49 +08:00
Joshua Agboola
a9bc43a9dd
Feat: Support SSH for retrieving terraform modules in private git repo ( #5059 )
...
* Feat: Support SSH for retrieving terraform modules in private git repo
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
* fix lint errors
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
* fix gofmt lint error
Signed-off-by: motilayo <joshuaagboola@live.ca >
* update gitCredentialsReference to gitCredentialsSecretReference, validate secret, improve known_hosts logic
Signed-off-by: motilayo <joshuaagboola@live.ca >
* SImplify logic to get publickey
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Set known_hosts and export SSH_KNOWN_HOSTS
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Call GetGitSSHPublicKey for cli
Signed-off-by: motilayo <joshuaagboola@live.ca >
* fix parser.go - nil check for ref.Client
Signed-off-by: motilayo <joshuaagboola@live.ca >
* Unit test for GetGitSSHPublicKey
Signed-off-by: motilayo <joshuaagboola@live.ca >
* improve test coverage
Signed-off-by: motilayo <joshuaagboola@live.ca >
* make reviewable
Signed-off-by: motilayo <joshuaagboola@live.ca >
* minor improvements & cleanup
Signed-off-by: motilayo <joshuaagboola@live.ca >
* update secret name in test
Signed-off-by: motilayo <joshuaagboola@live.ca >
Signed-off-by: motilayo <44736801+motilayo@users.noreply.github.com >
Signed-off-by: motilayo <joshuaagboola@live.ca >
2022-12-23 16:27:27 +08:00
qiaozp
4ad8a13b5e
Feat: support data-passing in deploy step ( #5161 )
...
* Feat: support component data-passing in deploy step
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* health check with input
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add union test for io and replication
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* format
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use pkg/slices.parMap
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reduce the GET request
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reviewable
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix break test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-23 14:50:28 +08:00
Jianbo Sun
c7c6009e1c
Chore: enhance workflow with specific git commit id ( #5220 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-21 14:29:54 +08:00
Tianxin Dong
a5a1a2ed15
Fix: optimize build push image step ( #5215 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-12-20 17:28:01 +08:00
Somefive
8798371454
Feat: change health check resource fetch order ( #5190 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-20 17:09:47 +08:00
Somefive
9151b3d51f
Fix: registry permission ( #5216 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-20 17:07:07 +08:00
Somefive
8ef512d9f6
Feat: gc orphan resources ( #4847 )
...
* Feat: support orphan resource when deleting application
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Test: add test for vela delete --orphan
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-20 16:14:23 +08:00
Somefive
c98d0d5bd1
Feat: vela adopt command ( #5197 )
...
* Feat: vela adopt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: support adopt native resources
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Test: add test for vela adopt
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-12-20 16:12:34 +08:00
Siege Lion
4e611fe736
Feat: vela top supports custom theme features ( #5180 )
...
* Feat: add the diy theme feature
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: update go mod to fix vela top can't show on some terminal
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: embed theme file
Signed-off-by: HanMengnan <1448189829@qq.com >
* Feat: add theme selector and add test cases
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix type bug
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: fix some file bugs
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-12-20 14:13:26 +08:00
qiaozp
3f600b2e28
Fix: add write package permission in registry CI ( #5213 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-20 12:01:41 +08:00
Tianxin Dong
0b21c54236
Fix: fix ci with override-definitions for definitions conflict ( #5208 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-12-20 11:40:06 +08:00
qiaozp
2899fa6f8f
Fix: limit github action permission ( #5210 )
...
* Fix: limit github action permission
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* all limit
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-20 10:21:02 +08:00
Jianbo Sun
9bd443cded
Chore: add ossf/scorecard-action to secure workflows ( #5209 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-19 19:18:30 +08:00
Tianxin Dong
1f7b9cebcc
Feat: add unify step definitions from catalog ( #5199 )
...
* Feat: add unify step definitions from catalog
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add kaniko executor example
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-12-19 17:06:51 +08:00
Tianxin Dong
863b36226d
Fix: add controller version for pipeline in velaux ( #5185 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-12-19 13:41:24 +08:00
zhaohuiweixiao
1ebb64d4d4
Fix: addon ls comman does not show the componentless application ( #5201 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-19 12:42:31 +08:00
suwliang3
e6fe7eb7d3
Feat: rollout support statefulsets ( #5202 )
...
* rollout support workload
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
* modify the error output
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2022-12-19 12:08:42 +08:00
Jianbo Sun
dcb5378ff9
Feat: support NOTES.cue in addon for additional info printer ( #5195 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-16 18:07:27 +08:00
Jianbo Sun
c94fa21c28
Feat: optimize controller default value for better performance ( #5194 )
...
* Feat: optimize controller default value for better performance
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* try to fix rollout e2e-test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
try 2 fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix e2e test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix e2e test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix e2e tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix e2e tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Co-authored-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-12-16 17:54:59 +08:00
suwliang3
2b3da03da8
Feat: return notFound error when deleting app ( #5189 )
...
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
Signed-off-by: suwanliang_yewu <suwanliang_yewu@cmss.chinamobile.com >
2022-12-14 18:47:57 +08:00
zhaohuiweixiao
66fbd104e9
Fix: The error of cannot fetch addon package breaks the loop to continue looking for addon package in the remaining registries ( #5187 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-14 13:35:12 +08:00
Jianbo Sun
ac9cf58afa
Feat: support fallback to kubeconfig namespace when env not set ( #5182 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-13 14:53:54 +08:00
Jianbo Sun
b6f4328167
Feat: support outputs objects for policy ( #5183 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-13 14:52:16 +08:00
wyike
e63aa444e5
Fix: check if enabling operation will uninstall controller from some clusters ( #5179 )
...
* check clusters parameter of addon will uninstall from clusters
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* revert go mod
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* skip verify version check
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix for error notice
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-12-12 13:40:48 +08:00
qiaozp
54285e6c64
Feat: add multicluster test for vela logs ( #5168 )
...
* Feat: add multicluster test for vela logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reviewable
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-09 10:43:54 +08:00
Jianbo Sun
48bf5cb644
Fix: readme badge broken ( #5175 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-08 20:05:22 +08:00
dependabot[bot]
336408f3d0
Chore(deps): Bump github.com/containerd/containerd from 1.5.13 to 1.5.16 ( #5169 )
...
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd ) from 1.5.13 to 1.5.16.
- [Release notes](https://github.com/containerd/containerd/releases )
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md )
- [Commits](https://github.com/containerd/containerd/compare/v1.5.13...v1.5.16 )
---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 10:57:11 +08:00
Jianbo Sun
b9e7c710d8
Feat: add options for addon parameter ( #5166 )
...
* Feat: add options for addon parameter
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: wrongly report disbaled when addon is not existed
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-07 17:22:38 +08:00
Jianbo Sun
c8b24ab363
Fix: vela show docs can't generate composition type ( #5163 )
...
* Fix: vela show can not display or result
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: vela show docs can't generate composition type
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-06 16:12:45 +08:00
qiaozp
62b4d9144f
Fix: CollectLogsInPod won't work in multicluster ( #5160 )
...
* Fix: CollectLogsInPod won't work in multicluster
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* clean up
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-06 15:49:39 +08:00
qiaozp
6627dc33a9
Fix: can not logs from pod of subclusters ( #5157 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-03 21:07:11 +08:00
Siege Lion
49335fdcdb
Feat: Introduce timeout mechanism into cache and update network request mechanism in vela top ( #5153 )
...
* Fix: update cache to lru cache with expire time
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add auto refresh to topology view and fix the refresh bug in resource view
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-12-03 12:43:33 +08:00
qiaozp
b8c08c3574
Feat: support huawei cloud terraform generation ( #5144 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-12-03 12:42:52 +08:00
zhaohuiweixiao
32354d7fb1
Fix: addon upgrade command does not recognize the --clusters flag ( #5143 )
...
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
Signed-off-by: zhaohuihui <zhaohuihui_yewu@cmss.chinamobile.com >
2022-12-03 12:42:24 +08:00
Tianxin Dong
11c6b2bc98
Fix: update the workflow vendor and delete mode in workflow spec ( #5149 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-12-02 19:04:12 +08:00
Jianbo Sun
ec07e641ee
Chore: refine logs and align using klog/v2 ( #5145 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-12-02 14:50:06 +08:00
jguionnet
3b8cd84f82
Feat: Add startup probe trait ( #5093 )
...
* Feat: Add startup probe trait
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com >
* Feat: Implemented review comments in startup probe trait
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com >
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com >
2022-12-02 11:49:00 +08:00
Ziqi Zhao
88545e5aa8
fix format error ( #5146 )
...
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com >
2022-12-01 16:00:32 +08:00
qiaozp
bc041cf940
Fix: vela status --endpoint show no IP when only one master node ( #5129 )
...
Add fallback if no worker node
check app exist
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-30 10:41:11 +08:00
JohnJan
9aa2ec3ccd
Refactor: Use github.com/spf13/cobra to execute cmd for vela-core ( #5126 )
...
* Refactor: Use github.com/spf13/cobra to execute cmd for vela-core
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Refactor: Use github.com/spf13/cobra to execute cmd for vela-core
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Refactor: Use github.com/spf13/cobra to execute cmd for vela-core
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-28 17:56:38 +08:00
Somefive
1dd08f35ef
Fix: container image cue ( #5127 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-28 11:35:20 +08:00
Somefive
a205fff1a7
Fix: add fogdong to codeowners of packages ( #5134 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-28 11:33:39 +08:00
wyike
191dbcc58d
Fix: bug of filter registry func will modify origin data ( #5118 )
...
* fix filter registry func flaky
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-24 15:05:38 +08:00
Jianbo Sun
cd565f362f
Chore: add definition example doc CI check ( #5117 )
...
* Chore: add definition example doc CI check
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: add example doc for trait
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-24 14:47:41 +08:00
Jianbo Sun
e5d8fcf2f8
Fix: apiserver image build and add CI check for it ( #5116 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-24 12:11:16 +08:00
Charlie Chiang
fdc4622208
Feat: add support for compressing apprev using gzip and zstd ( #5090 )
...
* Feat: add support for compressing apprev using gzip and zstd
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use move compressible fields into a separate struct
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Refactor: use compression util from kubevela/pkg
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix core-api-test
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Feat: add compression ratio in `revision list`
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
* Test: fix tests
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com >
2022-11-24 10:27:13 +08:00
Somefive
734025f03f
Feat: takeover & readonly policy ( #5102 )
...
* Feat: takeover & readonly
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add tests
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Feat: add cue def for read-only and take-over
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
* Docs: add example doc
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-24 09:48:27 +08:00
wyike
277d94f447
Fix: bug when addon dependent an addon in other registry ( #5083 )
...
* fix several bugs of addon
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix golint error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix error and add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix comments and fix apiserver test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix typo
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* fix tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* add parameter in apiserver and test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-24 09:42:28 +08:00
Somefive
e05f34392d
Fix: multicluster cluster scope ref ( #5111 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-23 19:41:29 +08:00
basefas
8516ede345
fix: update actions ( #5108 )
...
Signed-off-by: basefas <basefas@hotmail.com >
Signed-off-by: basefas <basefas@hotmail.com >
2022-11-23 10:05:25 +08:00
basefas
6363967895
Fix: update actions to solve 「 deprecated 」warnings ( #5094 )
...
* Fix: update actions to solve 「 deprecated 」warnings
Signed-off-by: basefas <basefas@hotmail.com >
* fix: update action & delete unused parameter
Signed-off-by: basefas <basefas@hotmail.com >
Signed-off-by: basefas <basefas@hotmail.com >
2022-11-22 23:22:25 +08:00
qiaozp
655697f2fd
Fix: end test environments ( #5106 )
...
* Fix: end test environments
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-22 19:06:51 +08:00
Somefive
8252b1eada
Fix: patchOutputs bug for multiple outputs ( #5101 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-22 10:52:49 +08:00
Jianbo Sun
139009546c
Chore: merge goverance doc to community repo ( #5103 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-22 10:19:30 +08:00
JohnJan
1530f6c24f
Refactor: Use github.com/spf13/cobra to execute cmd for apiserver ( #5085 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-22 10:08:31 +08:00
Somefive
eddd131dcd
Docs: add KEPs introduction to the main repo ( #5099 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-21 15:19:31 +08:00
Tianxin Dong
78f4e00dac
Fix: fix acr webhook for enterprise registry ( #5097 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-21 14:16:04 +08:00
jguionnet
66bffabc1b
Feat: add topologySpreadConstraints traits ( #5081 )
...
* Feat: add topologySpreadConstraints traits
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com >
* make reviewable formatting and file gen
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com >
Signed-off-by: Jerome Guionnet <jguionnet@guidewire.com >
2022-11-21 11:02:05 +08:00
Jianbo Sun
c89f268af1
Feat: support dry-run with cue format definition ( #5078 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-16 18:09:59 +08:00
Tianxin Dong
ee28112015
Feat: add print message example ( #5077 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-16 16:32:08 +08:00
Tianxin Dong
a5c7804185
Feat: add apply component definition for docs ( #5070 )
...
* Feat: add apply component definition for docs
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* Feat: add apply component definition for docs
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-16 14:02:50 +08:00
qiaozp
85d5eec8b4
Fix: code vulnerability ( #5054 )
...
* Fix: code vulnerability
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* lint
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* imports
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use space
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reuse sanitize function
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-16 13:47:03 +08:00
Jianbo Sun
3bd38584d7
Feat: support vela up --wait and --timeout ( #5073 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-15 20:59:15 +08:00
Jianbo Sun
2c7f294279
Chore: update test case and remove unnecessary info ( #5069 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-15 20:02:30 +08:00
nuclearwu
380d0ff9a1
Fix: remove unnecessary case in field selector ( #5064 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-15 15:00:30 +08:00
Tianxin Dong
2bbf957c29
Fix: fix fill array with array in inputs ( #5066 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-15 14:13:34 +08:00
Jianbo Sun
467e7c992b
Chore: Cleanup useless examples ( #5067 )
...
* Chore: remove appdeployment examples as it's already deprecated
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: remove approllout docs as it's already deprecated
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: remove kubecon 2020 demo as it's not worked due to deprecation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Chore: remove unused Observability Implementation
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-15 14:02:13 +08:00
wyike
e706b5d4a3
add tests ( #5058 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-15 13:16:11 +08:00
qiaozp
84feb2beb4
Fix: update action script ( #4959 )
2022-11-14 19:42:57 +08:00
tigerK
46c8f104c3
[docs]cpuscaler traits documentation example ( #5062 )
...
Signed-off-by: yanru.lv <yanru.lv@daocloud.io >
Signed-off-by: yanru.lv <yanru.lv@daocloud.io >
2022-11-14 16:55:12 +08:00
Tianxin Dong
23c959fb71
Fix: unify stdlib for workflow and kubevela ( #5053 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-14 13:24:24 +08:00
qiaozp
a74fb181b3
Chore: remove legacy o11y logic ( #5046 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-14 11:43:23 +08:00
nuclearwu
b8535d2c5e
Fix: Failed to get detail policy for application ( #5043 )
...
* Fix: Failed to get detail policy for application
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: Failed to get detail policy for application
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-10 19:23:48 +08:00
Tianxin Dong
986a3a1f2a
Fix: add debug for workflowrun and support debug sub steps ( #5037 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-10 10:53:10 +08:00
Siege Lion
522efff188
Fix: fix the stuck problem and use LRU cache to promote the speed of loading topology ( #5002 )
...
* Fix: fix the stuck problem and use lru cache to promote the speed of loading topology
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: reuse existing lru golang library
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-11-09 16:08:57 +08:00
Somefive
afd363b896
Feat: support webservice containing duplicate port with different protocol ( #5034 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-09 13:14:27 +08:00
nuclearwu
a944f47313
Feat: support field selector filter for 'vela ls' ( #5016 )
...
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Feat: support field selector filter for 'vela ls'
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-09 11:27:25 +08:00
qiaozp
755005bb56
Fix: higher version contraint in install command ( #5021 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-09 11:24:57 +08:00
wyike
5ad47a1947
Fix: remove the reference of v1beta1 ingress ( #5026 )
2022-11-08 22:59:31 +08:00
Tianxin Dong
7c0918375e
Fix: temporary fix comments in comprehesions for env trait ( #5020 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-08 15:26:27 +08:00
Tianxin Dong
d6466368c1
Feat: add scope label in workflow step defs ( #4980 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-08 15:05:27 +08:00
wyike
5d0b64773e
use vi as ingress's target apiVersion ( #5019 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
revert test
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
add tests
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-08 12:03:09 +08:00
qiaozp
e79e12fbe6
Fix: vela status will always get external ip first ( #5014 )
...
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-07 17:54:54 +08:00
nuclearwu
853df82f4a
Fix: vela cluster join reports 'resource name may not be empty' error ( #4998 )
...
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-11-07 16:13:39 +08:00
Siege Lion
0e849d142c
Fix: fix problem of loading pods of cronjob ( #5007 )
...
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-11-07 11:06:14 +08:00
qiaozp
7e012f5ca0
Fix: remove duplicate mock server in CI ( #5011 )
...
* Fix: not killing mock server process every time
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove redundent mock server
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-07 10:13:12 +08:00
nuclearwu
ef897db10b
Feat: support label selector filter for 'vela ls' ( #4966 )
2022-11-06 11:43:10 +08:00
wyike
85489c63b4
Fix: forbid 302 request to avoid SSRF ( #5000 )
...
* fix helm chart list endpoint SSRF CVE
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* revert error log
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* change with const value
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
fix ci
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-11-04 20:15:20 +08:00
barnettZQG
7f1a9010dc
Chore: update the API schema ( #4992 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-11-04 12:00:04 +08:00
Jianbo Sun
6b79104923
Fix: test ci windows ( #4990 )
...
* Fix: test ci windows
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: rename add exe suffix for command
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: trim extra commands
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-11-03 15:20:29 +08:00
yangs
0c3db0b0e6
Feat: add build check for generate kubevela-core-api ( #4973 )
...
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
Signed-off-by: yangsoon <songyang.song@alibaba-inc.com >
Co-authored-by: yangsoon <songyang.song@alibaba-inc.com >
2022-11-03 13:25:55 +08:00
Somefive
89237d2681
Fix: app contains app override the child app with parent app label ( #4985 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-11-02 22:38:59 +08:00
Tianxin Dong
0a53eb2973
Fix: fix filepath for windows ( #4984 )
...
* Fix: fix filepath for windows
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* test ci
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-02 22:38:39 +08:00
barnettZQG
195d35dcc6
Fix: enhance the default permissions ( #4975 )
...
* Fix: enhance the default permissions
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: unit test error
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-11-01 20:50:49 +08:00
Tianxin Dong
19fbe2faa8
Feat: allowing restart a compeleted workflow ( #4972 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-11-01 20:34:56 +08:00
qiaozp
4b9e071558
Fix: mongodb can not decode runtime.Object ( #4971 )
...
* Fix: mongodb can not decode runtime.Object
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* reuse struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix no output when filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-11-01 17:20:30 +08:00
barnettZQG
fa44776702
Fix: grant the permission to read the ConfigMap in the vela-system namesapce ( #4961 )
...
* Fix: grant the permission to read the ConfigMap in the vela-system namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-11-01 09:58:18 +08:00
qiaozp
23cbc9c91f
Feat: implement pipeline APIs ( #4908 )
...
* add context when run pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Feat: implement pipeline API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Extract get log logic and implement getPipelineRunLog API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Init and delete pipeline contexts
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix panic
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Allow not specifying context
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* change pipeline to path parameter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add permission check filter
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* project -> projects in route
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix route conflict
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add project alias
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Feat: change the list pipeline API
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Feat: filter the project
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the error of the run APi
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* fix log pipeline run API
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix lint, fix the error of log api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix error returning
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the lable to annotation
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* remove log config not found error
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix pipeline list api return no context info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: create the namespace
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* get pipeline lastrun info
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* allow query single step output
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* organize code in api layer
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix project filter, add context value when get pp run, extend lastRun
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix get output and implement get input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the last run
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* if query sub-step outout, return it directly
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Fix: change the run stats
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the output
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* flatten the input/output api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* more info for i/o vars
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix nested i/o struct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add fromStep in input api
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add e2e test skeleton
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add more e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use db to store pipeline
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* keep the last 5k lines of log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* use stern param to keep last lines of logs
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* filter, nil labels, spec check
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* empty res, index, detail param
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* Add e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix e2e test and unit test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add context e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* goimports
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add more test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* review
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* remove optional tag in returned value, unify the imports name
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix e2e test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add stop test
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* more coverage
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* single case selct
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* optimize log color
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add default permission and role
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix permission ut
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* change the log api implementation
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* add color, add container order
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* fix filter nil will cut all log
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* longer timeout and lint
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Co-authored-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-31 23:59:04 +08:00
Tianxin Dong
8f4ce76543
Chore: stable the version of cue and workflow ( #4963 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-31 14:27:46 +08:00
barnettZQG
2dfe233ebe
Fix: do not change the workflow after the env changed ( #4954 )
...
* Fix: do not change the workflow after the env changed
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the test case
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: check app when deleting the target from a env
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-31 11:15:48 +08:00
Tianxin Dong
73bed17869
Feat: add mode in workflow template ( #4926 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-31 10:57:05 +08:00
wyike
21bf141019
Fix: bocde error override origin error message ( #4951 )
...
* fix bcode error
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
* small fix
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-10-29 16:02:30 +08:00
nuclearwu
c990bcdf66
Fix: update namespace only if it doesn't have the env label ( #4947 )
...
* Fix: update namespace only if it doesn't have the env label
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
* Fix: update namespace only if it doesn't have the env label
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
Signed-off-by: wuzhongjian <wuzhongjian_yewu@cmss.chinamobile.com >
2022-10-29 10:35:21 +08:00
tangoliu
14ac74f76d
It is unnecessary to judge that the index function is not null ( #4944 )
...
Signed-off-by: liutiangang <liutiangang@cmbchina.com >
Signed-off-by: liutiangang <liutiangang@cmbchina.com >
2022-10-29 09:11:18 +08:00
Tianxin Dong
63c7285b8b
Feat: sync the model of api workflow with core ( #4936 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-28 17:43:00 +08:00
wyike
560dad3873
more error info for apiservice and add tests ( #4927 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
change the mock addon version
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-10-28 17:35:46 +08:00
Somefive
b97c3af09f
Fix: apiserver & vela status use multi-cluster client ( #4916 )
2022-10-28 14:02:42 +08:00
Siege Lion
de9fa2f821
Fix: can't obtain pods generated by Crontask component (patch of PR 4925) ( #4942 )
...
* Fix: get label selector from cronJob
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: use scheme create obj
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: update method of generating selector
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: update cron-task
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: add test case
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-10-28 10:57:48 +08:00
Jianbo Sun
63c9896d82
Fix: update export2config and export2secret example ( #4932 )
...
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-10-27 19:06:17 +08:00
wyike
cad525ff16
fix gitlab addon registry ( #4934 )
...
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
Signed-off-by: 楚岳 <wangyike.wyk@alibaba-inc.com >
2022-10-27 19:03:57 +08:00
Tianxin Dong
01c759dcd1
Fix: fix gen doc for container image ( #4935 )
...
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-27 19:03:13 +08:00
Young-Zen
ea12c0f11e
Fix: get Application status using jsonpath filter expression ( #4923 )
...
Signed-off-by: yanghaojia <yanghaojia@coding.net >
Signed-off-by: yanghaojia <yanghaojia@coding.net >
Co-authored-by: yanghaojia <yanghaojia@coding.net >
2022-10-27 14:41:55 +08:00
Siege Lion
bd5864f40a
Fix: can't get pods of CronTask component ( #4925 )
...
* Fix: get label selector from cronJob
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: update cron-task yaml
Signed-off-by: HanMengnan <1448189829@qq.com >
* Fix: small fix
Signed-off-by: HanMengnan <1448189829@qq.com >
Signed-off-by: HanMengnan <1448189829@qq.com >
2022-10-27 10:47:47 +08:00
Tianxin Dong
b7a763c074
Feat: support operations for workflow run ( #4920 )
...
* Feat: support operations for workflow run
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-26 16:04:34 +08:00
朱晓兵
c4a0c1480d
Feat: enhance the apply-once capability ( #4874 )
...
* Feat: enhance the apply-once capability
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: add unit-test
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: add doc
Signed-off-by: 朱晓兵 <596908030@qq.com >
* Fix: adjustment variable name
Signed-off-by: 朱晓兵 <596908030@qq.com >
Signed-off-by: 朱晓兵 <596908030@qq.com >
2022-10-25 21:15:21 +08:00
Tianxin Dong
2324357907
Fix: add sub step in vela workflow logs ( #4915 )
...
* Fix: add sub step in vela workflow logs
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix lint
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-25 16:39:38 +08:00
ZhongsJie
1e3759bb25
Feat: add feature docs and controller parameters for MultiStageComponentApply ( #4873 )
...
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
Signed-off-by: ZhongsJie <zhongsjie@gmail.com >
2022-10-25 14:51:26 +08:00
Tianxin Dong
56f200fb59
Fix: deprecated resolve reference in gen open API ( #4913 )
...
* Fix: depracted resolve reference in gen open API
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* fix test
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-25 11:13:41 +08:00
Somefive
210db6de95
Feat: add timeout for reconcile ( #4912 )
...
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
Signed-off-by: Somefive <yd219913@alibaba-inc.com >
2022-10-24 21:36:42 +08:00
barnettZQG
2255b0a6c7
Feat: Refer to the generation when checking the application status ( #4901 )
...
* Feat: Refer to the generation when checking the application status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: add the test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: the starting status overrided the deleting status
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-24 19:32:45 +08:00
Tianxin Dong
5c1bf0ad70
Fix: support sub steps in vela status ( #4911 )
...
* Fix: support sub steps in vela status
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
* add http do in stdlib
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com >
2022-10-24 15:58:57 +08:00
barnettZQG
accc7f9a83
Fix: assign the value for the registry of the addon ( #4910 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-24 14:14:11 +08:00
barnettZQG
b41391a4fa
Chore: wrong endpoint for LoadBalancer type service(revert #4729 ) ( #4902 )
...
* Chore: wrong endpoint for LoadBalancer type service(revert #4729 )
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
* Fix: change the unit test
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-22 12:38:08 +08:00
qiaozp
70c036a4be
Fix: legacy API in gateway trait ( #4899 )
...
* Fix: legacy API in gateway trait
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
* rollback version
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com >
2022-10-21 12:00:56 +08:00
Jianbo Sun
70f0500825
Feat: support context.clusterVersion for definition graceful upgrade ( #4890 )
...
* Feat: support context.clusterVersion for definition graceful upgrade
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: add test for context.clusterVersion
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
* Fix: use control plane context cluster
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
Signed-off-by: Jianbo Sun <jianbo.sjb@alibaba-inc.com >
2022-10-20 20:31:29 +08:00
barnettZQG
7855b0024d
Chore: change the package name of the readme-generator-for-helm ( #4894 )
...
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
Signed-off-by: barnettZQG <barnett.zqg@gmail.com >
2022-10-20 16:29:34 +08:00