Add debug and headers tar to GCS bucket.

Change-Id: I208ca85c43a6cc2c509926b645a2783686cace65
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/25503
Tested-by: Meena Shanmugam <meenashanmugam@google.com>
Reviewed-by: Oleksandr Tymoshenko <ovt@google.com>
diff --git a/kokoro/kokoro_build.sh b/kokoro/kokoro_build.sh
index 3a334ce..0376218 100644
--- a/kokoro/kokoro_build.sh
+++ b/kokoro/kokoro_build.sh
@@ -16,14 +16,17 @@
 echo -n "-cos${KOKORO_BUILD_NUMBER}" > localversion
 # Remove '+' sign from the version
 touch .scmversion
+GCS_PATH="gs://ovt-dev/kernel-builds/"
 for arch in 'x86' 'arm64'
 do
-  ${CONTAINER_CMD} -k -A ${arch}
+  ${CONTAINER_CMD} -k -H -d -A ${arch}
 
   # Fixup permissions
   sudo chown -R "$(id -u):$(id -g)" .
 
   KERNEL_VERSION=`${CONTAINER_CMD} kernelrelease | tail -1`
 
-  gsutil cp cos-kernel-${KERNEL_VERSION}-${arch}.txz "gs://ovt-dev/kernel-builds/${KERNEL_VERSION}/"
+  gsutil cp cos-kernel-${KERNEL_VERSION}-${arch}.txz "${GCS_PATH}"/"${KERNEL_VERSION}"/
+  gsutil cp cos-kernel-headers-${KERNEL_VERSION}-${arch}.tgz "${GCS_PATH}"/"${KERNEL_VERSION}"/
+  gsutil cp cos-kernel-debug-${KERNEL_VERSION}-${arch}.txz "${GCS_PATH}"/"${KERNEL_VERSION}"/
 done