Skip to content

Commit

Permalink
deleted env-scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Jun 17, 2024
1 parent 9ece8fe commit 7854717
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 116 deletions.
13 changes: 8 additions & 5 deletions .buildkite/deploy/kubernetes/scripts/setup-k8s-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@

set -euo pipefail

source .buildkite/env-scripts/util.sh

export KUBECONFIG="${WORKSPACE}/kubecfg"
export BIN="${WORKSPACE}/bin"
add_bin_path

echo "--- Installing kind & kubectl"
echo "--- Add ${BIN} to PATH"
if [[ ! -d "${BIN}" ]]; then
mkdir -p "${BIN}"
fi
export PATH="${PATH}:${BIN}"

echo "~~~ Installing kind & kubectl"
asdf plugin add kind
asdf install kind $ASDF_KIND_VERSION
asdf install kind "$ASDF_KIND_VERSION"

echo "~~~ Setting up kind"
max_retries=3
Expand Down
104 changes: 0 additions & 104 deletions .buildkite/env-scripts/util.sh

This file was deleted.

7 changes: 0 additions & 7 deletions .buildkite/env-scripts/win-env.sh

This file was deleted.

0 comments on commit 7854717

Please sign in to comment.