개발세발

CI/CD (지속적인 통합/지속적인 제공[배포] 본문

코딩공부/참고자료

CI/CD (지속적인 통합/지속적인 제공[배포]

뉼👩🏻‍💻 2022. 7. 14. 20:46
728x90
반응형
SMALL

 

CI/CD 

어플리케이션 개발부터 배포까지 자동화를 통해 효율적이고 빠르게 사용자에게 배포하는 것. 

 

 

 

CI 

Continuous Integration : 지속적인 통합

버그수정이나 새로운 기능들이 main repository에 주기적으로 빌드, 테스트, 머지 되는 것. 

 

1. 코드 변경사항을 주기적으로 빈번하게 머지해야 한다. 

 

2. 통합을 위한 단계 (빌드, 테스트, 머지)의 자동화 

 : 여기서의 테스트는 Unit test, integration test 등 

 

→ 개발 생산성을 향상시킬 수 있고(코드 퀄리티 향상) 문제점을 빠르게 발견(버그 수정 용이)할 수 있다. 

 

(*) 참고자료 

테스트 종류 : https://cjwoov.tistory.com/9

 

[Test] 유닛 테스트(Unit Test), 통합 테스트(Integration Test), 기능 테스트(Functional Test)란?

세 줄 요약 유닛 테스트: 함수 하나하나와 같이 코드의 작은 부분을 테스트하는 것 통합 테스트: 서로 다른 시스템들의 상호작용이 잘 이루어 지는지 테스트하는 것 기능 테스트: 사용자와 어

cjwoov.tistory.com

 

 


 

CD

Continuous Delivery[Deployment] : 지속적인 제공[배포]

 

Delivery

CI를 통해서 주기적으로 머지된 코드의 변경사항들이 자동으로 빌드되고 테스트 되었을때, 배포(Release)할 준비과정을 거치고, 아무런 문제사항이 없는지 확인하고 확인이 완료되면 수동적으로 배포되는 것 

 

Deployment

위 과정에서 배포(Release)가 준비되자마자 자동으로 사용자에게 배포될 수 있도록 하는것 (모든 과정의 자동화) 

 

→ 최종 단계의 자동/수동 여부에 따라 달라질 수 있음 

 

회사/팀마다 다른 방식으로 적용하여 사용힘

 

Tools

- Jenkins

https://www.jenkins.io/

 

Jenkins

The Postman API Platform is redefining how APIs are built, managed, and consumed. An important aspect of API management is continuous building, testing, and deployment with CI/CD tools. With the latest release of Postman, we bring the API builds closer to

www.jenkins.io

 

- Buildkite

https://buildkite.com/

 

Buildkite

Buildkite is a platform for running fast, secure, and scalable continuous integration pipelines on your own infrastructure.

buildkite.com

 

 

- GitLab CI/CD

https://docs.gitlab.com/ee/ci/

 

GitLab CI/CD | GitLab

Learn how to use GitLab CI/CD, the GitLab built-in Continuous Integration, Continuous Deployment, and Continuous Delivery toolset to build, test, and deploy your application.

docs.gitlab.com

 

- GitHub Actions

https://circleci.com/signup/?utm_source=google&utm_medium=sem&utm_campaign=sem-google-dg--japac-en-githubActions-tImpShare-auth-nb&utm_term=g_e-github%20actions_c__rsaSU1_20210903&utm_content=sem-google-dg--japac-en-githubActions-tImpShare-auth-nb_keyword-text_rsa-githubActions_mixed-&gclid=CjwKCAjw_b6WBhAQEiwAp4HyILGXr1g2ExsdyQoFyF1dwou3ohwphhsBinhzOP8cReJdy2VA-Xs5KBoCTnkQAvD_BwE 

 

Signup - CircleCI

Get the most for your minute on CircleCI. Start with up to 6,000 free build minutes per month. CircleCI is the fastest CI/CD platform available, with the most options for compute and execution environments.

circleci.com

 

- Bitbucket Pipelines

https://circleci.com/integrations/bitbucket/?utm_source=google&utm_medium=sem&utm_campaign=sem-google-dg--japac-en-dsa-maxConv-auth-nb&utm_term=g_-_c__dsa_&utm_content=&gclid=CjwKCAjw_b6WBhAQEiwAp4HyIBPZrIQHwqO83WmKdHoIyueeCxLPSsDdBxnesN0IY0Ol4RdVDNhboRoC4i0QAvD_BwE 

 

Continuous Integration with Bitbucket

CircleCI integrates seamlessly with Bitbucket. Start shipping better code, faster with CircleCI and Bitbucket.

circleci.com

 

- circleci

https://circleci.com/

 

Continuous Integration and Delivery

Get the best continuous integration and delivery for any platform, in our cloud or on your own infrastructure.

circleci.com

 

 

 

728x90
반응형

'코딩공부 > 참고자료' 카테고리의 다른 글

ui 지침  (0) 2022.07.19
자바스크립트, 클린코드 (영)  (0) 2022.07.18
windows10 wsl2 설치  (0) 2022.07.14
Docker(도커)  (0) 2022.07.13
개발 공부 영어 단어장 (update 22.11.18)  (0) 2022.07.12