supervision icon indicating copy to clipboard operation
supervision copied to clipboard

ci: 👷 pypi username - password swap with token

Open onuralpszr opened this issue 1 year ago • 2 comments

Description

Pypi username / password has been replaced to with pypi token

onuralpszr avatar Sep 24 '24 10:09 onuralpszr

As discussed privately, we'll instead set this up with Trusted Providers.

@onuralpszr , we now have the publishers set up on PyPi. We can proceed with changing the code.

LinasKo avatar Sep 26 '24 16:09 LinasKo

As discussed privately, we'll instead set this up with Trusted Providers.

@onuralpszr , we now have the publishers set up on PyPi. We can proceed with changing the code.

Are we going to use single file or both files (change trigger control done via "release") ?

onuralpszr avatar Sep 26 '24 17:09 onuralpszr

Are we going to use single file or both files (change trigger control done via "release") ?

We've added 2 publishers. One for release via publish.yml and one for test, via publish-test.yml.

LinasKo avatar Sep 27 '24 08:09 LinasKo

Why do both files have a "🚀 Publish to Test-PyPi" and "🚀 Publish to PyPi"? Should it not be one for each?

LinasKo avatar Sep 27 '24 08:09 LinasKo

Why do both files have a "🚀 Publish to Test-PyPi" and "🚀 Publish to PyPi"? Should it not be one for each?

Current setup

pre-release versions goes to pypi and pypi-test server release version goes to pypi and pypi-test server

onuralpszr avatar Sep 27 '24 08:09 onuralpszr

So publish-test isn't actually for test, but for pre-release. Can we add a comment in the file? This isn't automatically obvious for someone new to the system.

LinasKo avatar Sep 27 '24 09:09 LinasKo