1. Halyard란?

Spinnaker 배포 주기를 관리하기 위한 CLI 도구


2. 설치

우분투에서 설치함을 전제로 한다.

인스톨 쉘을 다운로드한다.

$ curl -O https://raw.githubusercontent.com/spinnaker/halyard/master/install/debian/InstallHalyard.sh

쉘 파일을 다운로드받고 실행한다.

$ ./InstallHalyard.sh
Halyard version will be stable
Halyard will be downloaded from gs://spinnaker-artifacts/halyard
Halyard config will come from bucket gs://halconfig
Halconfig will be stored at /home/ubuntu/.hal/config
mkdir: cannot create directory ‘/opt/spinnaker’: Permission denied

일반 계정으로 그냥 실행하면 위와 같이 권한 문제가 발생. 따라서 실행은 root 권한으로 한다.

$ sudo ./InstallHalyard.sh
Please supply a non-root user to run Halyard as: ubuntu
Halyard version will be stable
Halyard will be downloaded from gs://spinnaker-artifacts/halyard
Halyard config will come from bucket gs://halconfig
Halconfig will be stored at /home/ubuntu/.hal/config
Uninstall script is located at /home/ubuntu/.hal/uninstall.sh
Java is already installed & at the right version
~/halyard/installhalyard.EZaU ~/halyard
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  274M  100  274M    0     0  74.8M      0  0:00:03  0:00:03 --:--:-- 74.7M
halyard/
halyard/config/
halyard/config/halyard.yml
halyard/bin/
halyard/bin/hal.bat
halyard/bin/halyard.bat
halyard/bin/hal
halyard/bin/halyard
halyard/lib/
halyard/lib/aws-java-sdk-groundstation-1.11.622.jar
halyard/lib/json-simple-1.1.jar
halyard/lib/aws-java-sdk-ssm-1.11.622.jar
halyard/lib/google-api-services-cloudkms-v1-rev8-1.22.0.jar
halyard/lib/maven-builder-support-3.3.9.jar
halyard/lib/aws-java-sdk-cloudwatch-1.11.622.jar
halyard/lib/aws-java-sdk-connect-1.11.622.jar
halyard/lib/maven-repository-metadata-3.3.9.jar
halyard/lib/aws-java-sdk-forecastquery-1.11.622.jar
halyard/lib/aws-java-sdk-cloudtrail-1.11.622.jar
halyard/lib/aws-java-sdk-comprehend-1.11.622.jar
halyard/lib/aws-java-sdk-glue-1.11.622.jar
halyard/lib/aws-java-sdk-machinelearning-1.11.622.jar
halyard/lib/spectator-ext-jvm-0.75.0.jar
halyard/lib/jsoup-1.8.1.jar
halyard/lib/hk2-utils-2.5.0-b42.jar
halyard/lib/aws-java-sdk-eks-1.11.622.jar
halyard/lib/aws-java-sdk-rekognition-1.11.622.jar
halyard/lib/clouddriver-azure-5.8.0.jar
halyard/lib/aspectjweaver-1.9.4.jar

길어서 생략한다.


3. 설치 확인

$ hal -v
1.24.0-20191002142815