openwhisk-deploy-kube icon indicating copy to clipboard operation
openwhisk-deploy-kube copied to clipboard

Avoid git clones during deployment by creating pre-cloned tagged container

Open dgrove-oss opened this issue 5 years ago • 1 comments

As a leftover from our old style of pulling 'latest' of all components when we deploy, the install-packages-job, system-test-job, and init-couchdb-job all clone one or more git repos as part of their computation. The system-test-job also scalaCompiles the test suite, which really should be done at build time.

Instead of doing this, we should create a single docker image that extends ow-utils and does all the git clones with the specified githash at build time. We can update this image periodically (at the same time as we update the other tags in values.yaml and runtimes.json).

This would make deployment a little faster and also remove an occasional source of deployment failures when github is unresponsive and the clone fails.

dgrove-oss avatar Feb 22 '19 22:02 dgrove-oss

Also really need this, as I failed many many times when cloning for couchDB and install-package.

I am currently trying to clone repos to local before deploying openwhisk, and then attach them as volumes for containers. I am new to Helm so it is not easy. Need more inspiration on getting it done.

lyudmilalala avatar Jul 15 '22 06:07 lyudmilalala