Skip to content

Commit 32d6120

Browse files
authored
Merge pull request sameersbn#2966 from tDo/issue-2965-create-external-diffs-if-missing
Create external-diffs directory if missing, closes sameersbn#2965
2 parents afe4a50 + 0431ba5 commit 32d6120

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)