refactor internal adapter handling
This is all ground work towards having any number of triggers for CI runs in the config, potentially each with a different adapter.
This is all ground work towards having any number of triggers for CI runs in the config, potentially each with a different adapter.