Drop kokoro configs and scripts.

Change-Id: Ic35c563489d9b3d962236c31ffba2ca816f5801b
diff --git a/kokoro/alpha.cfg b/kokoro/alpha.cfg
deleted file mode 100644
index 2325d7c..0000000
--- a/kokoro/alpha.cfg
+++ /dev/null
@@ -1,16 +0,0 @@
-build_file: "continuous-build/build/kokoro/alpha.sh"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/rootfs/latest/rootfs.raw.img"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/rootfs/latest/rootfs.raw.img.sha256sum"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/docker/aiy-board-builder.tar"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/pbuilder/base.tgz"
-action {
-  define_artifacts {
-    regex: "boot.img"
-    regex: "flash.sh"
-    regex: "manifest.xml"
-    regex: "sdcard.img"
-    regex: "partition-table-*.img"
-    regex: "rootfs.img"
-    regex: "u-boot.imx"
-  }
-}
diff --git a/kokoro/alpha.sh b/kokoro/alpha.sh
deleted file mode 100644
index d4759f1..0000000
--- a/kokoro/alpha.sh
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-# Symlink the Makefile, like it would be if repo checked this out.
-# Otherwise, sourcing setup.sh doesn't work as expected.
-ln -sfr git/continuous-build/build/Makefile git/continuous-build/Makefile
-
-# Sourcing this only works in the directory above build...
-pushd git/continuous-build
-source build/setup.sh
-popd
-
-export IS_GLINUX=true
-export TARBALL_FETCH_ROOT_DIRECTORY=${KOKORO_GFILE_DIR}
-export PREBUILT_MODULES_ROOT=${KOKORO_GFILE_DIR}
-export PREBUILT_DOCKER_ROOT=${KOKORO_GFILE_DIR}
-export FETCH_PBUILDER_DIRECTORY=${KOKORO_GFILE_DIR}
-export PACKAGES_FETCH_ROOT_DIRECTORY=${KOKORO_GFILE_DIR}
-export PACKAGES_REVISION=.
-export ROOTFS_REVISION=.
-export FETCH_PACKAGES=false
-
-# Install haveged on the host to provide extra entropy.
-sudo apt-get install -y haveged
-sudo /etc/init.d/haveged start
-
-m docker-all
-m docker-sdcard
-
-pushd ${ROOTDIR}
-python3 ${ROOTDIR}/build/create_release_manifest.py \
-  -i ${ROOTDIR}/manifest/default.xml \
-  -o ${KOKORO_ARTIFACTS_DIR}/manifest.xml
-popd
-
-cp ${ROOTDIR}/board/flash.sh ${KOKORO_ARTIFACTS_DIR}
-chmod -x ${KOKORO_ARTIFACTS_DIR}/flash.sh
-cp ${PRODUCT_OUT}/u-boot.imx ${KOKORO_ARTIFACTS_DIR}
-cp ${PRODUCT_OUT}/boot.img ${KOKORO_ARTIFACTS_DIR}
-cp ${PRODUCT_OUT}/partition-table-*.img ${KOKORO_ARTIFACTS_DIR}
-cp ${PRODUCT_OUT}/rootfs.img ${KOKORO_ARTIFACTS_DIR}
-cp ${PRODUCT_OUT}/sdcard.img ${KOKORO_ARTIFACTS_DIR}
diff --git a/kokoro/beaker.cfg b/kokoro/beaker.cfg
deleted file mode 100644
index bb2bb70..0000000
--- a/kokoro/beaker.cfg
+++ /dev/null
@@ -1 +0,0 @@
-build_file: "continuous-build/build/kokoro/multistrap-release.sh"
diff --git a/kokoro/build.sh b/kokoro/build.sh
deleted file mode 100644
index 0a5659a..0000000
--- a/kokoro/build.sh
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-if [[ ${KOKORO_JOB_NAME} =~ release$ ]]; then
-  readonly BUILD_TYPE=release
-elif [[ ${KOKORO_JOB_NAME} =~ continuous$ ]]; then
-  readonly BUILD_TYPE=continuous
-elif [[ ${KOKORO_JOB_NAME} =~ headless$ ]]; then
-  readonly BUILD_TYPE=headless
-else
-  echo "Invalid job name: ${KOKORO_JOB_NAME}" && exit 1
-fi
-
-# Sourcing this only works in the directory above build...
-pushd git
-source build/setup.sh
-popd
-
-export PREBUILT_DOCKER_ROOT=${KOKORO_GFILE_DIR}
-export FETCH_PBUILDER_DIRECTORY=${KOKORO_GFILE_DIR}
-export ROOTFS_RAW_CACHE_DIRECTORY=${KOKORO_GFILE_DIR}
-export FETCH_PACKAGES=false
-
-# Install haveged on the host to provide extra entropy.
-sudo apt-get install -y haveged
-sudo /etc/init.d/haveged start
-
-case "${BUILD_TYPE}" in
-  headless)
-    export HEADLESS_BUILD=true
-    ;;
-esac
-
-ARCHES="arm64"
-
-for arch in ${ARCHES}
-do
-  export USERSPACE_ARCH=${arch}
-  m docker-all
-  m docker-sdcard
-  unset USERSPACE_ARCH
-done
-
-m docker-recovery
-
-pushd ${ROOTDIR}
-python3 ${ROOTDIR}/build/create_release_manifest.py \
-  -i ${ROOTDIR}/manifest/enterprise.xml \
-  -o ${PRODUCT_OUT}/manifest.xml
-popd
-
-ARTIFACTS+="${ROOTDIR}/board/flash.sh "
-ARTIFACTS+="${PRODUCT_OUT}/u-boot.imx "
-ARTIFACTS+="${PRODUCT_OUT}/manifest.xml "
-ARTIFACTS+="${PRODUCT_OUT}/recovery.img "
-ARTIFACTS+="${PRODUCT_OUT}/partition-table-8gb.img "
-ARTIFACTS+="${PRODUCT_OUT}/partition-table-16gb.img "
-ARTIFACTS+="${PRODUCT_OUT}/partition-table-64gb.img "
-
-for arch in ${ARCHES}
-do
-  ARTIFACTS+="${PRODUCT_OUT}/boot_${arch}.img "
-  ARTIFACTS+="${PRODUCT_OUT}/rootfs_${arch}.img "
-  ARTIFACTS+="${PRODUCT_OUT}/sdcard_${arch}.img "
-done
-
-# Check existence of artifacts, exit if one is missing
-for artifact in ${ARTIFACTS}
-do
-  if [[ ! -f ${artifact} ]]; then
-    echo "${artifact} not found!"
-    exit 1
-  fi
-done
-
-# Copy all artifacts to KOKORO_ARTIFACTS_DIR
-for artifact in ${ARTIFACTS}
-do
-  cp ${artifact} ${KOKORO_ARTIFACTS_DIR}
-  chmod -x ${KOKORO_ARTIFACTS_DIR}/$(basename ${artifact})
-done
diff --git a/kokoro/chef.cfg b/kokoro/chef.cfg
deleted file mode 100644
index 57aee39..0000000
--- a/kokoro/chef.cfg
+++ /dev/null
@@ -1 +0,0 @@
-build_file: "git/build/kokoro/multistrap-release.sh"
diff --git a/kokoro/common.cfg b/kokoro/common.cfg
deleted file mode 100644
index 976bbf6..0000000
--- a/kokoro/common.cfg
+++ /dev/null
@@ -1,18 +0,0 @@
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/docker/aiy-board-builder.tar"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/pbuilder/base.tgz"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/rootfs/latest/"
-
-action {
-  define_artifacts {
-    regex: "boot*.img"
-    regex: "flash.sh"
-    regex: "manifest.xml"
-    regex: "partition-table-*.img"
-    regex: "recovery.img"
-    regex: "rootfs*.img"
-    regex: "rootfs*.raw.img"
-    regex: "rootfs*.raw.img.sha256sum"
-    regex: "sdcard*.img"
-    regex: "u-boot.imx"
-  }
-}
diff --git a/kokoro/continuous.cfg b/kokoro/continuous.cfg
deleted file mode 100644
index ee27e52..0000000
--- a/kokoro/continuous.cfg
+++ /dev/null
@@ -1 +0,0 @@
-build_file: "git/build/kokoro/build.sh"
diff --git a/kokoro/headless.cfg b/kokoro/headless.cfg
deleted file mode 100644
index 9824960..0000000
--- a/kokoro/headless.cfg
+++ /dev/null
@@ -1 +0,0 @@
-build_file: "continuous-build/build/kokoro/build.sh"
diff --git a/kokoro/multistrap-release.sh b/kokoro/multistrap-release.sh
deleted file mode 100644
index e2da870..0000000
--- a/kokoro/multistrap-release.sh
+++ /dev/null
@@ -1,65 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-# Sourcing this only works in the directory above build...
-pushd git
-source build/setup.sh
-popd
-
-export PREBUILT_DOCKER_ROOT=${KOKORO_GFILE_DIR}
-export FETCH_PBUILDER_DIRECTORY=${KOKORO_GFILE_DIR}
-export ROOTFS_RAW_CACHE_DIRECTORY=${KOKORO_GFILE_DIR}
-
-ARCHES="arm64"
-
-for arch in ${ARCHES}
-do
-  export USERSPACE_ARCH=${arch}
-  m docker-multistrap
-  m docker-bootloader
-  m docker-partition-table
-  unset USERSPACE_ARCH
-done
-
-# Build the recovery partition, using the beta-uboot branch of uboot-imx
-mv ${PRODUCT_OUT}/u-boot.imx ${PRODUCT_OUT}/u-boot.imx.clean
-git -C ${ROOTDIR}/uboot-imx remote add https https://coral.googlesource.com/uboot-imx
-REMOTE=https
-git -C ${ROOTDIR}/uboot-imx fetch ${REMOTE} --unshallow
-git -C ${ROOTDIR}/uboot-imx config remote.${REMOTE}.fetch "+refs/heads/*:refs/remotes/${REMOTE}/*"
-git -C ${ROOTDIR}/uboot-imx fetch ${REMOTE}
-git -C ${ROOTDIR}/uboot-imx checkout ${REMOTE}/beta-uboot
-m docker-recovery
-mv ${PRODUCT_OUT}/u-boot.imx.clean ${PRODUCT_OUT}/u-boot.imx
-
-
-ARTIFACTS+="${ROOTDIR}/board/flash.sh "
-ARTIFACTS+="${PRODUCT_OUT}/u-boot.imx "
-ARTIFACTS+="${PRODUCT_OUT}/partition-table-8gb.img "
-ARTIFACTS+="${PRODUCT_OUT}/partition-table-16gb.img "
-ARTIFACTS+="${PRODUCT_OUT}/partition-table-64gb.img "
-ARTIFACTS+="${PRODUCT_OUT}/recovery.img "
-
-for arch in ${ARCHES}
-do
-  ARTIFACTS+="${PRODUCT_OUT}/multistrap/boot_${arch}.img "
-  ARTIFACTS+="${PRODUCT_OUT}/multistrap/rootfs_${arch}.img "
-done
-
-# Check existence of artifacts, exit if one is missing
-for artifact in ${ARTIFACTS}
-do
-  if [[ ! -f ${artifact} ]]; then
-    echo "${artifact} not found!"
-    exit 1
-  fi
-done
-
-# Copy all artifacts to KOKORO_ARTIFACTS_DIR
-for artifact in ${ARTIFACTS}
-do
-  cp ${artifact} ${KOKORO_ARTIFACTS_DIR}
-  chmod -x ${KOKORO_ARTIFACTS_DIR}/$(basename ${artifact})
-done
diff --git a/kokoro/packages.cfg b/kokoro/packages.cfg
deleted file mode 100644
index f2fd7e6..0000000
--- a/kokoro/packages.cfg
+++ /dev/null
@@ -1,10 +0,0 @@
-build_file: "git/build/kokoro/packages.sh"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/rootfs/latest/rootfs.raw.img"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/rootfs/latest/rootfs.raw.img.sha256sum"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/docker/aiy-board-builder.tar"
-gfile_resources: "/x20/teams/spacepark/enterprise/kokoro/prod/spacepark/enterprise/pbuilder/base.tgz"
-action {
-  define_artifacts {
-    regex: "packages.tgz"
-  }
-}
diff --git a/kokoro/packages.sh b/kokoro/packages.sh
deleted file mode 100644
index a6efab4..0000000
--- a/kokoro/packages.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-
-set -e
-set -x
-
-# Sourcing this only works in the directory above build...
-pushd git
-source build/setup.sh
-popd
-
-export PREBUILT_DOCKER_ROOT=${KOKORO_GFILE_DIR}
-export FETCH_PBUILDER_DIRECTORY=${KOKORO_GFILE_DIR}
-export ROOTFS_RAW_CACHE_DIRECTORY=${KOKORO_GFILE_DIR}
-export FETCH_PACKAGES=false
-
-# Install haveged on the host to provide extra entropy.
-sudo apt-get install -y haveged
-sudo /etc/init.d/haveged start
-
-m docker-upstream-delta
-
-cp ${ROOTDIR}/cache/update.tgz ${KOKORO_ARTIFACTS_DIR}/packages.tgz
diff --git a/kokoro/release.cfg b/kokoro/release.cfg
deleted file mode 100644
index 9824960..0000000
--- a/kokoro/release.cfg
+++ /dev/null
@@ -1 +0,0 @@
-build_file: "continuous-build/build/kokoro/build.sh"
diff --git a/kokoro/rootfs.cfg b/kokoro/rootfs.cfg
deleted file mode 100644
index 84d429b..0000000
--- a/kokoro/rootfs.cfg
+++ /dev/null
@@ -1 +0,0 @@
-build_file: "git/build/kokoro/rootfs.sh"
diff --git a/kokoro/rootfs.sh b/kokoro/rootfs.sh
deleted file mode 100644
index 510005e..0000000
--- a/kokoro/rootfs.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/bash
-
-set -e
-
-pushd git
-source build/setup.sh
-popd
-
-export IS_EXTERNAL=true
-export FETCH_PACKAGES=false
-export PREBUILT_DOCKER_ROOT=${KOKORO_GFILE_DIR}
-
-# Install haveged on the host to provide extra entropy.
-sudo apt-get install -y haveged
-sudo /etc/init.d/haveged start
-
-ARCHES="armhf arm64"
-
-for arch in ${ARCHES}
-do
-  USERSPACE_ARCH=${arch} m docker-rootfs_raw
-done
-
-for arch in ${ARCHES}
-do
-  ARTIFACTS+="${PRODUCT_OUT}/obj/ROOTFS/rootfs_${arch}.raw.img "
-  ARTIFACTS+="${PRODUCT_OUT}/obj/ROOTFS/rootfs_${arch}.raw.img.sha256sum "
-done
-
-for artifact in ${ARTIFACTS}
-do
-  if [[ ! -f ${artifact} ]]; then
-    echo "${artifact} not found!"
-    exit 1
-  fi
-done
-
-for artifact in ${ARTIFACTS}
-do
-  cp ${artifact} ${KOKORO_ARTIFACTS_DIR}
-done
-
-# For now, symlink rootfs_arm64 to rootfs.
-# Remove when nothing depends on rootfs.img existing.
-ln -sf rootfs_arm64.raw.img ${KOKORO_ARTIFACTS_DIR}/rootfs.raw.img
-ln -sf rootfs_arm64.raw.img.sha256sum ${KOKORO_ARTIFACTS_DIR}/rootfs.raw.img.sha256sum