Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSPS-348 part one: Publish Python thin client #148

Merged
merged 24 commits into from
Nov 1, 2024

Conversation

mmorgantaylor
Copy link
Collaborator

@mmorgantaylor mmorgantaylor commented Oct 30, 2024

Description

Publish the thin (auto-generated) client to PyPi via GHA.

  • PyPi project name: terra-scientific-pipelines-service-api-client
  • PyPi package name: teaspoons_client

Jira Ticket

achieves part of https://broadworkbench.atlassian.net/browse/TSPS-348

@mmorgantaylor mmorgantaylor marked this pull request as ready for review October 30, 2024 21:05
-i common/openapi.yml \
-g python \
-o teaspoons-client \
--additional-properties=projectName=terra-scientific-pipelines-service-client,packageName=teaspoons_client,packageVersion=${{ inputs.new-tag || '0.0.0' }},httpUserAgent=terra-scientific-pipeliens-service-client/${{ inputs.new-tag || '0.0.0'}}/python
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we call this terra-scientific-pipelines-service-thin-client or how will we distinguish this Pypi package from the thick client?

@@ -22,15 +22,23 @@ on:
push:
Copy link
Collaborator

@jsotobroad jsotobroad Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think you may have forgotten to push the latest changes to this file

@@ -169,7 +182,7 @@ jobs:
uses: ncipollo/release-action@v1
id: create_release
with:
tag: ${{ steps.tag.outputs.tag }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is another place in this job step where steps.tag.outputs.tag is referenced, do we not need to change that as well?

https://github.com/DataBiosphere/terra-scientific-pipelines-service/blob/main/.github/workflows/tag-publish.yml#L156

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh good call, there were actually several other places that needed to be updated. thank you!

@mmorgantaylor mmorgantaylor changed the title TSPS-348 Publish Python thin client TSPS-348 part one: Publish Python thin client Nov 1, 2024
Copy link

sonarqubecloud bot commented Nov 1, 2024

@mmorgantaylor mmorgantaylor merged commit ec14f45 into main Nov 1, 2024
12 checks passed
@mmorgantaylor mmorgantaylor deleted the TSPS-348_mma_publish_python_client branch November 1, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants