Github Action 으로 GKE 에 Spring Boot 애플리케이션 배포하기
요즘 하고있는 사이드 프로젝트에 배포환경을 구성하면서 Github Action 을 처음 사용해보았다. 이제 간단한 프로젝트에 따로 jenkins 를 만들어 올릴 필요가 없겠구나 하는 감탄이 나올만큼 편리하고, 많은 integration 들을 준비해두어 놀라웠다. 그렇지만 내가 찾지 못한건지.. 단순히 따라하면 뚝딱 되는 Getting Start 가 없어, 약 세시간 가량 삽질을 했고 다음에 똑같은 삽질을 하지 않기위해 Github Action을 통해 GKE에 Spring Boot 애플리케이션을 배포하는 방법은 간단히 남겨두려 한다.
https://genie-youn.github.io/journal/Github_Action_%EC%9C%BC%EB%A1%9C_GKE_%EC%97%90_Spring_Boot_%EC%95%A0%ED%94%8C%EB%A6%AC%EC%BC%80%EC%9D%B4%EC%85%98_%EB%B0%B0%ED%8F%AC%ED%95%98%EA%B8%B0.html
gsutil Support · Issue #13 · GoogleCloudPlatform/github-actions
@craigdbarber Is there any plan of having a gsutil action included in this repo? There doesn't seem to be anything now. This PR implements it but it was never merged and it looks like that repo wont exist after 12/31/2019. Thanks!
https://github.com/GoogleCloudPlatform/github-actions/issues/13
api 키를 생성해야함


젤 밑에껄로 해서 google cloud storeage json 받아서 email하고 key 생성해야한다
private key를 json 형태로 다운받아지는데 그거로 또 base64로 해서 github secret 에 넣어주는 더러운 짓을 해야함
GoogleCloudPlatform/github-actions
This action configures the Google Cloud SDK in the environment for use in actions. The Google Cloud SDK includes both the gcloud and gsutil binaries. It does the following: Downloads a version of the Google Cloud SDK according to the specified version input, as well as the environment OS and architecture.
https://github.com/GoogleCloudPlatform/github-actions/tree/master/setup-gcloud
하라니 해야지...
