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

[GSProcessing] Remove requirement to have poetry installed for GSP im… #1186

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thvasilo
Copy link
Contributor

…age push script

Issue #, if available:

Description of changes:

  • Before our push script still needed poetry to determine the latest package version if not provided by the user.
  • This PR brings it in line with the build script that parses the latest version by listing the version directories under graphstorm-processing/docker/, doing a version-aware sort and selecting the last directory name (e.g. base name of graphstorm-processing/docker/0.4.1 -> 0.4.1)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@thvasilo thvasilo added gsprocessing For issues and PRs related the the GSProcessing library dependencies Pull requests that update a dependency file 0.4.1 labels Feb 22, 2025
@thvasilo thvasilo added this to the 0.4.1 release milestone Feb 22, 2025
@thvasilo thvasilo requested a review from jalencato February 22, 2025 01:12
@thvasilo thvasilo self-assigned this Feb 22, 2025
LATEST_VERSION=${VERSION}
REGION=$(aws configure get region) || REGION=""
REGION=${REGION:-us-west-2}
Copy link
Collaborator

@jalencato jalencato Feb 22, 2025

Choose a reason for hiding this comment

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

I remember we add this for the case that aws configure does not have default region, common case when we launched a new EC2 instance. May we test on this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So before if a user did not have a region configured and did not provide a region, the script would push the image to us-west-2 by default.

I'm not sure if that's a good guess on the behalf of the customer though, so I thought we'd do this and error out instead of assuming us-west-2.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Then let us add a comment here to highlight this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.4.1 dependencies Pull requests that update a dependency file gsprocessing For issues and PRs related the the GSProcessing library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants