As our server definition requirements evolve, we want to make sure
whatever is going into main is up-to-date with the latest requirements.
In order to accomplish that, we can't run the validation tooling from
the PR branch - instead we need to build it from main and then run it on
the PR worktree.
Signed-off-by: Jacob Howard <jacob.howard@docker.com>
When modifying large numbers of server definitions (e.g. in #328), the
validation step can cause the worker to run out of disk space. This PR
adds a new clean command and updates the validation step to use it in
every call to process_server. This should allow a theoretically
unlimited number of validations to occur.
Signed-off-by: Jacob Howard <jacob.howard@docker.com>