You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/11 13:00:06 UTC

[GitHub] [airflow] seongwon77 opened a new issue, #25671: `airflow dags test` command with run confs

seongwon77 opened a new issue, #25671:
URL: https://github.com/apache/airflow/issues/25671

   ### Description
   
   Currently, the command [`airflow dags test`](https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#test) doesn't accept any configs to set run confs.  We can do that in [`airflow dags trigger`](https://airflow.apache.org/docs/apache-airflow/stable/cli-and-env-variables-ref.html#trigger) command through `--conf` argument.
   
   The command `airflow dags test` is really useful when testing DAGs in local machines or CI/CD environment.  Can we have that feature for the `airflow dags test` command?
   
   ### Use case/motivation
   
   We may put run confs same as `airflow dags trigger` command does.
   
   Example:
   ```
   $ airflow dags test <DAG_ID> <EXECUTION_DATE> --conf '{"path": "some_path"}'
   ```
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] uranusjr closed issue #25671: `airflow dags test` command with run confs

Posted by GitBox <gi...@apache.org>.
uranusjr closed issue #25671: `airflow dags test` command with run confs
URL: https://github.com/apache/airflow/issues/25671


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] pankajastro commented on issue #25671: `airflow dags test` command with run confs

Posted by GitBox <gi...@apache.org>.
pankajastro commented on issue #25671:
URL: https://github.com/apache/airflow/issues/25671#issuecomment-1225690288

   Hey @potiuk can I assign this to myself?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk commented on issue #25671: `airflow dags test` command with run confs

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #25671:
URL: https://github.com/apache/airflow/issues/25671#issuecomment-1225877673

   assigned


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk commented on issue #25671: `airflow dags test` command with run confs

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #25671:
URL: https://github.com/apache/airflow/issues/25671#issuecomment-1221637505

   Marked it as a good first issue. Hopefully someone will implement it. But - just to let you know - the fastest and most sure way of getting such change is to do it yourself. Airlfow is an open-source project and it has more than 2100 contributors - most of them are users like you who miss some feature and decided to add it back  - this is the simplest and best contribution you can make back as a "giving back" for the free software yo use -so if you do not want to wait for someone who will pick it up, contributing it back is the fastest way to get it in :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org