Skip to content

Commit

Permalink
chore: Add test section into droen.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Jun 29, 2018
1 parent 3004b9a commit 38b862d
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
build:
image: abakpress/dind-testing
pull: true
privileged: true
volumes:
- /home/data/drone/images:/images
- /home/data/drone/gems:/bundle
- /home/data/drone/key_cache:/ssh_keys
environment:
- COMPOSE_FILE_EXT=drone
- RUBY_IMAGE_TAG=2.2-latest
commands:
- wrapdocker docker -v
test:
image: abakpress/dind-testing
pull: true
privileged: true
volumes:
- /home/data/drone/images:/images
- /home/data/drone/gems:/bundle
- /home/data/drone/key_cache:/ssh_keys
environment:
- COMPOSE_FILE_EXT=drone
- RUBY_IMAGE_TAG=2.2-latest
commands:
- wrapdocker docker -v

- fetch-images
--image whilp/ssh-agent
--image abakpress/ruby-app:$RUBY_IMAGE_TAG
- fetch-images
--image whilp/ssh-agent
--image abakpress/ruby-app:$RUBY_IMAGE_TAG

- dip ssh add -T -v /ssh_keys -k /ssh_keys/id_rsa
- dip provision
- dip rspec
- dip ssh add -T -v /ssh_keys -k /ssh_keys/id_rsa
- dip provision
- dip rspec

release:
image: abakpress/gem-publication:edge
Expand Down

0 comments on commit 38b862d

Please sign in to comment.