Skip to content

Commit 0431ba5

Browse files
committed
Create external-diffs directory if missing, closes sameersbn#2965
1 parent 30af35c commit 0431ba5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

assets/runtime/functions

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1665,6 +1665,11 @@ initialize_datadir() {
16651665
chmod u+rwX ${GITLAB_SHARED_DIR}/ci_secure_files
16661666
chown ${GITLAB_USER}: ${GITLAB_SHARED_DIR}/ci_secure_files
16671667

1668+
# create external-diffs dir
1669+
mkdir -p ${GITLAB_SHARED_DIR}/external-diffs
1670+
chmod u+rwX ${GITLAB_SHARED_DIR}/external-diffs
1671+
chown ${GITLAB_USER}: ${GITLAB_SHARED_DIR}/external-diffs
1672+
16681673
# create artifacts dir
16691674
mkdir -p ${GITLAB_ARTIFACTS_DIR}
16701675
chmod u+rwX ${GITLAB_ARTIFACTS_DIR}

0 commit comments

Comments
 (0)