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

Upgrade command #1314

Merged
merged 76 commits into from
Aug 3, 2023
Merged

Upgrade command #1314

merged 76 commits into from
Aug 3, 2023

Conversation

sunkickr
Copy link
Contributor

@sunkickr sunkickr commented Jul 18, 2023

Description

astro dev upgrade-test

PRD: https://www.notion.so/astronomerio/Astro-CLI-Upgrade-Check-Command-7d74a6e67a2e447ca38bd00258e429d0

🎟 Issue(s)

Related: #1306

🧪 Functional Testing

manual testing

📸 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

airflow/airflow.go Outdated Show resolved Hide resolved
airflow/airflow.go Outdated Show resolved Hide resolved
cmd/airflow.go Outdated Show resolved Hide resolved
cmd/airflow.go Outdated Show resolved Hide resolved
Co-authored-by: Jake Witz <74574233+jwitz@users.noreply.github.com>
cmd/airflow.go Outdated Show resolved Hide resolved
cmd/airflow.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 minor nit on cleaning up the gitignore file. Also might want to check if we could improve the test coverage, LGTM otherwise

}

// add upgrade-test* to the gitignore
err = fileutil.AddLineToFile("./.gitignore", "upgrade-test*", "")
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: should we remove this line before this function end as part of defer, else we might end up adding this line to the file each time the command is executed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This line is only added if it isn't already in the file

airflow/docker_image.go Outdated Show resolved Hide resolved
@sunkickr sunkickr merged commit 595721e into main Aug 3, 2023
@sunkickr sunkickr deleted the upgrade-command branch August 3, 2023 00:07
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.

4 participants