Feat/fix pipelines#9
Conversation
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
Signed-off-by: jdiaconu <jdiaconu@cisco.com>
There was a problem hiding this comment.
Pull Request Overview
This PR fixes file paths in Docker build configurations and adds a GitHub workflow for Python SDK releases. The changes appear to correct the project structure by adding "samples/" prefix to Docker COPY commands and introduce automated PyPI publishing capabilities.
- Updated Docker file paths to reflect the current project structure with "samples/" prefix
- Added GitHub workflow for automated Python SDK releases to PyPI
- Modified linting configuration to exclude additional directories and disable Python flake8 validation
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| samples/mcp/currency_exchange/Dockerfile | Updated COPY path to include "samples/" prefix |
| samples/agent/oasf/financial_assistant/Dockerfile | Updated COPY paths to include "samples/" prefix for both main files and UI directory |
| samples/agent/a2a/currency_exchange/Dockerfile | Updated COPY path to include "samples/" prefix |
| .github/workflows/release-python-sdk.yml | Added new workflow for automated PyPI publishing of Python SDK |
| .github/workflows/lint.yml | Extended regex exclusions and disabled Python flake8 validation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| uses: pypa/gh-action-pypi-publish@release/v1 | ||
| with: | ||
| packages-dir: ./python/dist | ||
| password: ${{ secrets.PYPI_API_TOKEN }} |
There was a problem hiding this comment.
Using password-based authentication with PYPI_API_TOKEN is deprecated. Since Trusted Publishing is already configured (id-token: write permission), remove the password parameter to use the more secure OIDC-based authentication method.
| password: ${{ secrets.PYPI_API_TOKEN }} |
Description
Build stuff
Type of Change
Checklist