๋ฐ˜์‘ํ˜•

๐Ÿ“‚ DevOps 2

[DevOps] CI/CD๋ž€?

๐Ÿ’ก ๋นŒ๋“œ๋ž€? ๊ฐœ๋ฐœํ•œ ์†Œ์Šค ์ฝ”๋“œ๋ฅผ ์‹คํ–‰ ๊ฐ€๋Šฅํ•œ ํŒŒ์ผ๋กœ ๋งŒ๋“œ๋Š” ๊ฒƒ ๐Ÿ’ก ๋ฐฐํฌ๋ž€? ๋นŒ๋“œ์˜ ๊ฒฐ๊ณผ๋ฌผ์„ ์„œ๋ฒ„์— ์‹คํ–‰ํ•˜์—ฌ ์‚ฌ์šฉ์ž๊ฐ€ ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋„๋กํ•˜๋Š” ๊ฒƒ ๐Ÿ’ก ํŒŒ์ดํ”„๋ผ์ธ์ด๋ž€? ์„œ๋กœ ์—ฐ๊ด€๋œ ์ž‘์—…๋“ค์˜ ์ง‘ํ•ฉ์œผ๋กœ, ์ „ ๋‹จ๊ณ„์˜ ์ถœ๋ ฅ์ด ๋‹ค์Œ ๋‹จ๊ณ„์˜ ์ž…๋ ฅ์ด ๋˜๋Š” ๊ฒฝ์šฐ ํŒŒ์ดํ”„๋ผ์ธ์ด๋ผ๊ณ  ํ•  ์ˆ˜ ์žˆ๋‹ค. CI/CD ํŒŒ์ดํ”„๋ผ์ธ์˜ ๊ฒฝ์šฐ CI ๋‹จ๊ณ„์˜ ์ถœ๋ ฅ์ด CD์˜ ์ž…๋ ฅ์ด ๋œ๋‹ค๊ณ  ๋ณผ ์ˆ˜ ์žˆ๋‹ค. ๐Ÿ’ก VCS(Version Control System)์ด๋ž€? ๋ฌธ์„œ๋‚˜ ์„ค๊ณ„๋„, ์†Œ์Šค ์ฝ”๋“œ ๋“ฑ์˜ ๋ณ€๊ฒฝ์ ์„ ๋ฒ„์ „์œผ๋กœ ๊ด€๋ฆฌํ•ด์ฃผ๋Š” ์†Œํ”„ํŠธ์›จ์–ด ex) git, svn CI(Continuous Integration, ์ง€์†์  ํ†ตํ•ฉ) ์ž๋™ํ™” ๋œ ํ…Œ์ŠคํŠธ์™€ ๋นŒ๋“œ๋ฅผ ํ†ตํ•ด ํ•ญ์ƒ ๋ฐฐํฌ ๊ฐ€๋Šฅํ•œ ์ƒํƒœ๋กœ ๋งŒ๋“œ๋Š” ๊ณผ์ • CI๊ฐ€ ํ•„์š”ํ•œ ์ด์œ  ์—ฌ๋Ÿฌ ๋ช…์˜ ๊ฐœ๋ฐœ์ž๊ฐ€ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ฐœ๋ฐœํ•˜๋‹ค ๋ณด๋ฉด ๊ฐœ..

๐Ÿ“‚ DevOps 2022.04.04

[Git] Git branch

๊นƒ ๋ธŒ๋žœ์น˜ ํ™•์ธ (git branch) git branch # '*'์€ ํ˜„์žฌ ์„ ํƒ๋œ ๋ธŒ๋žœ์น˜ ๊นƒ ๋ธŒ๋žœ์น˜ ๋งŒ๋“ค๊ธฐ ๋ฐ ์‚ญ์ œํ•˜๊ธฐ (git branch {branchname}) git branch [OPTIONS] {branchname} # -d, --delete : ์‚ญ์ œ # ex) DEV ๋ธŒ๋žœ์น˜ ๋งŒ๋“ค๊ธฐ git branch DEV # ex) DEV ๋ธŒ๋žœ์น˜ ์‚ญ์ œ git branch -d DEV ๊นƒ ๋ธŒ๋žœ์น˜ ๋ณ€๊ฒฝ (git checkout {branchname}) git checkout [OPTIONS] {branchname} # ex) DEV ๋ธŒ๋žœ์น˜๋กœ ๋ณ€๊ฒฝ git checkout DEV

๐Ÿ“‚ DevOps 2021.09.02
๋ฐ˜์‘ํ˜•