Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud Build workflow could be less janky #3

Open
minimaxir opened this issue May 7, 2019 · 0 comments
Open

Cloud Build workflow could be less janky #3

minimaxir opened this issue May 7, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@minimaxir
Copy link
Owner

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 checkpoint folder to the Cloud Build /workspace working directory
  • If the specified checkpoint folder is not named correctly, rename it. This allows multiple folders in a bucket.
  • Upload app.py, Dockerfile, and friends from the local machine with the build CLI 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.

@minimaxir minimaxir added the enhancement New feature or request label May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant