* feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
* feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
* feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
* feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feat: support user pull one or more arch from image registry and combine them to one image
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
---------
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
* fix: failed to copy absolute file: failed to create local dir x permission denied
Signed-off-by: William Wang <williamw0825@gmail.com>
* docs: make log msg more accurate
Signed-off-by: William Wang <williamw0825@gmail.com>
* feat: ensure mode of dir when using src as dir in copy module
Signed-off-by: William Wang <williamw0825@gmail.com>
* refactor: change func name to ensureDestDirMode
Signed-off-by: William Wang <williamw0825@gmail.com>
* fix: pass go lint
Signed-off-by: William Wang <williamw0825@gmail.com>
---------
Signed-off-by: William Wang <williamw0825@gmail.com>
bugfix: fix bug that image module read or write file ,module read all file content into memory
bugfix: fix bug that image module read or write file ,module read all file content into memory
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
* fix: runc version check failed
Signed-off-by: William Wang <williamw0825@gmail.com>
* fix: kubectl version check failed
Signed-off-by: William Wang <williamw0825@gmail.com>
* fix: helm version check failed
Signed-off-by: William Wang <williamw0825@gmail.com>
* fix: use .kube_version in capkk task
Signed-off-by: William Wang <williamw0825@gmail.com>
* fix: helm version check in capkk
Signed-off-by: William Wang <williamw0825@gmail.com>
---------
Signed-off-by: William Wang <williamw0825@gmail.com>
- Updated Create, Get, and GuaranteedUpdate methods to use runtime.DecodeInto instead of a custom decode function.
- Enhanced error messages for better debugging.
- Commented out the old decode function for potential future reference.
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
- Changed the archive name template in .goreleaser.yaml for better clarity.
- Added a new section in README files to document the UI installation process for versions v4.0.0 and above.
- Removed the old release workflow file and updated the releaser.yaml to include artifact synchronization to OSS.
- Introduced a new script (downloadKubekey.sh) for downloading binaries with UI support.
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
This update introduces a function to ensure that internal IPv4 addresses and SSH connections are unique across all hosts in the inventory. It checks for duplicates and returns an error if any are found, enhancing the integrity of the inventory data.
Signed-off-by: redscholar <blacktiledhouse@gmail.com>
bugfix: fix ssh check with wrong local key check
bugfix: fix ssh check with wrong local key check
bugfix: fix ssh check with wrong local key check
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
feature: support task include vars
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feature: support same key in different file
feature: support same key in different file
feature: support same key in different file
feature: support same key in different file
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
feature: support defaults main dir
feature: support defaults main dir
feature: support defaults main dir
feature: support defaults main dir
feature: support defaults main dir
feature: support defaults main dir
Signed-off-by: xuesongzuo@yunify.com <xuesongzuo@yunify.com>
* feat: enhance precheck tasks for image registry and network validation
- Added a task to ensure successful authentication to the image registry.
- Updated existing tasks to provide clearer failure messages for required configurations.
- Improved validation for network interfaces and CIDR configurations, ensuring dual-stack support.
- Enhanced error handling in the resource handler for playbook creation.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: enhance configuration and query handling
- Added `-trimpath` flag to Go build configuration for improved binary paths.
- Updated REST configuration to set QPS and Burst limits for better performance.
- Refactored query handling to use string types for field and value, improving type consistency.
- Enhanced error handling in resource configuration updates and improved parsing of request bodies.
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: check inventory when it's changed
Signed-off-by: joyceliu <joyceliu@yunify.com>
* feat: enhance playbook execution and query handling
- Added a new optional query parameter `promise` to the playbook and inventory endpoints, allowing for asynchronous execution control.
- Introduced a new result state `ResultPending` to indicate ongoing operations.
- Refactored the executor function to handle the `promise` parameter, enabling conditional execution of playbooks.
- Improved error handling and logging during playbook execution.
Signed-off-by: joyceliu <joyceliu@yunify.com>
---------
Signed-off-by: joyceliu <joyceliu@yunify.com>
- Updated the Connector interface to return both stdout and stderr for command execution.
- Modified implementations in local, kubernetes, and ssh connectors to support the new return values.
- Improved documentation for the Connector interface methods for clarity.
- Added error handling for stderr in command execution across connectors.
- Introduced new utility functions for IP parsing and checking localhost IPs.
Signed-off-by: joyceliu <joyceliu@yunify.com>
- Added a new field `Result` to `SchemaTablePlaybook` to store the result of the associated playbook.
- Updated the `allSchema` function to unmarshal and assign the playbook result if available.
- Cleared `PlaybookPath` after processing to prevent unintended references.
- Adjusted the `SchemaTable` struct to include `PlaybookPath` for better schema management.
Signed-off-by: joyceliu <joyceliu@yunify.com>