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

Helper script for getting git credentials from the environment #1190

Merged
merged 4 commits into from
Feb 20, 2025

Conversation

eric-anderson
Copy link
Collaborator

No description provided.

Useful for passing in fine-grained personal access tokens via environment variables when SSHing
into a node so that they don't have to be stored in a shared environment.
Copy link
Contributor

@Soeb-aryn Soeb-aryn left a comment

Choose a reason for hiding this comment

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

LGTM !

exit(0)

logging.error(f"WARNING from {__file__}: Unable to find CUSTOMER_USER and CUSTOMER_KEY in environ.")
logging.error(f"WARNING since the helper was enabled, this is probably an error.")
Copy link
Contributor

Choose a reason for hiding this comment

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

we might not need f-string here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

@eric-anderson eric-anderson enabled auto-merge (squash) February 20, 2025 21:05
@eric-anderson eric-anderson merged commit faafd11 into main Feb 20, 2025
11 of 15 checks passed
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