Skip to content

Conversation

@liudmylaru
Copy link
Member

@liudmylaru liudmylaru commented Apr 5, 2023

Description

We need action which will publish ADS to PyPI.

Jira: https://jira.oci.oraclecorp.com/browse/ODSC-37152

What was done

  1. I've created account in TestPyPI
  2. Created publish-to-pypi.yml with step to publish to TestPyPI
  3. Manually triggered Action - [DO NOT TRIGGER] Publish to PyPI
  4. Observed logs showing success and artifact uploaded - check the logs: https://github.com/oracle/accelerated-data-science/actions/runs/4622770194/jobs/8175860530
  5. Checked TestPyPI has test ads project published: https://test.pypi.org/project/test-oracle-ads/2.8.3/
  6. Updated publish-to-pypi.yml - commented out publish to TestPyPI, added publish to real PyPI

- changed project name to publish in TestPyPI
- revert name in setup.py back avter successful puclish to TestPyPI
- added step to publish to real PyPI
- step to publish to TestPyPI commented out with description how to use it
- uncomment last command, which publishes ADS to PyPI - action is ready
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 5, 2023
- removed -r testpypi from twine upload command
@liudmylaru liudmylaru merged commit ed2e6bd into develop Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants