Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Applying the enclosing ENV variables with double quotes suggestions

Co-authored-by: Lucas <[email protected]>
  • Loading branch information
fmacleal and lucasvuotto authored Jul 17, 2024
1 parent 0c16833 commit 7a8403c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/images/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ set -e
echo -e "\n\n--------- Starting the configuration of rskj ---------\n\n"
cd /usr/src/
git clone https://github.com/rsksmart/rskj.git rskj
cd rskj && git checkout ${INPUT_RSKJ_BRANCH}
cd rskj && git checkout "${INPUT_RSKJ_BRANCH}"
chmod +x ./configure.sh && chmod +x gradlew
./configure.sh

echo -e "\n\n--------- Starting the configuration of powpeg ---------\n\n"
cd /usr/src/
git clone https://github.com/rsksmart/powpeg-node.git powpeg
cp configure_gradle_federator.sh powpeg
cd powpeg && git checkout ${INPUT_FEDERATOR_BRANCH}
cd powpeg && git checkout "${INPUT_FEDERATOR_BRANCH}"
chmod +x ./configure.sh && chmod +x gradlew
FED_VERSION=$(bash configure_gradle_federator.sh)
echo "FED_VERSION=$FED_VERSION"
Expand All @@ -27,11 +27,11 @@ mv configure_rit_locally.sh rit
mv regtest.js rit/config/regtest.js
mv /usr/src/logbacks/* /usr/src/rit/logbacks/
cd rit
git checkout ${INPUT_RIT_BRANCH}
git checkout "${INPUT_RIT_BRANCH}"
chmod +x ./configure.sh
./configure.sh
./configure_rit_locally.sh "${FED_VERSION}"
export LOG_LEVEL=${INPUT_RIT_LOG_LEVEL}
export LOG_LEVEL="${INPUT_RIT_LOG_LEVEL}"

echo -e "\n\n--------- Executing Rootstock Integration Tests ---------\n\n"
npm install -y
Expand All @@ -46,5 +46,5 @@ else
fi
echo -e "$MESSAGE"

echo "status=${STATUS}" >>${GITHUB_OUTPUT}
echo "message=${MESSAGE}" >> ${GITHUB_OUTPUT}
echo "status=${STATUS}" >>"${GITHUB_OUTPUT}"
echo "message=${MESSAGE}" >>"${GITHUB_OUTPUT}"

0 comments on commit 7a8403c

Please sign in to comment.