a8n: Merge `a8n` and `run` packages
Created by: mrnugget
This is part of #6572 and the first step before possibly merging a8n.Service
and Runner
.
Decided to create a separate PR for easier reviewability. This PR here only
- Moves the files
- Renames
run.New
/run.NewWithClock
toa8n.NewRunner
/a8n.NewRunnerWithClock
- Removes the now duplicate
testRepo
test helper function
Update: After merging the run
and a8n
packages in 9ab8f4f the dev/check/go-dbconn-import.sh
failed. I discussed this with @keegancsmit and added e51e6f9d22 to whitelist the enterprise/repo-updater package in the test. See the commit message for more details.