본문 바로가기
기술/토스 Slash

토스ㅣSLASH 23 - 유연하고 안전하게 배포 Pipeline 운영하기 - 5 (GoCD Agent 설치)

by MiewONE 2023. 7. 17.

1토스ㅣSLASH 23 - 유연하고 안전하게 배포 Pipeline 운영하기 - 1 (기술 정리)

 

토스ㅣSLASH 23 - 유연하고 안전하게 배포 Pipeline 운영하기 - 1 (기술 정리)

토스 Slash 23에서 나오는 운영 방법 영상 속 개념, 도구 Pipeline Pipeline 운영 전략 (중앙화) GoCD(Go Continuous Delivery) - 도구 gocd-yaml-config-plugin GoCD Pipeline Wizard Pipeline As Code (PAC) GoCD Template Helm Template CI (Co

crongb.tistory.com

 

Agent 설치 필요 사양

GoCD Agent requirements

Supported Operating Systems

  • Windows - Windows Server 2012, Windows Server 2016, Windows 8 and Windows 10
  • Mac OSX - 10.7 (Lion) and above with Intel processor
  • Debian - Debian 8.0 and above
  • CentOS/RedHat - CentOS/RedHat version 6.0 and above
  • Ubuntu - Ubuntu 14 and above
  • Alpine Linux - Alpine Linux 3.6 and above

Hardware

  • RAM - minimum 128MB, 256MB recommended
  • CPU - minimum 2GHz

해당 사양에 해당하는 장치에 agent를 설치해야합니다. 실습을 위한 환경 세팅이니 Agent는 WSL에 띄우도록 하겠습니다.

 

설치는 간단합니다. https://docs.gocd.org/current/installation/install/agent/linux.html 링크에서 Agent가 설치될 운영체제에 맞춰설치를 진행하면 됩니다.

 

설치 후 /usr/share/go-agent/wrapper-config/wrapper-properties.conf 파일에서 설정을 진행합니다.

 

다른 행들은 볼 필요 없이

 

사진에 보이는 구성을 GoCD 구성된 서버의 IP 또는 도메인에 연결해주세요 저는 WSL에 구성 하였기 때문에 윈도우 IP를 등록했습니다.

wrapper.app.parameter.100=-serverUrl
wrapper.app.parameter.101=http://192.168.0.15:8153/go 

 

Agent를 띄운 모습

간단히 설치된 모습입니다.