Update dependencies and add pipelines #2
1 changed files with 37 additions and 36 deletions
73
.drone.yml
73
.drone.yml
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue