Update dependencies and add pipelines #2

Merged
atomaka merged 8 commits from docker into main 2023-03-12 10:27:06 -04:00
Showing only changes of commit 84edcc899c - Show all commits

View file

@ -2,47 +2,48 @@ name: default
kind: pipeline kind: pipeline
steps: steps:
- name: install - name: install
image: ruby:3.2.0 image: ruby:3.2.0
volumes: volumes:
- name: bundle - name: bundle
path: /usr/local/bundle path: /usr/local/bundle
commands: commands:
- bin/bundle install --jobs=3 --retry=3 - bin/bundle install --jobs=3 --retry=3
- name: autoload - name: autoload
image: ruby:3.2.0 image: ruby:3.2.0
volumes: volumes:
- name: bundle - name: bundle
path: /usr/local/bundle path: /usr/local/bundle
commands: - bin/rails zeitwerk:check commands:
depends_on: - bin/rails zeitwerk:check
- install depends_on:
- install
- name: lint - name: lint
image: ruby:3.2.0 image: ruby:3.2.0
volumes: volumes:
- name: bundle - name: bundle
path: /usr/local/bundle path: /usr/local/bundle
commands: commands:
- bin/bundle exec standardrb - bin/bundle exec standardrb
depends_on: depends_on:
- install - install
- name: test - name: test
image: ruby:3.2.0 image: ruby:3.2.0
volumes: volumes:
- name: bundle - name: bundle
path: /usr/local/bundle path: /usr/local/bundle
commands: commands:
- bin/rails assets:precompile - bin/rails assets:precompile
- bin/rails test - bin/rails test
depends_on: depends_on:
- install - install
volumes: volumes:
- name: bundle - name: bundle
temp: {} temp: {}
trigger: trigger:
branch: branch: