Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

구성 변경 요청: environment config apply

apollo-cli environment config apply는 사용자가 준비한 구성을 적용하는 변경 요청을 만듭니다. 하나의 배포 환경 구성 YML 파일 또는 구성 파일이 담긴 디렉터리를 입력으로 사용할 수 있습니다.

apollo-cli environment config apply [environment-id] [flags]
옵션의미
--environment-config적용할 배포 환경 구성 YML 파일 경로
--config-dir배포 환경의 구성 파일들이 있는 디렉터리. 그 안의 모든 구성을 적용 대상으로 사용
--title변경 요청 제목
--description변경 요청 설명
-h, --help명령 도움말

입력 방식

단일 구성 파일은 다음과 같이 제출합니다.

./apollo-cli environment config apply test-spoke \
  --environment-config ./environment-config.yml \
  --title "배포 환경 구성 갱신" \
  --description "준비한 환경 구성 적용"

config get으로 내려받아 수정한 구성 디렉터리는 다음과 같이 제출합니다.

./apollo-cli environment config apply test-spoke --config-dir ./configs

이 예시의 환경과 파일 이름은 가상입니다. 디렉터리 방식은 그 안의 구성이 모두 대상이므로 제출 전 변경 범위를 확인해야 합니다.