gpt-2-cloud-run
gpt-2-cloud-run copied to clipboard
Cloud Build workflow could be less janky
Copying an entire GCS bucket / creating a new bucket just for copying it is not ideal. Uploading app.py and the Dockerfile to the same bucket is also somewhat janky.
Possible alternate workflow:
- Copy only the specified
checkpointfolder to the Cloud Build/workspaceworking directory - If the specified
checkpointfolder is not named correctly, rename it. This allows multiple folders in a bucket. - Upload
app.py,Dockerfile, and friends from the local machine with thebuildCLI command
It may be helpful to include sanity checking steps as well if doing this workflow to check for the presence of filed before the Docker build.