Skip to content

Commit

Permalink
Use git lfs in bacon
Browse files Browse the repository at this point in the history
  • Loading branch information
rajdeepnanua-okta committed Oct 16, 2024
1 parent c22a513 commit 3adae66
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ if [ "$distro" = "centos" ]; then
# Add yarn to the $PATH so npm cli commands do not fail
export PATH="${PATH}:$(yarn global bin)"
elif [ "$distro" = "amzn" ]; then
yum install -y amazon-linux-extras
amazon-linux-extras install epel -y
yum-config-manager --enable epel
yum install git-lfs
git lfs install
npm install -g yarn
export PATH="$PATH:$(npm config get prefix)/bin"
else
Expand All @@ -30,6 +35,7 @@ git checkout -- scripts

# ensure we're in a branch on the correct sha
git checkout $BRANCH
git lfs pull
git reset --hard $SHA

git config --global user.email "[email protected]"
Expand Down

0 comments on commit 3adae66

Please sign in to comment.