I have some custom `on-run-end` hooks that I want ...
# community-support
b
I have some custom
on-run-end
hooks that I want to run after the elementary hooks run. Might be a silly question, but does anyone know how I would achieve this?
Copy code
22:30:56  1 of 2 START hook: my_dbt.on-run-end.0 ....................................... [RUN]
22:31:06  1 of 2 OK hook: my_dbt.on-run-end.0 .......................................... [SCRIPT (4.7 GiB processed) in 10.25s] --I want these to run last.
22:31:16  2 of 2 START hook: elementary.on-run-end.0 ..................................... [RUN]
22:31:16  2 of 2 OK hook: elementary.on-run-end.0 ........................................ [OK in 0.00s]
22:31:16
o
i believe that on a
dbt
level, there i no way to do such a thing, package hooks will always run after after the project hooks, you could do something like:
Copy code
dbt run/test/build ... && dbt run-operation my_awesome_end_hook
but that will lose the
results
context