diff options
author | Kevin Krakauer <krakauer@google.com> | 2021-07-16 12:31:05 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-07-16 12:33:24 -0700 |
commit | 5ad30cac2ede4eda318c78264e3b9810035ef27d (patch) | |
tree | 53882629b6972153a5cb9846094caebd21568750 | |
parent | 628d7d3a4662a14625895df6ff1ca7a9dbf3a5d7 (diff) |
Automated rollback of changelist 385029528
PiperOrigin-RevId: 385200993
-rw-r--r-- | .buildkite/hooks/pre-command | 9 | ||||
-rwxr-xr-x | tools/installers/containerd.sh | 3 |
2 files changed, 2 insertions, 10 deletions
diff --git a/.buildkite/hooks/pre-command b/.buildkite/hooks/pre-command index b6d1ef270..fb2b1892d 100644 --- a/.buildkite/hooks/pre-command +++ b/.buildkite/hooks/pre-command @@ -8,16 +8,9 @@ function install_pkgs() { done } install_pkgs make "linux-headers-$(uname -r)" linux-libc-dev \ - graphviz jq curl binutils gnupg gnupg-agent gcc \ + graphviz jq curl binutils gnupg gnupg-agent golang-go \ apt-transport-https ca-certificates software-properties-common -# Install Go 1.16, as only 1.13 is available via apt. -declare -r go_archive=go1.16.6.linux-amd64.tar.gz -wget "https://golang.org/dl/${go_archive}" -sudo tar -xzf "${go_archive}" -C /usr/local -sudo ln -s /usr/local/go/bin/go /usr/bin/go -rm "${go_archive}" - # Setup for parallelization with PARTITION and TOTAL_PARTITIONS. export PARTITION=${BUILDKITE_PARALLEL_JOB:-0} PARTITION=$((${PARTITION}+1)) # 1-indexed, but PARALLEL_JOB is 0-indexed. diff --git a/tools/installers/containerd.sh b/tools/installers/containerd.sh index 03101427c..e598bce89 100755 --- a/tools/installers/containerd.sh +++ b/tools/installers/containerd.sh @@ -36,10 +36,9 @@ install_helper() { mkdir -p "${GOPATH}"/src/$(dirname "${PACKAGE}") && \ git clone https://"${PACKAGE}" "${GOPATH}"/src/"${PACKAGE}" - # Checkout and build the repository. We use a pre-GO111MODULE containerd. + # Checkout and build the repository. (cd "${GOPATH}"/src/"${PACKAGE}" && \ git checkout "${TAG}" && \ - export GO111MODULE=off && \ make && \ make install) } |