I show also some numbers. This is the log of an action build running on a mac with 32 GB
./build.sh taskrun.tekton.dev/kwhisk-build-1566207093 created NAME READY STATUS RESTARTS AGE controller 2/2 Running 0 15m kaniko-load-cache-w7p9f 0/1 Completed 0 15m kwhisk-build-1566206965-pod-9e2c26 0/4 Completed 0 2m8s kwhisk-build-1566207093-pod-207db6 0/4 Pending 0 0s kwhisk-build-1566207093-pod-207db6 0/4 Init:0/3 0 1s kwhisk-build-1566207093-pod-207db6 0/4 Init:1/3 0 9s kwhisk-build-1566207093-pod-207db6 0/4 Init:2/3 0 10s kwhisk-build-1566207093-pod-207db6 0/4 PodInitializing 0 11s kwhisk-build-1566207093-pod-207db6 4/4 Running 0 13s kwhisk-build-1566207093-pod-207db6 4/4 Running 0 13s kwhisk-build-1566207093-pod-207db6 2/4 Running 0 16s kwhisk-build-1566207093-pod-207db6 1/4 Running 0 70s kwhisk-build-1566207093-pod-207db6 0/4 Completed 0 71s On a recent Mac with 32GB it takes 71 seconds. On a server with Linux and 64GB it takes 50s, on a Mac with 16gb it takes 10 minutes. I cannot think of making the build simpler. It is only one step build, that download data from a git repository and pushes a very thin layer on a docker registry. I cached the base image with kaniko. I am very seriously concerned about this situation. -- Michele Sciabarra mich...@sciabarra.com ----- Original message ----- From: Michele Sciabarra <mich...@sciabarra.com> To: dev@openwhisk.apache.org Subject: Speeding up a tekton build Date: Monday, August 19, 2019 6:59 AM Hello Whiskers, I created a tekton build using a modified version of the actionloop runtime. Code here: https://github.com/sciabarracom/openwhisk-knative/blob/master/installer/kwhisk/build-task.yml I tried also to setup a cache for Kaniko and preload the image: https://github.com/sciabarracom/openwhisk-knative/blob/master/installer/kwhisk/kaniko-cache.yaml However when I try to build the image it takes a lot, really a lot of time. Several minutes, often more than 10minutes. The build executed with docker takes just a few seconds . Anyone shares my experience with knative build speed? This is a serious problem because creating an image is essential to be able to use knative serving. -- Michele Sciabarra mich...@sciabarra.com