Skip to content

Commit

Permalink
Merge pull request #735 from NebraLtd/shawaj/rkcm3
Browse files Browse the repository at this point in the history
fix: rkcm3 fleets are RockPi
  • Loading branch information
shawaj authored Apr 16, 2023
2 parents 7482ec1 + 7a596c4 commit 5924998
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions balena/workflows/build-open-fleet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,27 +79,31 @@ jobs:
repo="${{ github.event.repository.name }}"
if grep -q "outdoor2" <<<"$repo"; then
echo "Not RasPi 3"
echo "Not RasPi 3 (ROCK Pi 4B)"
RASPI3="NO"
ROCKPI="YES"
elif grep -q "indoor2" <<<"$repo"; then
echo "Not RasPi 3"
echo "Not RasPi 3 (ROCK Pi 4B)"
RASPI3="NO"
ROCKPI="YES"
elif grep -q "outdoor1" <<<"$repo"; then
echo "RasPi Outdoor"
echo "RasPi 3 Outdoor"
RASPI3="YES"
ROCKPI="NO"
elif grep -q "indoor1" <<<"$repo"; then
echo "RasPi Indoor"
echo "RasPi 3 Indoor"
RASPI3="YES"
ROCKPI="NO"
elif grep -q "risinghf" <<<"$repo"; then
echo "RisingHF"
RASPI3="YES"
ROCKPI="NO"
elif grep -q "rkcm3" <<<"$repo"; then
echo "Not RasPi 3 (ROCK CM3)"
RASPI3="NO"
ROCKPI="YES"
else
echo "Not RasPi 3"
echo "Not RasPi 3 (Other)"
RASPI3="NO"
ROCKPI="NO"
fi
Expand Down

0 comments on commit 5924998

Please sign in to comment.