Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
use ruby image for deployment workflow
Browse files Browse the repository at this point in the history
because we need ruby stuff, not go stuff

note:
- ruby 2.3 because json library that fpm seemingly wants to use
  doesn't work with 2.4 (ruby/json#303)
- for some reason apt-get update no longer needed
  • Loading branch information
Dieterbe committed Jan 3, 2018
1 parent 04e125d commit 0aeda5f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion scripts/build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
3 changes: 1 addition & 2 deletions scripts/depends.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0aeda5f

Please sign in to comment.