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

feature: check shuttle service version before deploy #202

Merged
merged 10 commits into from
Jun 7, 2022

Conversation

marioidival
Copy link
Contributor

@marioidival marioidival commented Jun 6, 2022

Approach:

The idea is given to all users an endpoint to get the current version of shuttle-service used by the API, then the clients just can make a call on this endpoint and see the current version.

- Use process command to get cargo tree response and parse the shuttle-service version
@marioidival marioidival requested review from chesedo and brokad June 6, 2022 00:51
@marioidival marioidival self-assigned this Jun 6, 2022
- While the deploy process happen, we get the version from API and compare with current shuttle-service version
@marioidival marioidival force-pushed the feature/check-server-version branch from dbc41ec to a7d0af9 Compare June 6, 2022 00:53
Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

@marioidival this is looking great!! I mostly have questions on small things

@marioidival marioidival force-pushed the feature/check-server-version branch from 1dda23b to 54479a3 Compare June 6, 2022 17:57
@marioidival marioidival requested a review from chesedo June 6, 2022 17:58
@marioidival marioidival marked this pull request as ready for review June 6, 2022 21:30
Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

Just one question on how the matching works

@marioidival marioidival requested a review from chesedo June 7, 2022 09:28
Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

This is looking awesome, thanks @marioidival!

@chesedo chesedo merged commit 6a99d6d into main Jun 7, 2022
@marioidival marioidival deleted the feature/check-server-version branch June 7, 2022 10:27
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