even more stages
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Torma Kristóf 2021-12-05 01:30:28 +01:00
parent 866a4a487c
commit b8a0ea5a71

View File

@ -1,6 +1,6 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: avx name: before
steps: steps:
- name: code-analysis - name: code-analysis
@ -10,7 +10,12 @@ steps:
from_secret: SONAR_HOST from_secret: SONAR_HOST
sonar_token: sonar_token:
from_secret: SONAR_CODE from_secret: SONAR_CODE
---
kind: pipeline
type: docker
name: avx
steps:
- name: kaniko - name: kaniko
image: banzaicloud/drone-kaniko image: banzaicloud/drone-kaniko
settings: settings:
@ -23,29 +28,15 @@ steps:
tags: tags:
- latest - latest
- ${DRONE_BUILD_NUMBER} - ${DRONE_BUILD_NUMBER}
depends_on:
- name: ms-teams - before
image: kuperiu/drone-teams
settings:
webhook:
from_secret: TEAMS_WEBHOOK
when:
status: [ failure ]
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
name: no-avx name: no-avx
steps: steps:
- name: code-analysis - name: kaniko
image: aosapps/drone-sonar-plugin
settings:
sonar_host:
from_secret: SONAR_HOST
sonar_token:
from_secret: SONAR_CODE
- name: kaniko-no-avx
image: banzaicloud/drone-kaniko image: banzaicloud/drone-kaniko
settings: settings:
registry: registry.kmlabz.com registry: registry.kmlabz.com
@ -58,11 +49,21 @@ steps:
tags: tags:
- latest - latest
- ${DRONE_BUILD_NUMBER} - ${DRONE_BUILD_NUMBER}
depends_on:
- before
---
kind: pipeline
type: docker
name: after
steps:
- name: ms-teams - name: ms-teams
image: kuperiu/drone-teams image: kuperiu/drone-teams
settings: settings:
webhook: webhook:
from_secret: TEAMS_WEBHOOK from_secret: TEAMS_WEBHOOK
when: when:
status: [ failure ] status: [ failure ]
depends_on:
- avx
- no-avx