Skip to content

Commit

Permalink
added github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Tope Emmanuel committed Oct 3, 2023
1 parent 629ea90 commit f8374c5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ jobs:
jq -r '.items[] | select(.metadata.name | startswith("get-school-experience-review-pr")) | .metadata.name, .spec.rules[0].http.paths[0].backend.service.name'))
for ((i = 0; i < ${#INGS[@]}; i += 2)); do
current="${INGS[i]}"
itemname="${INGS[i]}"
backend_service="${INGS[i + 1]}"
echo "Name: ${current}"
echo "Name: ${itemname}"
echo "Backend Service: ${backend_service}"
if [ "$itemname" == "$current" ]; then
echo "found existing ${itemname} ${backend_service} "
fi
done

0 comments on commit f8374c5

Please sign in to comment.