Skip to content

Commit e194e7d

Browse files
committed
moved default TIMEZONE variable to env-defaults
Resolve conversation
1 parent 9180bed commit e194e7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/runtime/env-defaults

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22

3+
# CONTAINER
34
DEBUG=${DEBUG:-$DEBUG_ENTRYPOINT}
5+
TIMEZONE=${TZ:-UTC}
46

57
## GITLAB CORE
68
GITLAB_TEMP_DIR="${GITLAB_DATA_DIR}/tmp"

assets/runtime/functions

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,8 +1562,6 @@ EOF
15621562
}
15631563

15641564
configure_container_timezone() {
1565-
TIMEZONE=${TZ:-UTC}
1566-
15671565
# Preform sanity check of provided timezone value
15681566
if [ -e /usr/share/zoneinfo/${TIMEZONE} ]; then
15691567
# Configured timezone is available

0 commit comments

Comments
 (0)