I struggled to deploy sidekiq to an Ubuntu 20.04 server using the capistrano-sidekiq gem. Here are the steps I took to get it to work
Add to your Gemfile
gem 'sidekiq', '~> 6.2'Add to the development group of your gemfile
| /* | |
| https://www.npmjs.com/package/@azure/storage-blob | |
| npm install @azure/storage-blob | |
| OR | |
| yarn add @azure/storage-blob | |
| Remember to set up the CORS rules for your storage https://docs.microsoft.com/en-us/azure/storage/blobs/storage-quickstart-blobs-javascript-client-libraries#setting-up-storage-account-cors-rules | |
| */ | |
| const { BlobServiceClient } = require("@azure/storage-blob") |
| stages: | |
| - build | |
| - test | |
| - deploy | |
| .base: | |
| image: ruby:2.7.0 | |
| cache: | |
| key: gems_and_packages | |
| paths: |
| FROM ruby:2.7.0 | |
| RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ | |
| echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list && \ | |
| apt-get update -qq && apt-get install -y \ | |
| build-essential \ | |
| nodejs \ | |
| yarn | |
| RUN mkdir /app |
I struggled to deploy sidekiq to an Ubuntu 20.04 server using the capistrano-sidekiq gem. Here are the steps I took to get it to work
Add to your Gemfile
gem 'sidekiq', '~> 6.2'Add to the development group of your gemfile
| # Run RSpec in parallel on GitHub Actions with even test group runtimes | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| group: [1, 2] | |
| name: test group ${{ matrix.group }}/2 | |
| services: |