Skip to content

Commit

Permalink
Use core's before_install after cloning it
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed Feb 7, 2022
1 parent 0fc672c commit 4a47d47
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions bin/before_install
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#!/bin/bash

if [ -n "$CI" ]; then
echo "== Installing system packages =="
sudo apt-get install libcurl4-openssl-dev
echo
fi

# Ensure spec/manageiq is set up
gem_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)"
spec_manageiq="$gem_root/spec/manageiq"

Expand All @@ -17,3 +12,6 @@ elif [ ! -d "$spec_manageiq" ]; then
echo "== Cloning manageiq sample app =="
git clone https://github.com/ManageIQ/manageiq.git --branch master --depth 1 "$spec_manageiq"
fi

# Run core's before_install
$spec_manageiq/bin/before_install

0 comments on commit 4a47d47

Please sign in to comment.