Cov kev coj ua CI yog dab tsi?
Cov kev coj ua CI yog dab tsi?

Video: Cov kev coj ua CI yog dab tsi?

Video: Cov kev coj ua CI yog dab tsi?
Video: Txoj kev ua laib thaum kawg tsis tshuav dab tsi 3/23/2023 2024, Tej zaum
Anonim

Kev koom ua ke tsis tu ncua ( CI ) yog kev txhim kho xyaum qhov twg developers integrate code rau hauv ib tug sib koom repository nquag, nyiam dua ob peb zaug ib hnub twg. Txhua qhov kev sib koom ua ke tuaj yeem raug txheeb xyuas los ntawm kev tsim kho thiab kev sim ua haujlwm. Ntawm lawv yog kev hloov kho, tsim automation thiab automated testing.

Xav txog qhov no, Theem puas tsim kev xyaum CI?

Kev koom ua ke tsis tu ncua ( CI ) kev coj ua nquag commits, khiav lub tsim sai dua thiab theem tsim . Tab sis nws tsis xyaum Xa mus rau kev tsim khoom. CI suav nrog automated deployment. Qhov no muab tswv yim tam sim ntawd rau lub tsim thiab qhov no txhawb kev khiav kom ua tau sai dua.

Tsis tas li ntawd, cov kev coj ua zoo tshaj plaws ntawm kev sib koom ua ke CI yog dab tsi?

  • Qhov Zoo Tshaj Plaws 1: Txhim Kho Cov Cai Repository.
  • Qhov Zoo Tshaj Plaws 2: Automate qhov tsim thiab xa tawm.
  • Qhov Zoo Tshaj Plaws 3: Ua Tus Tsim Kev Ntsuas Tus Kheej.
  • Qhov Zoo Tshaj Plaws 4: Kev Tsim Kho sai nrog cov kev hloov pauv tsis ntev los no.
  • Qhov Zoo Tshaj Plaws 5: Ntsuas hauv Clone ntawm Kev Tsim Kho Ib puag ncig.
  • Qhov Zoo Tshaj Plaws 6: Ua kom yooj yim kom tau txais cov khoom xa tuaj tshiab.

Tsis tas li ntawd, vim li cas CI tseem ceeb?

Ib tug ntawm tseem ceeb cov ntsiab lus ntawm kev siv CI yog hais txog muaj kev tsis sib haum xeeb tsawg thaum sib koom ua ke code. Thaum tus lej feem ntau sib koom ua ke (los ntawm ib ceg tshwj xeeb, piv txwv li, mus rau ceg pob tw), nws muaj feem tsawg dua ntawm qhov uas twb muaj lawm. Thiab txawm tias nws tawg yam uas twb tau ua haujlwm lawm, nws yooj yim dua los daws.

CI thiab CD txhais li cas?

Hauv software engineering, CI / CD los yog CICD feem ntau yog hais txog cov kev coj ua ua ke ntawm kev sib koom ua ke tsis tu ncua thiab kev xa mus tas li lossis kev xa mus tas li. Hauv cov ntsiab lus ntawm kev sib txuas lus hauv tuam txhab, CI / CD kuj tuaj yeem xa mus rau tag nrho cov txheej txheem ntawm kev lag luam tus kheej thiab kev tsim qauv tsim.

Pom zoo: