even more stages
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
866a4a487c
commit
b8a0ea5a71
39
.drone.yml
39
.drone.yml
@ -1,6 +1,6 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: avx
|
||||
name: before
|
||||
|
||||
steps:
|
||||
- name: code-analysis
|
||||
@ -10,7 +10,12 @@ steps:
|
||||
from_secret: SONAR_HOST
|
||||
sonar_token:
|
||||
from_secret: SONAR_CODE
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: avx
|
||||
|
||||
steps:
|
||||
- name: kaniko
|
||||
image: banzaicloud/drone-kaniko
|
||||
settings:
|
||||
@ -23,29 +28,15 @@ steps:
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_BUILD_NUMBER}
|
||||
|
||||
- name: ms-teams
|
||||
image: kuperiu/drone-teams
|
||||
settings:
|
||||
webhook:
|
||||
from_secret: TEAMS_WEBHOOK
|
||||
when:
|
||||
status: [ failure ]
|
||||
depends_on:
|
||||
- before
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: no-avx
|
||||
|
||||
steps:
|
||||
- name: code-analysis
|
||||
image: aosapps/drone-sonar-plugin
|
||||
settings:
|
||||
sonar_host:
|
||||
from_secret: SONAR_HOST
|
||||
sonar_token:
|
||||
from_secret: SONAR_CODE
|
||||
|
||||
- name: kaniko-no-avx
|
||||
- name: kaniko
|
||||
image: banzaicloud/drone-kaniko
|
||||
settings:
|
||||
registry: registry.kmlabz.com
|
||||
@ -58,11 +49,21 @@ steps:
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_BUILD_NUMBER}
|
||||
depends_on:
|
||||
- before
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: after
|
||||
|
||||
steps:
|
||||
- name: ms-teams
|
||||
image: kuperiu/drone-teams
|
||||
settings:
|
||||
webhook:
|
||||
from_secret: TEAMS_WEBHOOK
|
||||
when:
|
||||
status: [ failure ]
|
||||
status: [ failure ]
|
||||
depends_on:
|
||||
- avx
|
||||
- no-avx
|
Loading…
Reference in New Issue
Block a user