본문 바로가기

반응형

ci/cd

[리눅스] 도커 컨테이너로 gitlab-runner 실행하는 방법 도커 컨테이너로 gitlab-runner 실행하는 방법 docker-compose로 gitlab-runner 컨테이너 실행 docker-compose 편집 $ vim docker-compose.yml version: '3' services: gitlab-runner: image: 'gitlab/gitlab-runner:latest' restart: unless-stopped container_name: gitlab-runner hostname: gitlab-runner volumes: - /etc/localtime:/etc/localtime:ro - /var/run/docker.sock:/var/run/docker.sock - ./config:/etc/gitlab-runner $ docker-compos.. 더보기
블루 오션(Blue Ocean)을 설치하는 방법 블루 오션(Blue Ocean)을 설치하는 방법 "블루 오션(Blue Ocean)"은 Jenkins의 플러그인으로서, Jenkins의 사용자 인터페이스를 현대적이고 직관적으로 변경하여 CI/CD 파이프라인을 관리하고 시각화하는 데 도움을 주는 도구입니다. 블루 오션(Blue Ocean) 설치 플러그인 설치 후 Jenkins 재기동 블루 오션 열기 PipelineTest01 파이프라인 클릭 > 실행 스테이지 더보기
[Jenkins] Jenkins로 CI/CD 파이프라인을 구축하는 방법-2 Jenkins로 CI/CD 파이프라인을 구축하는 방법 [GitLab 작업] jenkins-pipeline 프로젝트 생성 Jenkinsfile 파일 생성 pipeline { agent any stages { stage('Stage 1') { steps { script { echo 'Hello' } } } stage('Stage 2') { steps { script { echo 'World' sh 'sleep 5' } } } stage('Stage 3') { steps { script { echo 'Good to see you!' } } } } } 액세스 토큰 생성 액세스 토큰 이름 : jenkinspipeline 액세스 토큰 : sZDDPxxxxxx-bNrjjcNf [Jenkins 작업] gitlab 액세.. 더보기
[Jenkins] Jenkins로 CI/CD 파이프라인을 구축하는 방법 Jenkins로 CI/CD 파이프라인을 구축하는 방법 PipelineTest02 파이프라인 생성 Definition : Pipeline scripte Script node { stage("Stage 1"){ echo "Hello" } stage("Stage 2"){ echo "World" sh "sleep 5" } stage("Stage 3"){ echo "Good to see you!" } } 더보기

728x90
반응형