Move e2e tests to last step of drone build

This commit is contained in:
Erik Wilson 2019-05-02 13:32:42 -07:00
parent 21a9dbe2fc
commit b2a07901fd

View File

@ -15,25 +15,6 @@ steps:
- name: docker - name: docker
path: /var/run/docker.sock path: /var/run/docker.sock
- name: sonobuoy-e2e-tests
image: rancher/dapper:v0.4.1
commands:
- dapper -f Dockerfile.sonobuoy.dapper
volumes:
- name: docker
path: /var/run/docker.sock
when:
instance:
- drone-publish.rancher.io
ref:
include:
- refs/head/master
- refs/tags/*
exclude:
- refs/tags/*-k3s.*
event:
- tag
- name: github_binary_release - name: github_binary_release
image: ibuildthecloud/github-release:v0.0.1 image: ibuildthecloud/github-release:v0.0.1
settings: settings:
@ -74,6 +55,25 @@ steps:
event: event:
- tag - tag
- name: sonobuoy-e2e-tests
image: rancher/dapper:v0.4.1
commands:
- dapper -f Dockerfile.sonobuoy.dapper
volumes:
- name: docker
path: /var/run/docker.sock
when:
instance:
- drone-publish.rancher.io
ref:
include:
- refs/head/master
- refs/tags/*
exclude:
- refs/tags/*-k3s.*
event:
- tag
volumes: volumes:
- name: docker - name: docker
host: host: