create_remote_test_driver: add a script to make a buildable RTD image
This is roughly what we'll need our new Build API endpoint to invoke.
It'll poke into the SDK, generate a folder containing a Dockerfile and
supporting source files, then return that folder path back to the
builder. The builder will then somehow build the docker image.
I talked about this with Alex, and we agreed that it makes sense to just
have this as a shell script for now. We can move the whole thing into
chromite as a Python script if that becomes necessary. Even now, the
Build API can just call out to this script if it wants.
TEST=ran it locally
Exempt-From-Owner-Approval: got verbal approval from saklein for this approach
Commit-Queue: Sean Abraham <email@example.com>
Tested-by: Sean Abraham <firstname.lastname@example.org>
Reviewed-by: Alex Klein <email@example.com>
Reviewed-by: Jared Loucks <firstname.lastname@example.org>
Reviewed-by: Brigit Rossbach <email@example.com>
2 files changed