본문 바로가기
버전관리/GitLab

GitLab 버전 업데이트(4) - 14.0.12 to 15.1.2

by 주리니e 2022. 7. 12.
728x90

GitLab 버전 업데이트(4) - 14.0.12 to 15.1.2

 

Upgrade paths

 

지난 번에 작업했던 대로 업그레이드 패스를 지켜가며 docker-compose.xml의 gitlab 버전을 수정 후 새 이미지를 받아 설치하는 형식을 반복하면 된다.

 

  • 14.0.12 to 14.3.6
$ docker-compose up -d
Pulling gitlab (gitlab/gitlab-ce:14.3.6-ce.0)...
14.3.6-ce.0: Pulling from gitlab/gitlab-ce
7b1a6ab2e44d: Already exists
db71597928d9: Pull complete
01d82f2a1736: Pull complete
1463060c448a: Pull complete
a8e2c0106e8f: Pull complete
ddc5b7231755: Pull complete
868d8c1123e4: Pull complete
99882f6311c9: Pull complete
Digest: sha256:7a34eed19d7af89e96e52231305171b1f690e99d01fffd4be39c515fd4af1ece
Status: Downloaded newer image for gitlab/gitlab-ce:14.3.6-ce.0
Recreating gitlab ... done

 

  • 14.3.6 to 14.9.5
$ docker-compose up -d
Pulling gitlab (gitlab/gitlab-ce:14.9.5-ce.0)...
14.9.5-ce.0: Pulling from gitlab/gitlab-ce
d5fd17ec1767: Pull complete
c73908ed6492: Pull complete
588bf1079275: Pull complete
79d508e4cd50: Pull complete
680e6c2e4367: Pull complete
ae617a72a43f: Pull complete
55fb226a44ad: Pull complete
c9990399c59f: Pull complete
Digest: sha256:6261498881c53dc95a0c4784fcd931ce37b1cfd3276a5e2a4cdb1fd45a1594f9
Status: Downloaded newer image for gitlab/gitlab-ce:14.9.5-ce.0
Recreating gitlab ... done

 

  • 14.9.5 to 14.10.4
$ docker-compose up -d
Pulling gitlab (gitlab/gitlab-ce:14.10.4-ce.0)...
14.10.4-ce.0: Pulling from gitlab/gitlab-ce
d5fd17ec1767: Already exists
f9957422b36c: Pull complete
134727cdf09f: Pull complete
a51278ae0aff: Pull complete
97ffbac2c405: Pull complete
3f3dc5df0ab6: Pull complete
c2e32834fe39: Pull complete
084ec9e19819: Pull complete
Digest: sha256:486dd5f1a982125619b1d1976cb1fdd3358cfad943c382a66956b90ba3c92db0
Status: Downloaded newer image for gitlab/gitlab-ce:14.10.4-ce.0
Recreating gitlab ... done

 

  • 14.10.4 to 15.0.2
$ docker-compose up -d
Pulling gitlab (gitlab/gitlab-ce:15.0.2-ce.0)...
15.0.2-ce.0: Pulling from gitlab/gitlab-ce
d5fd17ec1767: Already exists
22766871ceb5: Pull complete
ec5756059dff: Pull complete
4fac5080a5b4: Pull complete
30d7773f8428: Pull complete
79b3560a6021: Pull complete
97cacca7c3b0: Pull complete
556af3bfff46: Pull complete
Digest: sha256:14d94a2fec4f5ea72a9640746bdfc17614537c82826cf6d8ae792b39b5e58536
Status: Downloaded newer image for gitlab/gitlab-ce:15.0.2-ce.0
Recreating gitlab ... done

 

  • 15.0.2 to 15.1.0
$ docker-compose up -d
Pulling gitlab (gitlab/gitlab-ce:15.1.0-ce.0)...
15.1.0-ce.0: Pulling from gitlab/gitlab-ce
d7bfe07ed847: Pull complete
edfb7a936d8c: Pull complete
90366048cf28: Pull complete
205ee59b56a4: Pull complete
f756bb6c1805: Pull complete
566b4c651986: Pull complete
1538a0e5beec: Pull complete
ede9471fbbd8: Pull complete
Digest: sha256:66da8d58791cd55d0cb4b6bca80fd3d4c87780dd0b3af71fc3cf0c0d9e7011ad
Status: Downloaded newer image for gitlab/gitlab-ce:15.1.0-ce.0
Recreating gitlab ... done

 

  • 15.1.0 to 15.1.2
$ docker-compose up -d
Pulling gitlab (gitlab/gitlab-ce:15.1.2-ce.0)...
15.1.2-ce.0: Pulling from gitlab/gitlab-ce
d7bfe07ed847: Already exists
c8ced2278551: Pull complete
d5b7cafbee00: Pull complete
379aa7e97791: Pull complete
8459a3c7f805: Pull complete
4562b6e1a578: Pull complete
11ebb50b1005: Pull complete
76ba78f867ec: Pull complete
Digest: sha256:b40822d4f5e6ba47b5d82bce35689d02d77ecf8d286a9e394fc62306b03eeb05
Status: Downloaded newer image for gitlab/gitlab-ce:15.1.2-ce.0
Recreating gitlab ... done

 

Gitlab Community Edition 15.1.2

 

다행히도 별다른 이슈 없이 15.1.2로 업그레이드가 완료되었다. 각 버전 별 지침이 있으니, 오류 발생 시 아래 링크를 확인하면 된다.

https://docs.gitlab.com/15.1/ee/update/#version-specific-upgrading-instructions

 

Upgrading GitLab | GitLab

Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner.

docs.gitlab.com

 

2022.07.11 - [버전관리/Gitlab] - Gitlab-CE 버전 업데이트(3) - 13.12.15 to 14.0.12

 

Gitlab-CE 버전 업데이트(3) - 13.12.15 to 14.0.12

Gitlab-CE 버전 업데이트(3) - 13.12.15 to 14.0.12 Docker gitlab 컨테이너 접속 # docker exec -it gitlab /bin/bash 현재 gitlab 버전 확인 # gitlab-rake gitlab:env:info System information System: Curr..

jiurinie.tistory.com

 

728x90

댓글