Skip to content

Commit

Permalink
reverts temporary branch expiration check
Browse files Browse the repository at this point in the history
  • Loading branch information
kevprice83 committed Apr 5, 2022
1 parent 29fdcbb commit adfaec9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gateway/.s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ set -euo pipefail

mkdir -p /tmp/.s2i

PATCH_BRANCH=THREESCALE

if [[ -n "${GIT_BRANCH:-}" && "${GIT_BRANCH:-}" != master && "${GIT_BRANCH:-}" != *"${PATCH_BRANCH}"* ]]; then
if [[ -n "${GIT_BRANCH:-}" && "${GIT_BRANCH:-}" != master && -z "${GIT_TAG:-}" ]]; then
IMAGE_EXPIRES_AFTER="1w"
echo "This image is going to have just ${IMAGE_EXPIRES_AFTER} expiration."
fi
Expand Down

0 comments on commit adfaec9

Please sign in to comment.