Update version & add manage_docker option
This commit is contained in:
parent
ab7c91f637
commit
a4befd5ef8
3 changed files with 7 additions and 5 deletions
|
|
@ -28,6 +28,7 @@
|
|||
state: absent
|
||||
environment:
|
||||
GITLAB_HOME: '{{ gitlab_home }}'
|
||||
when: manage_docker is true
|
||||
|
||||
- name: start gitlab
|
||||
docker_compose:
|
||||
|
|
@ -35,5 +36,4 @@
|
|||
project_src: '{{ app_dir }}'
|
||||
environment:
|
||||
GITLAB_HOME: '{{ gitlab_home }}'
|
||||
|
||||
# TODO: update router config (for SSH)
|
||||
when: manage_docker is true
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ version: '3.6'
|
|||
services:
|
||||
web:
|
||||
image: 'gitlab/gitlab-ee:{{ image_tag }}'
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
hostname: '{{ hostname }}'
|
||||
environment:
|
||||
GITLAB_OMNIBUS_CONFIG: |
|
||||
|
|
@ -31,6 +31,7 @@ services:
|
|||
- '$GITLAB_HOME/data:/var/opt/gitlab'
|
||||
shm_size: '256m'
|
||||
runner:
|
||||
# does not have an upgrade path, see https://forum.gitlab.com/t/upgrade-path-for-runner/72130
|
||||
image: 'gitlab/gitlab-runner:{{ runner_image_tag }}'
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
hostname: 'git.fudiggity.nl'
|
||||
|
||||
image_tag: '16.1.0-ee.0'
|
||||
runner_image_tag: 'alpine3.18-v16.1.0'
|
||||
manage_docker: false
|
||||
image_tag: '17.2.1-ee.0'
|
||||
runner_image_tag: 'alpine3.19-v17.1.1'
|
||||
|
||||
app_dir: '/srv/docker/gitlab'
|
||||
gitlab_home: '{{ ansible_env.HOME }}/vm/gitlab'
|
||||
|
|
|
|||
Reference in a new issue