From cb8cd10e4ddccb927979f9fe6e38f783dbac840d Mon Sep 17 00:00:00 2001 From: Silvestre Zabala Date: Thu, 9 Nov 2023 14:38:01 +0100 Subject: [PATCH] Remove `scripts/update` It is no longer used since https://github.com/cloudfoundry/app-autoscaler-release/commit/cf078075fab0b4bdc35b5f2583b795abcc90e778 and no longer maintained. --- .github/workflows/tidy-go-mod.yaml | 2 +- scripts/update | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100755 scripts/update diff --git a/.github/workflows/tidy-go-mod.yaml b/.github/workflows/tidy-go-mod.yaml index 38b5c6b195..45b6d588d0 100644 --- a/.github/workflows/tidy-go-mod.yaml +++ b/.github/workflows/tidy-go-mod.yaml @@ -35,5 +35,5 @@ jobs: - name: Process changes if: steps.get_changes.outputs.changed != 0 run: | - echo "::error::go.mod is not tidy, run scripts/update to tidy" + echo "::error::go.mod is not tidy, run make go-mod-tidy to tidy" exit 1 diff --git a/scripts/update b/scripts/update deleted file mode 100755 index 9e97202f00..0000000000 --- a/scripts/update +++ /dev/null @@ -1,26 +0,0 @@ -#! /usr/bin/env bash - -set -euo pipefail - -pushd src/autoscaler > /dev/null - go mod tidy - go mod vendor -popd > /dev/null - -pushd src/changeloglockcleaner > /dev/null - go mod tidy - go mod vendor -popd > /dev/null - -pushd src/acceptance > /dev/null - go mod tidy - go mod vendor -popd > /dev/null - -pushd src/db > /dev/null - mvn --no-transfer-progress package -DskipTests -popd > /dev/null - -pushd src/scheduler > /dev/null - mvn --no-transfer-progress package -DskipTests -popd > /dev/null