Skip to content

Commit

Permalink
Auto create release (#532)
Browse files Browse the repository at this point in the history
Since the release process was fixed we can automatically create a release from CDP.
  • Loading branch information
jmcs authored and hjacobs committed Aug 7, 2018
1 parent c513bda commit d7ea438
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,25 +28,8 @@ pipeline:
if [[ -z "${CDP_PULL_REQUEST_NUMBER}" ]]; then
docker push "$DOCKER_IMAGE"
# As the release process is currently broken don't create a tag
# git gh-tag "$VERSION"
git log -1 --pretty=%B > CHANGELOG
# TODO upload the wheel package
git gh-release --message-from-file CHANGELOG $VERSION
fi
- id: release
type: process
desc: Release to TestPyPI
target: stups
process: microservice_standard_deployment
config:
apply_permanent_resources:
image: pierone.stups.zalan.do/automata/senza-release:#{CDP_TARGET_REPOSITORY_COUNTER}
env:
- name: USERNAME
valueFrom:
secretKeyRef:
name: teapot-pypi-credentials
key: username
- name: PASSWORD
valueFrom:
secretKeyRef:
name: teapot-pypi-credentials
key: password
# The actual release is done by a pipeline in Zalando's Internal Github Enterprise

0 comments on commit d7ea438

Please sign in to comment.