fix(ci): pipeline dependency
This commit is contained in:
parent
efa24cec44
commit
791a57d320
31
.drone.yml
31
.drone.yml
@ -121,12 +121,23 @@ steps:
|
|||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
- name: build
|
- name: prepare-build
|
||||||
image: vikunja/golang-build:latest
|
image: vikunja/golang-build:latest
|
||||||
pull: always
|
pull: always
|
||||||
environment:
|
environment:
|
||||||
GOPROXY: 'https://goproxy.kolaente.de'
|
GOPROXY: 'https://goproxy.kolaente.de'
|
||||||
depends_on: [ mage ]
|
depends_on: [ mage ]
|
||||||
|
commands:
|
||||||
|
- ./mage-static do-the-swag
|
||||||
|
when:
|
||||||
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
|
- name: build
|
||||||
|
image: vikunja/golang-build:latest
|
||||||
|
pull: always
|
||||||
|
environment:
|
||||||
|
GOPROXY: 'https://goproxy.kolaente.de'
|
||||||
|
depends_on: [ prepare-build ]
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static build:build
|
- ./mage-static build:build
|
||||||
when:
|
when:
|
||||||
@ -219,7 +230,7 @@ steps:
|
|||||||
GOPROXY: 'https://goproxy.kolaente.de'
|
GOPROXY: 'https://goproxy.kolaente.de'
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:unit
|
- ./mage-static test:unit
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -236,7 +247,7 @@ steps:
|
|||||||
path: /db
|
path: /db
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:unit
|
- ./mage-static test:unit
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -253,7 +264,7 @@ steps:
|
|||||||
VIKUNJA_DATABASE_DATABASE: vikunjatest
|
VIKUNJA_DATABASE_DATABASE: vikunjatest
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:unit
|
- ./mage-static test:unit
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -271,7 +282,7 @@ steps:
|
|||||||
VIKUNJA_DATABASE_SSLMODE: disable
|
VIKUNJA_DATABASE_SSLMODE: disable
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:unit
|
- ./mage-static test:unit
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -282,7 +293,7 @@ steps:
|
|||||||
GOPROXY: 'https://goproxy.kolaente.de'
|
GOPROXY: 'https://goproxy.kolaente.de'
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:integration
|
- ./mage-static test:integration
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -299,7 +310,7 @@ steps:
|
|||||||
path: /db
|
path: /db
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:integration
|
- ./mage-static test:integration
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -316,7 +327,7 @@ steps:
|
|||||||
VIKUNJA_DATABASE_DATABASE: vikunjatest
|
VIKUNJA_DATABASE_DATABASE: vikunjatest
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:integration
|
- ./mage-static test:integration
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -334,7 +345,7 @@ steps:
|
|||||||
VIKUNJA_DATABASE_SSLMODE: disable
|
VIKUNJA_DATABASE_SSLMODE: disable
|
||||||
commands:
|
commands:
|
||||||
- ./mage-static test:integration
|
- ./mage-static test:integration
|
||||||
depends_on: [ fetch-tags, mage ]
|
depends_on: [ fetch-tags, prepare-build ]
|
||||||
when:
|
when:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
@ -732,6 +743,6 @@ steps:
|
|||||||
- failure
|
- failure
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 20ae6020b7e0ac4a01e087e3ef5c17c56ead6a42205b10e5d9a28bf66ae2d8a2
|
hmac: 1fae38b149582b7b164b40a0c5e491bd36bf42302f0d14ca558de521f9569767
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user