Skip to content

Commit 3ac5bed

Browse files
committed
feat: add timezone environment variable
1 parent 33cacb2 commit 3ac5bed

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

defaults/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@ gitlab_runner_package_manager: pip
2727
# registration_token: mysecureprojecttoken
2828
# - gitlab_url: https://my.gitlab.url
2929
# registration_token: mysecureinstancetoken
30+
31+
timezone_name: "America/Toronto"

templates/docker-compose.yml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ services:
33
runner:
44
image: gitlab/gitlab-runner:{{ gitlab_runner_version }}
55
container_name: {{ gitlab_runner_container_name }}
6+
environment:
7+
TZ: {{ timezone_name }}
68
restart: always
79
volumes:
810
- ./conf:/etc/gitlab-runner

0 commit comments

Comments
 (0)