From de4286fab34b415eb6820abed61ae0ccb670ee2c Mon Sep 17 00:00:00 2001 From: idanovinda Date: Thu, 26 Sep 2024 09:31:54 +0200 Subject: [PATCH] adjust delivery.yaml --- delivery.yaml | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/delivery.yaml b/delivery.yaml index adabbf1a6..64b1d712c 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -11,7 +11,7 @@ pipeline: requires_human_approval: true when: - event: push - branch: master + branch: feature/postgresql-17 timeout: 10h vm_config: type: linux @@ -33,19 +33,3 @@ pipeline: -t "$ECR_TEST_IMAGE" \ --push . cdp-promote-image "$ECR_TEST_IMAGE" - -- id: tag-spilo - depends_on: [push-spilo-ecr] - type: script - requires_human_approval: true - when: - event: push - branch: master - commands: - - desc: Tag release spilo image - cmd: | - PATRONIVERSION=$(sed -n 's/^ENV PATRONIVERSION=\([1-9][0-9]*\.[0-9]*\).*$/\1/p' postgres-appliance/Dockerfile) - COUNTER=$(git tag | sed -n "s/^$PATRONIVERSION-p//p" | sort -un | tail -n1) - TAG="$PATRONIVERSION-p$((COUNTER+1))" - - git gh-tag "$TAG"