2020-04-14 19:47:06 +02:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2020-07-07 22:58:42 +02:00
|
|
|
- name: code-analysis
|
|
|
|
image: aosapps/drone-sonar-plugin
|
|
|
|
settings:
|
|
|
|
sonar_host:
|
|
|
|
from_secret: SONAR_HOST
|
|
|
|
sonar_token:
|
|
|
|
from_secret: SONAR_CODE
|
|
|
|
|
2020-04-28 19:19:07 +02:00
|
|
|
- name: kaniko
|
|
|
|
image: banzaicloud/drone-kaniko
|
|
|
|
settings:
|
|
|
|
registry: registry.kmlabz.com
|
|
|
|
repo: birbnetes/${DRONE_REPO_NAME}
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_PASSWORD
|
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- ${DRONE_BUILD_NUMBER}
|
2020-04-28 17:39:38 +02:00
|
|
|
|
2020-07-19 14:31:27 +02:00
|
|
|
- name: sentry
|
|
|
|
image: tormachris/drone-sentry
|
|
|
|
settings:
|
|
|
|
sentry_project: ${DRONE_REPO_NAME}
|
|
|
|
sentry_domain: sentry.kmlabz.com
|
|
|
|
sentry_token:
|
|
|
|
from_secret: SENTRY_TOKEN
|
|
|
|
|
2020-04-28 17:49:01 +02:00
|
|
|
- name: ms-teams
|
|
|
|
image: kuperiu/drone-teams
|
|
|
|
settings:
|
2020-04-28 17:39:38 +02:00
|
|
|
webhook:
|
|
|
|
from_secret: TEAMS_WEBHOOK
|
2020-04-28 17:49:01 +02:00
|
|
|
when:
|
|
|
|
status: [ failure ]
|