-
Notifications
You must be signed in to change notification settings - Fork 76
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 verbose and execute date to astro run #1330
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1330 +/- ##
==========================================
- Coverage 87.19% 87.18% -0.01%
==========================================
Files 114 114
Lines 13402 13409 +7
==========================================
+ Hits 11686 11691 +5
- Misses 1026 1027 +1
- Partials 690 691 +1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, validated the new flags. Left a minor nit on mentioning the date format in the flag description.
cmd/run.go
Outdated
@@ -30,6 +31,8 @@ func newRunCommand() *cobra.Command { | |||
cmd.Flags().BoolVarP(&noCache, "no-cache", "", false, "Do not use cache when building container image") | |||
cmd.Flags().StringVarP(&settingsFile, "settings-file", "s", "airflow_settings.yaml", "Settings file for importing Airflow objects") | |||
cmd.Flags().StringVarP(&dagFile, "dag-file", "d", "", "(Optional) The file where your DAG is located. Use this flag to parse only the DAG file that has the DAG you want to run. You may get parsing errors related to other DAGs if you don't specify a DAG file") | |||
cmd.Flags().StringVarP(&executionDate, "execution-date", "", "", "(Optional) Execution date for the dagrun. Defaults to now") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: might want to mention the acceptable date format, i.e. %Y-%m-%d, %Y-%m-%dT%H:%M:%S, %Y-%m-%d %H:%M:%S
Description
add verbose and execute date to astro run
🎟 Issue(s)
execution-date
andverbose
flag fromastro-run-dag
#1305🧪 Functional Testing
📸 Screenshots
📋 Checklist
make test
before taking out of draftmake lint
before taking out of draft