2020-12-09 06:25:45 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: exec
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
2020-12-09 06:45:49 +00:00
|
|
|
- name: analyze
|
|
|
|
environment:
|
|
|
|
SONAR_TOKEN:
|
|
|
|
from_secret: sonar_token
|
|
|
|
commands:
|
|
|
|
- /opt/sonar-scanner/bin/sonar-scanner -Dsonar.login=$$SONAR_TOKEN
|
|
|
|
|
2020-12-09 06:25:45 +00:00
|
|
|
- name: deploy
|
|
|
|
commands:
|
|
|
|
- make deploy
|
2020-12-09 06:45:49 +00:00
|
|
|
depends_on:
|
|
|
|
- analyze
|