Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
extends:
import: classic
file: maven/pipeline.yaml
pipelines:
pullRequest:
build:
steps:
- sh: skaffold version
name: skaffold-version
- sh: export VERSION=$PREVIEW_VERSION && skaffold build -f skaffold.yaml
name: container-build
postBuild:
steps:
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:$PREVIEW_VERSION
name: post-build
promote:
steps:
- dir: charts/preview
steps:
- sh: make preview
name: make-preview
- sh: jx preview --app $APP_NAME --dir ../..
name: jx-preview
release:
build:
steps:
- sh: skaffold version
name: skaffold-version
- sh: export VERSION=`cat VERSION` && skaffold build -f skaffold.yaml
name: container-build
- sh: jx step post build --image $DOCKER_REGISTRY/$ORG/$APP_NAME:\$(cat VERSION)
name: post-build
promote:
steps:
- dir: charts/REPLACE_ME_APP_NAME
steps:
- sh: jx step changelog --version v\$(cat ../../VERSION)
name: changelog
- comment: release the helm chart
sh: jx step helm release
name: helm-release
- comment: promote through all 'Auto' promotion Environments
sh: jx promote -b --all-auto --timeout 1h --version \$(cat ../../VERSION)
name: jx-promote