diff --git a/.circleci/config.yml b/.circleci/config.yml index 36293448d0..d126f72138 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -48,9 +48,8 @@ jobs: - run: scripts/qa/end2end.sh deploy: - working_directory: /go/src/github.com/grafana/metrictank docker: - - image: circleci/golang:1.9.2 + - image: circleci/ruby:2.3 steps: - checkout - attach_workspace: diff --git a/scripts/build_packages.sh b/scripts/build_packages.sh index 8b0af82ca0..ef69922b5b 100755 --- a/scripts/build_packages.sh +++ b/scripts/build_packages.sh @@ -8,7 +8,6 @@ BUILD_TMP=$CODE_DIR/build_tmp # used for temporary data used to construct the pa mkdir $BUILD_TMP mkdir $BUILD_PKG -sudo apt-get update # otherwise the below install command doesn't work sudo apt-get install rpm # to be able to make rpms ARCH="$(uname -m)" diff --git a/scripts/depends.sh b/scripts/depends.sh index ea19ba0396..44ea0051e4 100755 --- a/scripts/depends.sh +++ b/scripts/depends.sh @@ -4,6 +4,5 @@ set -x DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) cd ${DIR} -sudo apt install rubygems ruby-dev -sudo gem install bundler +which bundler &>/dev/null || sudo gem install bundler bundle install