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

[RSDK-9775] slack integration for ota config update #398

Merged
merged 5 commits into from
Jan 29, 2025

Conversation

mattjperez
Copy link
Member

No description provided.

@mattjperez mattjperez requested a review from a team as a code owner January 28, 2025 21:36
Copy link
Member

@gvaradarajan gvaradarajan left a comment

Choose a reason for hiding this comment

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

LGTM, minor comment and a question

async def connect(robot_address: str, api_key: str, api_key_id: str) -> ViamClient:
dial_options = DialOptions.with_api_key(api_key_id=api_key_id,api_key=api_key)
return await ViamClient.create_from_dial_options(dial_options)
for i in range(5):
Copy link
Member

Choose a reason for hiding this comment

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

make this a variable and check i == <var> - 1 below?

url_target = f"{url_base}/latest/download/{bin_name}"
else:
url_target = f"{url_base}/download/{tag_name}/{bin_name}"
url = f"{bucket_url}/{bucket_name}/{tag_name}/{bin_name}"
Copy link
Member

Choose a reason for hiding this comment

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

should the binary name also be an env variable?

@mattjperez mattjperez force-pushed the rsdk-9775-slack-ota-status branch from 778370e to 724ff8a Compare January 29, 2025 17:15
@mattjperez mattjperez merged commit f6f190a into viamrobotics:main Jan 29, 2025
6 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