Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FEAT: Smoke Testing pip installation on Blank Docker Images#132

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
bewithgaurav merged 18 commits intomainfrombewithgaurav/blank_docker_test
Jul 17, 2025

Conversation

bewithgaurav
Copy link
Collaborator

@bewithgauravbewithgaurav commentedJul 10, 2025
edited by azure-boardsbot
Loading

ADO Work Item Reference

AB#37531


Summary

Testing driver on minimal docker images with just python installed.
This pull request introduces smoke testing the package from PyPI.

Pipeline Enhancements:

  • Added a new pipeline configuration file,pypi-package-smoketest.yml, to perform smoke tests on PyPI packages across three Linux distributions: UBI9 (RHEL), Ubuntu, and Debian. This ensures compatibility and reliability of the package across different environments.

@CopilotCopilotAI review requested due to automatic review settingsJuly 10, 2025 13:55
Copy link
Contributor

@CopilotCopilotAI 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 adds smoke testing for themssql-python package on minimal Docker images and provides a Dockerfile for a UBI9‐based Python 3.12 container.

  • Introduces a new Azure Pipelines config (pypi-package-smoketest.yml) that spins up UBI9, Ubuntu, and Debian containers, installs Python/pip, and runs a simplemain.py test.
  • Adds aDockerfile for UBI9 Python 3.12 that creates and activates a virtual environment.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
eng/pipelines/pypi-package-smoketest.ymlCI pipeline to smoke‐test PyPI package installation on three Linux distros
DockerfileUBI9‐based Python 3.12 image with a preconfigured virtual environment
Comments suppressed due to low confidence (3)

eng/pipelines/pypi-package-smoketest.yml:43

  • Ubuntu 22.04 and Debian 12 default apt repositories do not include Python 3.12. Attempting to installpython3.12 will fail. Consider either using the system Python (e.g.python3), adding a PPA/debian backports, or aligningpython_version with the distro’s available version.
                python$(python_version) \

eng/pipelines/pypi-package-smoketest.yml:30

  • [nitpick] The inline shell block is quite large and repeated across matrix entries. Consider extracting these steps into a shared script file (e.g.scripts/smoketest.sh) to improve readability and reduce duplication.
    - script: |

Dockerfile:7

  • [nitpick] Pinning the virtual environment path is fine, but you may want to ensurepython3 always points to the expected minor version (3.12) by adding apython3.12 symlink or using the explicit binary (python3.12).
RUN python3 -m venv $VENV_PATH

@bewithgauravbewithgaurav changed the titleTEST: Smoke Testing pip installation on Blank Docker ImagesFEAT: Smoke Testing pip installation on Blank Docker ImagesJul 10, 2025
@github-actionsgithub-actionsbot added the pr-size: smallMinimal code update labelJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: smallMinimal code update labelsJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: smallMinimal code update labelsJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: smallMinimal code update labelsJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: smallMinimal code update labelsJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: smallMinimal code update labelsJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: smallMinimal code update labelsJul 10, 2025
@github-actionsgithub-actionsbot removed the pr-size: smallMinimal code update labelJul 10, 2025
@github-actionsgithub-actionsbot added the pr-size: smallMinimal code update labelJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: mediumModerate update size and removed pr-size: smallMinimal code update labelsJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: mediumModerate update size and removed pr-size: mediumModerate update size labelsJul 10, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: mediumModerate update size labelsJul 16, 2025
@github-actionsgithub-actionsbot added pr-size: smallMinimal code update and removed pr-size: smallMinimal code update labelsJul 17, 2025
@bewithgauravbewithgaurav merged commit4b8949b intomainJul 17, 2025
16 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@jahnvi480jahnvi480jahnvi480 approved these changes

@sumitmsftsumitmsftsumitmsft approved these changes

Assignees
No one assigned
Labels
pr-size: smallMinimal code update
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@bewithgaurav@jahnvi480@sumitmsft

[8]ページ先頭

©2009-2025 Movatter.jp