Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: CI/CD to GKE with multi-arch image builder, bash script #33

Merged
merged 38 commits into from
Mar 17, 2024

Conversation

ghkdqhrbals
Copy link
Member

Implements

  • Kubernetes
    • deployments, service for
      • bm-controller
      • bm-agent
    • GCP-PD connection with PV
    • PVC applied to each of deployments
    • Ingress Pods, routing
    • Secrets setup in local
  • CI/CD
    • Multiple architecture image builder using buildx
      • linux/arm64
      • linux/amd64
    • Deploy workflow call logic
    • Bash script for docker login, build, push our docker images. See more on /script/img_push_multi_arch.sh

@ghkdqhrbals ghkdqhrbals added feat - enhancement New feature or request feat labels Mar 16, 2024
@ghkdqhrbals ghkdqhrbals self-assigned this Mar 16, 2024
Copy link

📝 Test code-coverage reports

There is no coverage information present for the Files changed

Total Project Coverage 88.74% 🍏

@ghkdqhrbals ghkdqhrbals requested a review from LeeJeongGi March 16, 2024 10:49
@LeeJeongGi
Copy link
Member

혹시 CICD 작업 하실 때 참고했던 문서가 있을까요?

저도 아주 예전에 인터넷 검색해보면서 해본적이 있긴한데,, 기억이 안나서요 :(

@ghkdqhrbals
Copy link
Member Author

혹시 CICD 작업 하실 때 참고했던 문서가 있을까요?

저도 아주 예전에 인터넷 검색해보면서 해본적이 있긴한데,, 기억이 안나서요 :(

#34 에 자세히 정리해두었습니다!

Copy link
Member

@LeeJeongGi LeeJeongGi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CICD 구축하는게 간단해 보여도,, 설정 같은거 초기 셋팅하는게 정말 어려운 작업인데 작업해주셔서 감사합니다!! :)

항상 많은 도움이 되고 있습니다 ㅎㅎ

@ghkdqhrbals ghkdqhrbals merged commit fe6fe62 into develop Mar 17, 2024
1 check passed
ghkdqhrbals added a commit that referenced this pull request Mar 17, 2024
* dev: k8s agent deployment, service

* dev: pv and pvc setup with gcp-pd

* dev: controller deployment, service

* dev: database deployment, service

* dev: add Dockerfile for each module

* dev: image builder and pusher script

* dev: ingress pod and their routes

* dev: ignore secrets

* dev: gke continuous deploy workflow

* fix: path rewrite #32

* fix: remove / in COPY prefix path #32

* fix: change use of build-push-action #32

* fix: test buildx path #32

* fix: rewrite Dockerfile path with -f option #32

* fix: add . end of push #32

* fix: change context path with : #32

* fix: use support option of file, version : #32

* fix: valid option reset : #32

* fix: add Dockerfile to file option : #32

* fix: remove context : #32

* fix: add . prefix : #32

* fix: add context and set default workdir : #32

* fix: add ARG for dockerfile : #32

* fix: add ARG for dockerfile : #32

* fix: arg option to build-arg : #32

* fix: remove default JAR_PATH : #32

* fix: set default JAR_PATH : #32

* fix: test echoing path : #32

* fix: remove docker build push marketplace : #32

* fix: add custom script for build multi-arch and push : #32

* fix: add sh args for getting token & etc : #32

* fix: remove QEMU and buildx plugin : #32

* fix: sh to bash : #32

* fix: image list extract with ghkdqhrbals prefix : #32

* fix: builx -f option path redefine #32

* fix: secret key #32

* fix: jar_path call with {} #32

* dev: change push to workflow_run develop branch
@ghkdqhrbals ghkdqhrbals deleted the feature/gke-deploy branch March 17, 2024 08:49
@LeeJeongGi
Copy link
Member

문득 소스보면서 궁금해진점,,

bug | 예기치 않은 문제 또는 의도하지 않은 동작(버그)을 나타냅니다.
documentation | 문서를 개선하거나 추가 할 필요가 있음을 나타냅니다.
duplicate | 해당이슈 또는 PR이 기존에 있음을 나타냅니다.
enhancement | 새로운 기능 요청을 나타냅니다.
good first issue | 처음 기여해볼 사람에게 좋은 문제를 나타냅니다.
help wanted | 관리자가 문제 또는 PR 요청에 대한 도움을 원함을 나타냅니다.
invalid | 이슈 또는 PR 요청이 더 이상 관련이 없음을 나타냅니다.
question | 이슈 또는 풀 요청에 추가 정보가 필요함을 나타냅니다.
wontfix | 문제 나 PR 요청에서 작업이 계속되지 않음을 나타냅니다.

pr 올려주실 때 라벨을 붙여서 요청주시는데 라벨을 중복해서 사용해도 되는걸까요?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat - enhancement New feature or request feat
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants