-
Notifications
You must be signed in to change notification settings - Fork 330
One click fix: Dynamically load defaults by executing set_env.sh #2287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: Yao, Qing <qing.yao@intel.com>
…essary logs Signed-off-by: Yao, Qing <qing.yao@intel.com>
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR dynamically loads default values for interactive parameters by executing shell scripts instead of relying on hardcoded defaults. The change addresses CI test failures by sourcing environment variables from set_env.sh scripts during deployment configuration.
- Replaces static text parsing with shell script execution for robust variable extraction
- Removes hardcoded default values from configuration and loads them dynamically from scripts
- Adds --quiet-pull flag to docker-compose commands
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| one_click_deploy/core/utils.py | Replaces regex-based text parsing with shell script execution for environment variable extraction |
| one_click_deploy/core/deployer.py | Integrates dynamic default loading and adds quiet-pull flag to docker-compose |
| one_click_deploy/core/config.py | Removes hardcoded default values from interactive parameter configurations |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
for more information, see https://pre-commit.ci
Signed-off-by: Yao, Qing <qing.yao@intel.com>
…ject/GenAIExamples into yao531441/one_click_fix
Signed-off-by: Yao, Qing <qing.yao@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: ZePan110 <ze.pan@intel.com>
Signed-off-by: ZePan110 <ze.pan@intel.com>
Description
Dynamically load defaults by executing set_env.sh on one click deploy scripts.
Issues
CI test fail cases
https://github.com/opea-project/GenAIExamples/actions/runs/17874502052/job/51091036509
Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
n/a
Tests
CI