Skip to content

DEVOPS-1154: Updating the python deploy workflow to reduce warnings message - #62

Merged
sebhmg merged 2 commits into
developfrom
DEVOPS-1154
Oct 6, 2026
Merged

sebhmg merged 2 commits into
developfrom
DEVOPS-1154

Conversation

@RomFloreani

@RomFloreani RomFloreani commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

DEVOPS-1154 - address warnings upon publishing Python packages from GitHub
Updates python_deploy_dev.yml and python_deploy_prod.yml to CI-tools v3.13.0, reducing warning messages in the deploy workflows.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 29, 2026 13:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The workflow inputs, outputs, permissions, artifacts, and pinned action versions align with CI-tools v3.13.0.

Review effort: Balanced
Findings: None

What changed in this PR

Updates Python deployment workflows to CI-tools v3.13.0 and adopts OIDC trusted publishing.

Changes:

  • Publishes to PyPI/TestPyPI through direct trusted-publishing jobs.
  • Retains JFrog publishing through reusable workflows.
  • Pins updated actions to verified release commits.
File Description
.github/​workflows/​python_deploy_dev.yml Adds direct TestPyPI publishing.
.github/​workflows/​python_deploy_prod.yml Adds direct production PyPI publishing.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@RomFloreani
RomFloreani requested a review from sebhmg October 1, 2026 14:22
Comment thread .github/workflows/python_deploy_dev.yml Outdated
Comment on lines +27 to +38
name: Publish development pypi package (JFrog Artifactory)
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-python-publish_pypi_package.yml@b2de1e00a0be160d8cf6e14716825673070bf264 # v3.13.0
with:
package-manager: 'poetry'
package-name: 'surface-apps'
version-tag: ${{ github.ref_name }}
python-version: '3.12'
virtual-repo-names: '["public-pypi-dev", "test-pypi"]'
virtual-repo-names: '["public-pypi-dev"]'
secrets:
JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }}
JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }}
PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }}
publish-pypi-package:
@sebhmg
sebhmg merged commit 5b1413b into develop Oct 6, 2026
14 of 17 checks passed
@sebhmg
sebhmg deleted the DEVOPS-1154 branch October 6, 2026 20:39
@codecov

codecov Bot commented Oct 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.59%. Comparing base (978ebe3) to head (c83d452).
⚠️ Report is 16 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #62      +/-   ##
===========================================
+ Coverage    84.95%   85.59%   +0.63%     
===========================================
  Files            5        5              
  Lines          246      243       -3     
  Branches        30       29       -1     
===========================================
- Hits           209      208       -1     
+ Misses          22       21       -1     
+ Partials        15       14       -1     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

4 participants