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: beta deployment response, current deployment & logs #1782

Merged
merged 3 commits into from
May 23, 2024

Conversation

jonaro00
Copy link
Member

uses fixed /current deployment endpoint for deployment status and logs command.

updates deployment response model with more relevant fields:

  • created_at
  • URIs is a Vec
  • leaving out git metadata to leave room to rethink: it probably belongs in build metadata

@jonaro00 jonaro00 force-pushed the deployment-response branch from 617a0c4 to 5978216 Compare May 23, 2024 11:51
@@ -32,6 +32,8 @@ pub enum EcsState {
Stopped,
Stopping,
Failed,
/// Fallback
Unknown,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we really want to introduce that ? When can it happen ?

Copy link
Member Author

@jonaro00 jonaro00 May 23, 2024

Choose a reason for hiding this comment

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

Made it a fallback when we are parsing an ECS string response into the enum. We don't (yet) cover states that we don't expect to see.

@jonaro00 jonaro00 merged commit e5b20d7 into shuttle-hq:main May 23, 2024
24 checks passed
@jonaro00 jonaro00 deleted the deployment-response branch May 23, 2024 19:55
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.

3 participants