From 05dce834e62648cab33ae9a84de67852ab239ee8 Mon Sep 17 00:00:00 2001 From: Evgene Leontiev Date: Wed, 30 Sep 2020 00:51:09 +0400 Subject: [PATCH 1/2] Add .circleci/config.yml --- .circleci/config.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..2d7b84e --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,28 @@ +version: 2.1 +orbs: + ruby: circleci/ruby@0.1.2 + +jobs: + build: + docker: + - image: circleci/ruby:2.6.3-stretch-node + executor: ruby/default + steps: + - checkout + - run: + name: Which bundler? + command: bundle -v + # bundler + - restore_cache: + keys: + - elbas-bundle-v1-{{ checksum "elbas.gemspec" }} + - run: + name: Bundle Install + command: bundle install && bundle clean + - save_cache: + key: elbas-bundle-v1-{{ checksum "elbas.gemspec" }} + paths: + - vendor/bundle + - run: + name: Run tests + command: bundle exec rspec --profile 10 --out tmp/rspec/rspec.xml --format progress From e3f79a0fa308d51e101c4288a914cb25133a9397 Mon Sep 17 00:00:00 2001 From: madmatvey Date: Wed, 30 Sep 2020 01:20:17 +0400 Subject: [PATCH 2/2] add badge --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8360418..e1b2cce 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ # Capistrano ELBAS (Elastic Load Balancer & AutoScaling) [![Gem Version](https://badge.fury.io/rb/elbas.svg)](https://badge.fury.io/rb/elbas) +[![CircleCI](https://circleci.com/gh/lserman/capistrano-elbas.svg?style=svg)](https://circleci.com/gh/lserman/capistrano-elbas) + ELBAS was written to ease the deployment of Rails applications to AWS AutoScale groups. During your Capistrano deployment, ELBAS will: