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

Introduction of astro deploy --image-name=image_name --remote --runtime-version=rt_version #1763

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

rujhan-arora-astronomer
Copy link
Contributor

@rujhan-arora-astronomer rujhan-arora-astronomer commented Dec 13, 2024

Description

Added the support for --image-name flag in the astro deploy command. Internally, it will call the updateDeploymentImage API. No image will be pushed to the registry. The command will be like this -
astro deploy --image-name IMAGE_URL --runtime-version IMAGE_RUNTIME_VERSION

🎟 Issue(s)

https://github.com/astronomer/issues/issues/6859

🧪 Functional Testing

locally

📸 Screenshots

Add screenshots to illustrate the validity of these changes.

Screenshot 2024-12-13 at 5 00 48 PM Screenshot 2024-12-13 at 4 51 08 PM

📋 Checklist

  • Rebased from the main (or release if patching) branch (before testing)
  • Ran make test before taking out of draft
  • Ran make lint before taking out of draft
  • Added/updated applicable tests
  • Tested against Astro-API (if necessary).
  • Tested against Houston-API and Astronomer (if necessary).
  • Communicated to/tagged owners of respective clients potentially impacted by these changes.
  • Updated any related documentation

…orWorkingDir and buildDockerImageForCustomImage) and pushDockerImage. 2. Increased test coverage
…orWorkingDir and buildDockerImageForCustomImage) and pushDockerImage. 2. Increased test coverage
cmd/software/deploy.go Outdated Show resolved Hide resolved
cmd/software/deploy_test.go Outdated Show resolved Hide resolved
cmd/software/deploy_test.go Show resolved Hide resolved
software/deploy/deploy.go Outdated Show resolved Hide resolved
software/deploy/deploy.go Outdated Show resolved Hide resolved
software/deploy/deploy_test.go Outdated Show resolved Hide resolved
software/deploy/deploy_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@neel-astro neel-astro left a comment

Choose a reason for hiding this comment

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

Left some final comments to squash

software/deploy/deploy.go Outdated Show resolved Hide resolved
software/deploy/deploy_test.go Show resolved Hide resolved
Base automatically changed from 6828 to main December 18, 2024 09:34
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