Skip to content

Commit

Permalink
ci: use sudo
Browse files Browse the repository at this point in the history
Signed-off-by: Zixuan Liu <nodeces@gmail.com>
  • Loading branch information
nodece committed Feb 19, 2022
1 parent 681e974 commit 8c35ccb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -e

readonly PROJECT_ROOT=`cd $(dirname $0)/..; pwd`
readonly IMAGE_NAME=pulsarctl-test
readonly PULSAR_DEFAULT_VERSION="2.9.1.2"
readonly PULSAR_DEFAULT_VERSION="2.10.0.0-rc7"
readonly PULSAR_VERSION=${PULSAR_VERSION:-${PULSAR_DEFAULT_VERSION}}

docker build --build-arg PULSAR_VERSION=${PULSAR_VERSION} \
Expand Down
2 changes: 1 addition & 1 deletion scripts/test-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM streamnative/pulsar-all:$PULSAR_VERSION
# install golang
ENV GOLANG_VERSION 1.13.3
RUN curl -sSL https://storage.googleapis.com/golang/go$GOLANG_VERSION.linux-amd64.tar.gz \
| tar -C /usr/local -xz
| sudo tar -C /usr/local -xz
ENV PATH /usr/local/go/bin:$PATH

# copy the code into image
Expand Down

0 comments on commit 8c35ccb

Please sign in to comment.