Files
akkounts/.drone.yml

55 lines
1010 B
YAML
Raw Normal View History

2022-02-12 09:34:36 -06:00
---
2020-11-19 14:23:43 +01:00
kind: pipeline
type: docker
2022-02-12 14:43:51 -06:00
aame: CI build
2020-11-19 14:23:43 +01:00
steps:
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
mount:
2022-02-12 15:22:57 -06:00
- ./vendor
when:
branch:
- master
2020-11-19 14:23:43 +01:00
- name: rspec
2022-02-12 15:02:20 -06:00
image: guildeducation/rails:2.7.2-12.22.0
2022-02-12 14:53:23 -06:00
environment:
RAILS_ENV: test
2020-11-19 14:23:43 +01:00
commands:
2022-02-12 15:09:19 -06:00
- bundle config set deployment 'true'
- bundle config set with 'development test'
- bundle install --jobs=3 --retry=3
2020-11-19 14:23:43 +01:00
- yarn install
2022-02-12 15:29:04 -06:00
- rake css:build
- rake spec
2020-11-19 14:23:43 +01:00
when:
branch:
- master
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
2022-02-12 15:22:57 -06:00
- ./vendor
when:
branch:
- master
volumes:
- name: cache
host:
path: /var/lib/drone/tmp
2022-02-12 09:34:36 -06:00
---
kind: signature
hmac: f9a8cf97f6596625721365f6238f6f298aa5a7a4de10c3fb61c57202ae9d1ee1
...