Skip to content

Commit

Permalink
PMM-13734 add setup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yurkovychv committed Feb 6, 2025
1 parent 9f716f4 commit e59f832
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions k8s/setup_bats_libs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# Define the directory where the libraries will be cloned
LIBS_DIR="lib"

# Create the directory if it doesn't exist
mkdir -p $LIBS_DIR

# Clone bats-support
if [ ! -d "$LIBS_DIR/bats-support" ]; then
git clone https://github.com/bats-core/bats-support.git $LIBS_DIR/bats-support
else
echo "bats-support is already present."
fi

# Clone bats-assert
if [ ! -d "$LIBS_DIR/bats-assert" ]; then
git clone https://github.com/bats-core/bats-assert.git $LIBS_DIR/bats-assert
else
echo "bats-assert is already present."
fi

echo "BATS libraries setup completed."

0 comments on commit e59f832

Please sign in to comment.