From 0f1cecf72d0ce9543f65d8882e169a9a56f36aaf Mon Sep 17 00:00:00 2001 From: Naufan Rizal Date: Mon, 16 Sep 2024 12:56:07 +1200 Subject: [PATCH] Remove Test Splitter --- goss.yaml | 3 --- packer/linux/buildkite-ami.pkr.hcl | 4 ---- .../scripts/install-buildkite-test-splitter.sh | 15 --------------- 3 files changed, 22 deletions(-) delete mode 100644 packer/linux/scripts/install-buildkite-test-splitter.sh diff --git a/goss.yaml b/goss.yaml index 266ecfc11..0240ec0b2 100644 --- a/goss.yaml +++ b/goss.yaml @@ -139,9 +139,6 @@ command: make --version: exit-status: 0 - test-splitter --version: - exit-status: 0 - wget --version: exit-status: 0 diff --git a/packer/linux/buildkite-ami.pkr.hcl b/packer/linux/buildkite-ami.pkr.hcl index f83ebb582..68f1fc23c 100644 --- a/packer/linux/buildkite-ami.pkr.hcl +++ b/packer/linux/buildkite-ami.pkr.hcl @@ -108,10 +108,6 @@ build { script = "scripts/install-buildkite-agent.sh" } - provisioner "shell" { - script = "scripts/install-buildkite-test-splitter.sh" - } - provisioner "shell" { script = "scripts/install-buildkite-utils.sh" } diff --git a/packer/linux/scripts/install-buildkite-test-splitter.sh b/packer/linux/scripts/install-buildkite-test-splitter.sh deleted file mode 100644 index 20f7fc222..000000000 --- a/packer/linux/scripts/install-buildkite-test-splitter.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -case $(uname -m) in -x86_64) ARCH=amd64 ;; -aarch64) ARCH=arm64 ;; -*) ARCH=unknown ;; -esac - -TEST_SPLITTER_VERSION=0.8.0 -echo "Downloading test-splitter v${TEST_SPLITTER_VERSION}..." -sudo curl -Lsf -o /usr/bin/test-splitter \ - "https://github.com/buildkite/test-splitter/releases/download/v${TEST_SPLITTER_VERSION}/test-splitter_${TEST_SPLITTER_VERSION}_linux_${ARCH}" -sudo chmod +x /usr/bin/test-splitter -test-splitter --version