Skip to content

Commit 29e178b

Browse files
committed
[CST-26980] fix pipeline
1 parent f300d8d commit 29e178b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

bitbucket-pipelines.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ definitions:
278278
- export BRANCH_FILE=$(echo "$BITBUCKET_BRANCH" | awk -F'/' '{if(NF==1)val=$1;else if(NF==2)val=$2;else if(NF==3)val=$2;else val=$3;gsub(/_/, "-", val);print tolower(val)}')
279279
- git clone https://${BB_USER}:${BB_USER_TOKEN}@${DSPACE_VALUES_REPO}
280280
- cd dspace-values
281-
- '[ -f */test/"${BRANCH_FILE}" ] && sed -i "s/^\([[:space:]]*replicaCount:\) 0/\1 1/" "staging/${BRANCH_FILE}"'
281+
- '[ -f */test/"${BRANCH_FILE}" ] && sed -i "s/^\([[:space:]]*replicaCount:\) 0/\1 1/" */test/"${BRANCH_FILE}"'
282282
- git config --global user.email "${BB_USER}"
283283
- git config --global user.name "${BB_EMAIL}"
284284
- git commit -am "Enable test environment for ${BRANCH_NAME}" || echo "No changes to commit"
@@ -401,6 +401,10 @@ pipelines:
401401
- step: *turn-on-staging
402402
turn-on-test:
403403
- step: *turn-on-test
404+
build-images:
405+
- step: *check-branch-name-allowed
406+
- step: *angular-build
407+
- step: *build-and-push
404408
branches:
405409
'main-cris':
406410
- step: *check-branch-name-allowed

0 commit comments

Comments
 (0)