Skip to content

Reject astro remote deploys for too-new agent clients #1957

@feluelle

Description

@feluelle

At the time of writing this issue, the remote deploy command does not consume information about the Remote Deployment. We could add a --deployment-id flag to read the deployment info, and if the image defined in Dockerfile.client is based on an Astro Runtime version newer of what the Remote Deployment uses, we should reject the deploy, and tell the user to either downgrade the client version, or upgrade the Remote Deployment version.

related to: https://github.com/astronomer/astro-agent/issues/673

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions