Open dgrove-oss opened 5 years ago
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.
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.