mirror of
https://git.cluster.stumblestore.de/llamprecht/KnilchWeb.git
synced 2025-12-15 00:51:19 +01:00
added drone.yaml
This commit is contained in:
parent
ce71aefa0a
commit
9e74ad77e1
1 changed files with 27 additions and 0 deletions
27
.drone.yaml
Normal file
27
.drone.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: check for Hardcoded Credentials
|
||||
image: plugins/gitleaks
|
||||
|
||||
- name: woke check
|
||||
image: getwoke/woke
|
||||
commands:
|
||||
- woke
|
||||
|
||||
- name: build
|
||||
image: node
|
||||
commands:
|
||||
- npm install typescript
|
||||
- npx tsc
|
||||
|
||||
- name: deploy
|
||||
image: vallard/drone-kube
|
||||
template: deployment.yaml
|
||||
when:
|
||||
event:
|
||||
- promote
|
||||
target:
|
||||
- production
|
||||
Loading…
Reference in a new issue