-
Notifications
You must be signed in to change notification settings - Fork 294
Only test #2092
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
base: main
Are you sure you want to change the base?
Only test #2092
Conversation
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: Yao, Qing <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: ZePan110 <[email protected]>
…Examples into one_click_dev
Signed-off-by: Yi Yao <[email protected]>
…Examples into one_click_dev
Signed-off-by: ZePan110 <[email protected]>
for more information, see https://pre-commit.ci
…Examples into one_click_dev
Signed-off-by: Yi Yao <[email protected]>
…Examples into one_click_dev
Signed-off-by: Yi Yao <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: Yi Yao <[email protected]>
…Examples into one_click_dev
Signed-off-by: Yao, Qing <[email protected]>
for more information, see https://pre-commit.ci
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Dependency ReviewThe following issues were found:
License Issuesone_click_deploy/requirements.txt
Scanned Files
|
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 introduces a comprehensive one‐click deployment suite for GenAI Examples with interactive Python scripts, utility modules, updated configuration files, and supporting shell scripts and CI workflows.
- Added main deployment script (one_click_deploy.py) and extended associated modules (utils.py, deployer.py, tester.py).
- Updated configuration and utility files (config.py, common scripts) and enhanced CI workflows for PR testing and code scanning.
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
one_click_deploy/requirements.txt | Added new dependencies for the deployment and testing scripts |
one_click_deploy/one_click_deploy.py | Introduced the interactive one-click deployment command-line interface |
one_click_deploy/core/utils.py | Added and refined utility functions for logging, command execution, etc. |
one_click_deploy/core/tester.py | Implemented connection tester classes and methods |
one_click_deploy/core/deployer.py | Implemented deployment, service configuration, and cleanup flows |
one_click_deploy/core/config.py | Extended configuration for multiple GenAI examples |
one_click_deploy/common/*.sh | Added several shell scripts for utilities, environment checks, and builds |
.github/workflows/*.yml | Introduced and updated CI workflows for PR tests and code scans |
Other docker_compose and README files | Updated sample scripts and documentation for deployments |
Comments suppressed due to low confidence (1)
one_click_deploy/one_click_deploy.py:1
- [nitpick] Ensure consistent copyright years across the project; several files use 2025 while others use 2024.
# Copyright (C) 2025 Intel Corporation
# self.session.proxies = {"http": self.args.http_proxy, "https": self.args.https_proxy} | ||
self.results = {"passed": 0, "failed": 0, "skipped": 0} | ||
|
||
self.session = requests.Session() |
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.
The requests.Session() is initialized twice in the init method. Remove the duplicate initialization to improve maintainability.
self.session = requests.Session() |
Copilot uses AI. Check for mistakes.
287ce85
to
7d07d78
Compare
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
…xamples into test-nightly Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Description
The summary of the proposed changes as long as the relevant motivation and context.
Issues
List the issue or RFC link this PR is working on. If there is no such link, please mark it as
n/a
.Type of change
List the type of change like below. Please delete options that are not relevant.
Dependencies
List the newly introduced 3rd party dependency if exists.
Tests
Describe the tests that you ran to verify your changes.