Add a preview pipeline
This commit is contained in:
parent
fc79631a1c
commit
bb8b27f0b7
3 changed files with 26 additions and 3 deletions
|
@ -1,3 +1,11 @@
|
|||
prev:
|
||||
deployment:
|
||||
frontend:
|
||||
templates:
|
||||
- manifest: deployment/manifests/app.yaml
|
||||
parameters:
|
||||
ENV: prev
|
||||
REPLICAS: 1
|
||||
dev:
|
||||
deployment:
|
||||
frontend:
|
||||
|
|
8
deployment/preview-pipeline.groovy
Normal file
8
deployment/preview-pipeline.groovy
Normal file
|
@ -0,0 +1,8 @@
|
|||
@Library('occd') _
|
||||
|
||||
node() {
|
||||
stage("Deploy to PREV") {
|
||||
occd.tag("rubex-dev", "frontend", "${SOURCE_IMAGE_STREAM_TAG}", "prev")
|
||||
occd.rollout("rubex-prev", "frontend", config.prev.deployment.frontend)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue