Skip to content

Commit a13f02f

Browse files
committed
[ci skip] fix(pipelines): correct file path for tuning on test environment
1 parent c45442e commit a13f02f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitbucket-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ definitions:
261261
- 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)}')
262262
- git clone https://x-token-auth:${DSPACE_VALUES_ACCESS_TOKEN}@${DSPACE_VALUES_REPO}
263263
- cd dspace-values
264-
- '[ -f */test/"${BRANCH_FILE}" ] && sed -i "s/^\([[:space:]]*replicaCount:\) 0/\1 1/" "staging/${BRANCH_FILE}"'
264+
- '[ -f */test/"${BRANCH_FILE}" ] && sed -i "s/^\([[:space:]]*replicaCount:\) 0/\1 1/" */test/"${BRANCH_FILE}"'
265265
- git config --global user.email "${BB_USER}"
266266
- git config --global user.name "${BB_EMAIL}"
267267
- git commit -am "Enable test environment for ${BRANCH_NAME}" || echo "No changes to commit"

0 commit comments

Comments
 (0)