Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#1980 from justinsb/install_jq_…
Browse files Browse the repository at this point in the history
…if_missing

chore: postsubmits should also install jq if missing
  • Loading branch information
google-oss-prow[bot] authored Jun 11, 2024
2 parents 3d8da36 + 253db8d commit b2a1b74
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/tasks/install-tools
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@ EOF
ln -sf /usr/local/go/bin/go /usr/bin/go
rm /tmp/go.tar.gz
fi

if ! command -v jq; then
echo "Must install jq; assuming we are running in a container"
apt-get install --yes jq
fi

0 comments on commit b2a1b74

Please sign in to comment.