Skip to content

Commit

Permalink
fixed script
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Do committed Jun 13, 2024
1 parent 95f218e commit 47c96a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ git clone -b hepromark/asset-kubernetes2 git@github.com:WATonomous/infra-config.
pip install -r requirements.txt

# Get list of branches
cd infra-config
BRANCHES=$(git ls-remote --heads origin | sed 's?.*refs/heads/??')

# Loop through each branch
Expand All @@ -21,6 +22,7 @@ for BRANCH in $BRANCHES; do
git checkout $BRANCH
git pull origin $BRANCH

echo "calling main.py"
cd ..
python3 main.py
cd infra-config
done

0 comments on commit 47c96a8

Please sign in to comment.