Skip to content

Commit

Permalink
ci: use sudo to make
Browse files Browse the repository at this point in the history
If we don't use sudo, make will fail to create directories for staging.

Signed-off-by: Sébastien Han <[email protected]>
  • Loading branch information
leseb authored and guits committed Mar 15, 2018
1 parent de51d95 commit 0895eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ fi
cd "$WORKSPACE"

# build everything that was touched to make sure build succeeds
mapfile -t FLAVOR_ARRAY < <(make flavors.modified)
mapfile -t FLAVOR_ARRAY < <(sudo make flavors.modified)

if [[ "${#FLAVOR_ARRAY[@]}" -eq "0" ]]; then
echo "The ceph-container code has not changed."
Expand Down

0 comments on commit 0895eaf

Please sign in to comment.