CICD 배포/CICD 배포

CD - Spinnaker - Artifact

김붕어87 2023. 2. 9. 10:43
반응형
개요
Artifact은 외부 리소스를 참조할 수 있도록 도와주는 역할입니다.
Artifact으로 연결해서 사용할 수 있는 리소스는 Github, Docker, AWS S3, HelmChart 등이 있습니다.
가이드 : https://spinnaker.io/docs/reference/ref-artifacts/

 

 

 

 

Artifact - Github 등록하기

  • halyard 명령어로 Github 리소스를 등록 할 수 있다.
hal config artifact github enable

ARTIFACT_ACCOUNT_NAME=xxx-charts
TOKEN_FILE=     # GitHub Token_Key 파일 위치 입력

hal config artifact github account add $ARTIFACT_ACCOUNT_NAME \
    --token-file $TOKEN_FILE

hal deploy apply

 

 

Articat - Helm 등록하기

  • ChartMuseum에 등록된 Chart를 사용하기 위해서는 Helm Artifact를 등록해야한다.
hal config features edit --artifacts true 
hal config artifact helm enable

hal config artifact helm account add test-chartmuseum --repository http://54.180.134.21:8080

hal deploy apply

 

 

 

 

 

 

 

 

 

 

 

 

 

반응형

'CICD 배포 > CICD 배포' 카테고리의 다른 글

ChartMuseum  (0) 2023.02.09
ArgoCD Vs Spinnaker 비교  (0) 2023.02.09
[ ArgoCD ] Notification 구성  (0) 2023.02.08
[ ArgoCD ] Deploy  (0) 2023.02.08
[ ArgoCD ] application 생성  (0) 2023.02.08