Skip to content

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

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open

Only test #2092

wants to merge 29 commits into from

Conversation

ZePan110
Copy link
Collaborator

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.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

List the newly introduced 3rd party dependency if exists.

Tests

Describe the tests that you ran to verify your changes.

yao531441 and others added 25 commits June 19, 2025 10:28
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: Yao, Qing <[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]>
Signed-off-by: ZePan110 <[email protected]>
@Copilot Copilot AI review requested due to automatic review settings June 25, 2025 05:05
Copy link

github-actions bot commented Jun 25, 2025

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

one_click_deploy/requirements.txt

PackageVersionLicenseIssue Type
ruamel.yamlNullUnknown License

Scanned Files

  • .github/workflows/_run-one-click.yml
  • one_click_deploy/requirements.txt

Copy link
Contributor

@Copilot Copilot AI left a 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()
Copy link
Preview

Copilot AI Jun 25, 2025

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.

Suggested change
self.session = requests.Session()

Copilot uses AI. Check for mistakes.

@ZePan110 ZePan110 force-pushed the test-nightly branch 6 times, most recently from 287ce85 to 7d07d78 Compare June 25, 2025 05:32
Signed-off-by: ZePan110 <[email protected]>
ZePan110 added 3 commits June 26, 2025 09:01
Signed-off-by: ZePan110 <[email protected]>
Signed-off-by: ZePan110 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants