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

Add the ability to change the deployment type to dag_deploy from the CLI (both for create and update) #1516

Merged
merged 6 commits into from
Feb 2, 2024

Conversation

rujhan-arora-astronomer
Copy link
Contributor

@rujhan-arora-astronomer rujhan-arora-astronomer commented Feb 1, 2024

Description

Add the ability to change the deployment type to dag_deploy from the CLI (both for create and update)

🎟 Issue(s)

Related issue
https://github.com/astronomer/issues/issues/6119

🧪 Functional Testing

Locally

📸 Screenshots

Add screenshots to illustrate the validity of these changes.

📋 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

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5667296) 85.92% compared to head (5af77a1) 85.93%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1516   +/-   ##
=======================================
  Coverage   85.92%   85.93%           
=======================================
  Files         112      112           
  Lines       14838    14843    +5     
=======================================
+ Hits        12750    12755    +5     
  Misses       1252     1252           
  Partials      836      836           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@rishkarajgi rishkarajgi left a comment

Choose a reason for hiding this comment

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

lgtm

ashb and others added 3 commits February 2, 2024 14:10
This is needed to support Go 1.21

- Depguard changed to v2 so the default mod changed
- Revive was just noisey, so has been removed
- I removed some repeated (sub)strings into consts
- I also moved a repeated code block (detected by contsnts) into a
  function
Also switch from using deprecated CircleCI images in favour of the new
ones
Copy link
Contributor

@kushalmalani kushalmalani left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the comments

@kushalmalani kushalmalani merged commit 0764455 into main Feb 2, 2024
5 checks passed
@kushalmalani kushalmalani deleted the 6119 branch February 2, 2024 08:49
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.

5 participants