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

Added --image-name flag for software, similar to astro #1758

Merged
merged 14 commits into from
Dec 18, 2024
Merged

Added --image-name flag for software, similar to astro #1758

merged 14 commits into from
Dec 18, 2024

Conversation

rujhan-arora-astronomer
Copy link
Contributor

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

Description

Added --image-name flag for software, similar to astro.
If image-name is set, we tag the passed image with our standard tag instead of building a new image and then the rest of the flow remains the same.
The behaviour is the same as astro.

🎟 Issue(s)

Related https://github.com/astronomer/issues/issues/6828

🧪 Functional Testing

locally

📸 Screenshots

Screenshot 2024-12-12 at 6 19 00 PM Screenshot 2024-12-12 at 6 19 38 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

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 minor nits, but functionally it looks fine

cmd/software/deploy_test.go Outdated Show resolved Hide resolved
cmd/software/deploy_test.go Show resolved Hide resolved
software/deploy/deploy_test.go Outdated Show resolved Hide resolved
software/deploy/deploy_test.go Outdated Show resolved Hide resolved
software/deploy/deploy.go Outdated Show resolved Hide resolved
…orWorkingDir and buildDockerImageForCustomImage) and pushDockerImage. 2. Increased test coverage
…orWorkingDir and buildDockerImageForCustomImage) and pushDockerImage. 2. Increased test coverage
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 minor nits, functionally looks ok

cmd/software/deploy.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
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 a final comment to squash

software/deploy/deploy_test.go Show resolved Hide resolved
@neel-astro neel-astro merged commit 216da08 into main Dec 18, 2024
3 checks passed
@neel-astro neel-astro deleted the 6828 branch 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