Merge branch 'main' into enhance-config-usage-hint

Signed-off-by: Kenneth Bingham <kenneth.bingham@netfoundry.io>
This commit is contained in:
Kenneth Bingham 2025-01-29 10:06:04 -05:00 committed by GitHub
commit 9b8fafbc71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 8 deletions

View File

@ -45,7 +45,7 @@ jobs:
name: zrok_sdk_${{ matrix.spec.target }} name: zrok_sdk_${{ matrix.spec.target }}
path: ${{ github.workspace }}/sdk/python/sdk/zrok/dist/* path: ${{ github.workspace }}/sdk/python/sdk/zrok/dist/*
publish: publish-testpypi:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
needs: [ build_wheels ] needs: [ build_wheels ]
permissions: permissions:
@ -54,16 +54,10 @@ jobs:
- name: Download artifacts - name: Download artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
path: ./download path: ./dist
merge-multiple: true merge-multiple: true
pattern: zrok_sdk_* pattern: zrok_sdk_*
- name: check
run: |
ls -lR ./download/
mkdir dist
cp ./download/* ./dist/
- name: Publish wheels (TestPYPI) - name: Publish wheels (TestPYPI)
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1
with: with:
@ -72,6 +66,19 @@ jobs:
skip-existing: true skip-existing: true
verbose: true verbose: true
publish-pypi:
runs-on: ubuntu-20.04
needs: [ publish-testpypi ]
permissions:
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: ./dist
merge-multiple: true
pattern: zrok_sdk_*
- name: Publish wheels (PyPI) - name: Publish wheels (PyPI)
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1
with: with:

View File

@ -9,6 +9,8 @@ CHANGE: The Python SDK's `Overview()` function was refactored as a class method
FEATURE: The Python SDK now includes a `ProxyShare` class providing an HTTP proxy for public and private shares and a FEATURE: The Python SDK now includes a `ProxyShare` class providing an HTTP proxy for public and private shares and a
Jupyter notebook example (https://github.com/openziti/zrok/pull/847). Jupyter notebook example (https://github.com/openziti/zrok/pull/847).
FIX: PyPi publishing was failing due to a CI issue (https://github.com/openziti/zrok/issues/849)
## v0.4.46 ## v0.4.46
FEATURE: Linux service template for systemd user units (https://github.com/openziti/zrok/pull/818) FEATURE: Linux service template for systemd user units (https://github.com/openziti/zrok/pull/818)