gitlab6 GitLab 업데이트 방법 GitLib 업데이트 GitLab 업데이트시 다른 패키지들처럼 14.xxx → 16.xxx 이런식으로 2단계를 건너 띄우고 업데이트를 하지못하고 순차적으로 진행해야한다. GitLib 업데이트 예시 여기 공식 사이트 CHANGELOG.md를 보고 최초, 최종 버전을 검색할 수 있다. https://gitlab.com/gitlab-org/gitlab/blob/master/CHANGELOG.md CHANGELOG.md · master · GitLab.org / GitLab · GitLab GitLab is an open source end-to-end software development platform with built-in version control, issue tracking, code review,.. 2023. 8. 10. GitLab - Git submodule 특정 디렉토리 추가 방법 ▶ 메인 프로젝트 (main_project) application ㄴsubmodule ㄴ ▶ 서브 프로젝트 (sub_project) application ㄴfontweb >.git/modules/sub_project/info/sparse-checkout 7. git 업데이트 git submodule update --force --checkout sub_project 2022. 6. 27. Git Password 저장 방법 Credential 정보 저장 credential 정보를 저장하여 반영구적으로 인증 절차가 생략된다. git config credential.helper store --global 옵션을 설정하여 모든 프로젝트에 적용할 수 있다. git config --global credential.helper store Cache 저장 임시로 저장할때 사용한다. 기본적으로 15분 동안 인증 절차를 요구하지 않는다. git config credential.helper cache timeout 옵션으로 지정이 가능하다. (초 단위) git config credential.helper 'cache --timeout=3600' 참고 https://git-scm.com/docs/git-credential-cache 2022. 5. 18. GitLab 백업 및 복원 방법 애플리케이션 데이터 백업은 데이터베이스, 모든 리포지토리 및 모든 첨부 파일을 포함하는 아카이브 파일을 생성한다. 백업을 생성한 GitLab의 버전 및 유형(CE/EE)과 정확히 동일한 버전 으로만 백업을 복원할 수 있다. 요구사항 # Debian/Ubuntu sudo apt-get install rsync # RHEL/CentOS sudo yum install rsync GitLab 백업 GitLab은 다음을 포함하여 전체 인스턴스를 백업하는 명령줄 인터페이스를 제공한다. 데이터 베이스 첨부 파일 Git 리포지토리 데이터 CI/CD 작업 출력 로그 CI/CD 작업 아티팩트 LFS 객체 Terraform 상태( GitLab 14.7에 도입 됨) Container Registry 이미지 GitLab 페이지.. 2022. 5. 10. GitLab API를 활용한 마이그레이션 개요 BACKUP & RESTORE를 사용하여 파일을 활용하는 방법이 가장 간단한 방법이긴 하다. 하지만 회사 보안상이나 서버에 접근이 불가하거나 여러 가지 이슈들로 인하여 API를 활용하여 마이그레이션을 활용해야 하는 경우가 있다. 시나리오 GitLab (구서버 - old-gitlab.com) 에서 git clone 하여 로컬에 임의 디렉토리에 저장 localhost에서 GitLab (새로운 서버 - new-gitlab.com)로 push 준비사항 GitLab Group Acesss Token Python 3.x 마이그레이션 방법 1. GitLab Server Group Acess Token 발급 GitLab API를 활용하여 마이그레이션 하기 위해서는 Group에 접근할 Token을 발급한다. Gro.. 2022. 5. 9. ubuntu에 GitLab을 설치해보자 gitlab 설치 1. 리눅스 필수 패키지 설치 root@master:~# apt update root@master:~# apt-get install -y ca-certificates curl openssh-server 2. gitlab-ce 리포지토리 추가 root@master:~# curl -sS https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash root@master:~# cat /etc/apt/sources.list.d/gitlab_gitlab-ce.list # this file was generated by packages.gitlab.com for # the repository at.. 2022. 2. 22. 이전 1 다음 728x90 반응형