From d7ea438d4ef2bcfc98d16817c7eabeef2306e736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Santos?= Date: Tue, 7 Aug 2018 09:20:40 +0200 Subject: [PATCH] Auto create release (#532) Since the release process was fixed we can automatically create a release from CDP. --- delivery.yaml | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) diff --git a/delivery.yaml b/delivery.yaml index 3d5a3fb9..c70886b6 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -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