Build to a new tag named "b-master"
This commit is contained in:
parent
70b38d2742
commit
efc71d9f2d
4 changed files with 7 additions and 3 deletions
|
@ -3,6 +3,8 @@ dev:
|
|||
frontend:
|
||||
templates:
|
||||
- manifest: deployment/manifests/build.yaml
|
||||
parameters:
|
||||
TARGET_IMAGE_STREAM_TAG: b-master
|
||||
deployment:
|
||||
frontend:
|
||||
templates:
|
||||
|
|
|
@ -18,7 +18,7 @@ node() {
|
|||
}
|
||||
|
||||
stage("Deploy to DEV") {
|
||||
occd.tag("rubex-dev", "frontend", "latest", "dev")
|
||||
occd.tag("rubex-dev", "frontend", "b-master", "dev")
|
||||
occd.rollout("rubex-dev", "frontend", config.dev.deployment.frontend)
|
||||
}
|
||||
|
||||
|
|
|
@ -4,6 +4,5 @@ node() {
|
|||
stage("Checkout") {
|
||||
deleteDir()
|
||||
git(url: "https://github.com/omallo/ruby-ex.git", branch: "${FEATURE_BRANCH}", credentialsId: "github-omallo")
|
||||
sh "git status"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ objects:
|
|||
output:
|
||||
to:
|
||||
kind: ImageStreamTag
|
||||
name: frontend:latest
|
||||
name: frontend:${TARGET_IMAGE_STREAM_TAG}
|
||||
source:
|
||||
type: Binary
|
||||
binary: {}
|
||||
|
@ -28,3 +28,6 @@ objects:
|
|||
kind: ImageStreamTag
|
||||
name: ruby:2.3
|
||||
namespace: openshift
|
||||
- description: The image stream tag to build to.
|
||||
displayName: Target image stream tag
|
||||
name: TARGET_IMAGE_STREAM_TAG
|
||||
|
|
Loading…
Reference in a new issue