Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

45 lines (44 sloc) 1.36 KB
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
You can’t perform that action at this time.