2023-03-07 22:20:44 -05:00
|
|
|
name: default
|
|
|
|
kind: pipeline
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: install
|
|
|
|
image: ruby:3.2.0
|
|
|
|
volumes:
|
|
|
|
- name: bundle
|
|
|
|
path: /usr/local/bundle
|
|
|
|
commands:
|
|
|
|
- bin/bundle install --jobs=3 --retry=3
|
|
|
|
|
2023-03-07 22:30:58 -05:00
|
|
|
- name: autoload
|
2023-03-07 22:20:44 -05:00
|
|
|
image: ruby:3.2.0
|
|
|
|
volumes:
|
|
|
|
- name: bundle
|
|
|
|
path: /usr/local/bundle
|
|
|
|
commands:
|
2023-03-07 22:30:58 -05:00
|
|
|
- bin/rails zeitwerk:check
|
2023-03-07 22:39:32 -05:00
|
|
|
depends_on:
|
|
|
|
- install
|
2023-03-07 22:20:44 -05:00
|
|
|
|
2023-03-07 22:30:58 -05:00
|
|
|
- name: lint
|
2023-03-07 22:20:44 -05:00
|
|
|
image: ruby:3.2.0
|
|
|
|
volumes:
|
|
|
|
- name: bundle
|
|
|
|
path: /usr/local/bundle
|
|
|
|
commands:
|
2023-03-07 22:30:58 -05:00
|
|
|
- bin/bundle exec standardrb
|
2023-03-07 22:39:32 -05:00
|
|
|
depends_on:
|
|
|
|
- install
|
2023-03-07 22:20:44 -05:00
|
|
|
|
2023-03-07 22:30:58 -05:00
|
|
|
- name: test
|
2023-03-07 22:20:44 -05:00
|
|
|
image: ruby:3.2.0
|
|
|
|
volumes:
|
|
|
|
- name: bundle
|
|
|
|
path: /usr/local/bundle
|
|
|
|
commands:
|
2023-03-07 22:30:58 -05:00
|
|
|
- bin/rails test
|
2023-03-07 22:39:32 -05:00
|
|
|
depends_on:
|
|
|
|
- install
|
2023-03-07 22:20:44 -05:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: bundle
|
|
|
|
temp: {}
|