Skip to content

Commit

Permalink
Fix publish workflow (#214)
Browse files Browse the repository at this point in the history
* Use PyPI trusted publisher and fix images in readme

* increment version
  • Loading branch information
stefanbschneider committed May 4, 2023
1 parent b020689 commit 281f77f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:

permissions:
contents: read
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write

jobs:
deploy:
Expand All @@ -33,9 +35,7 @@ jobs:
pip install build
- name: Build package
run: python -m build
# Use PyPI trusted publisher: https://docs.pypi.org/trusted-publishers/using-a-publisher/
- name: Publish package
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
uses: pypa/gh-action-pypi-publish@release/v1

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Simulate flow-level, inter-node network coordination including scaling and place
- Graceful adjustment of placements: When VNFs are removed from a placement by an algorithm. Currently processing flows are allowed to finish processing before the VNF is completely removed (see PR [#78](https://github.com/RealVNF/coordination-simulation/pull/78) and [#81](https://github.com/RealVNF/coordination-simulation/pull/81)).

<p align="center">
<img src="docs/realvnf_logo.png" height="150" hspace="30"/>
<img src="docs/upb.png" width="200" hspace="30"/>
<img src="docs/huawei_horizontal.png" width="250" hspace="30"/>
<img src="https://raw.githubusercontent.com/RealVNF/coord-sim/master/docs/realvnf_logo.png" height="150" hspace="30"/>
<img src="https://raw.githubusercontent.com/RealVNF/coord-sim/master/docs/upb.png" width="200" hspace="30"/>
<img src="https://raw.githubusercontent.com/RealVNF/coord-sim/master/docs/huawei_horizontal.png" width="250" hspace="30"/>
</p>

## Projects Using coord-sim
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name='coord-sim',
version='2.2.0',
version='2.2.1',
description='Simulate flow-level, inter-node network coordination including scaling and placement of services and '
'scheduling/balancing traffic between them.',
long_description=long_description,
Expand Down

0 comments on commit 281f77f

Please sign in to comment.