Skip to content

Commit

Permalink
adjust delivery.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovinda committed Sep 26, 2024
1 parent 927e954 commit de4286f
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pipeline:
requires_human_approval: true
when:
- event: push
branch: master
branch: feature/postgresql-17
timeout: 10h
vm_config:
type: linux
Expand All @@ -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"

0 comments on commit de4286f

Please sign in to comment.