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

feat(deployer): add more deployment metadata #943

Merged
merged 3 commits into from
Jun 8, 2023
Merged

feat(deployer): add more deployment metadata #943

merged 3 commits into from
Jun 8, 2023

Conversation

hseeberger
Copy link
Contributor

Ref #941.

cargo-shuttle/src/lib.rs Outdated Show resolved Hide resolved
@hseeberger
Copy link
Contributor Author

I really like the DeploymentRequest "struct approach".

Copy link
Contributor

@iulianbarbu iulianbarbu 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 almost there @hseeberger ! Thanks a lot for starting this, it is an important project for our upcoming console.

Cargo.lock Outdated Show resolved Hide resolved
cargo-shuttle/src/lib.rs Outdated Show resolved Hide resolved
common/src/models/deployment.rs Show resolved Hide resolved
deployer/src/handlers/mod.rs Outdated Show resolved Hide resolved
deployer/src/persistence/deployment.rs Outdated Show resolved Hide resolved
deployer/src/handlers/mod.rs Outdated Show resolved Hide resolved
cargo-shuttle/src/lib.rs Outdated Show resolved Hide resolved
@hseeberger
Copy link
Contributor Author

hseeberger commented Jun 2, 2023 via email

Copy link
Contributor

@iulianbarbu iulianbarbu 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 great @hseeberger and @jonaro00 ! Good job with owning and delivering this. I would need to test it out locally a bit before approving but I'll leave some nits before of that (feel free to discount them).

cargo-shuttle/src/lib.rs Outdated Show resolved Hide resolved
cargo-shuttle/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

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

Thanks! The data is handled well for both old and new projects. The only thing I noticed is that when doing cargo-shuttle deployments list we do not get the git metadata in the table. I thought it would be useful to be shown there, otherwise this info will be hidden to the CLI users.

@jonaro00
Copy link
Member

jonaro00 commented Jun 7, 2023

@iulianbarbu Adding a way to fetch this metadata was not in spec for this PR. What you describe should of course be added, but we can keep that in a separate issue.

@iulianbarbu
Copy link
Contributor

@iulianbarbu Adding a way to fetch this metadata was not in spec for this PR. What you describe should of course be added, but we can keep that in a separate issue.

Indeed. Would be great to open an issue to track it then. 👍

Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

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

LGTM and thanks again @hseeberger and @jonaro00 !

Copy link
Contributor

@oddgrd oddgrd left a comment

Choose a reason for hiding this comment

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

LGTM too, and great work making this a non-breaking change!

@oddgrd oddgrd merged commit 6cb2cf2 into shuttle-hq:main Jun 8, 2023
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.

4 participants