utkarsharma2 commented on PR #31880:
URL: https://github.com/apache/airflow/pull/31880#issuecomment-1616011715
@rohan472000 Based on a cursory look at the code, I would approach the issue
1. We need to add the `--with-triggerer` option for the command `tests` for
which the code resides here -
https://github.com/apache/airflow/blob/df4c8837d022e66921bc0cf33f3249b235de6fdd/dev/breeze/src/airflow_breeze/commands/testing_commands.py#L384
2. Also you would want to add this new option in the config here -
https://github.com/apache/airflow/blob/df4c8837d022e66921bc0cf33f3249b235de6fdd/dev/breeze/src/airflow_breeze/commands/testing_commands_config.py#L60
3. Now that we can get the option from the user, we need to start the
trigger based on this parameter. Now if we look at the code of the command, all
that is happening is that we are calling the docker-compose and we do pass
multiple files which are selected conditionally based on user-passed options
and they are listed below -
https://github.com/apache/airflow/tree/main/scripts/ci/docker-compose
However, I suspect you need to explore this file to start the trigger. In
`start-airflow` we do start all the airflow components in the container itself.
-
https://github.com/apache/airflow/blob/main/scripts/in_container/run_ci_tests.sh
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]