even more stages
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
Torma Kristóf 2021-12-05 01:30:28 +01:00
parent 866a4a487c
commit b8a0ea5a71
1 changed files with 20 additions and 19 deletions

View File

@ -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