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 <firstname.lastname@example.org>
Tested-by: Sean Abraham <email@example.com>
Reviewed-by: Alex Klein <firstname.lastname@example.org>
Reviewed-by: Jared Loucks <email@example.com>
Reviewed-by: Brigit Rossbach <firstname.lastname@example.org>
2 files changed