๋ฐ˜์‘ํ˜•

github action + Elastic Beanstalk + SpringBoot ๋ฐฐํฌ 1

[AWS] github action + Elastic Beanstalk + Kotlin SpringBoot ๋ฐฐํฌ cp: cannot stat './build/libs/*.jar': No such file or directory ์˜ค๋ฅ˜

Intro ์•ˆ๋…•ํ•˜์„ธ์š”. ์ €๋Š” Kotlin SprinBoot 3.0 ์œผ๋กœ github action์„ ํ†ตํ•ด AWS์˜ Elastic Beanstalk๋ฅผ ์‚ฌ์šฉํ•ด API Server ๊ฐœ๋ฐœํ™˜๊ฒฝ ๊ตฌ์„ฑํ•ด์•ผ ํ–ˆ์Šต๋‹ˆ๋‹ค. Elastic Beanstalk ์„ธํŒ…๊ณผ, githb action ๊ด€๋ จ ์„ค์ •์„ ๋ชจ๋‘ ๋งˆ์น˜๊ณ , github push ๋ฅผ ํ†ตํ•ด ๋ฐฐํฌ๊ฐ€ ์ •์ƒ ์ž‘๋™ํ•˜๋Š”์ง€ ํ…Œ์ŠคํŠธ ํ•˜๋˜ ๋„์ค‘ ์•„๋ž˜์™€ ๊ฐ™์€ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ์Šต๋‹ˆ๋‹ค. cp: cannot stat './build/libs/*.jar': No such file or directory Why? ๋ฐ”๋กœ ํ•ด๋‹น ์—๋Ÿฌ๋ฅผ ๊ตฌ๊ธ€๋ง ํ•ด๋ดค์Šต๋‹ˆ๋‹ค. ๊ตฌ๊ธ€๋ง์„ ํ•ด๋ณด๋‹ˆ, ์Šคํ”„๋ง ๋ถ€ํŠธ 2.5.0 ์ด์ƒ ๋ฒ„์ „์€ ๋”ฐ๋กœ ์„ค์ • ์—†์ด Gradle ๋นŒ๋“œํ•  ๊ฒฝ์šฐ, BootJar์™€ Jar ๊ฐ€ ๋ชจ๋‘ ์ƒ์„ฑ๋˜์–ด build/li..

Devops/AWS 2023.01.28
๋ฐ˜์‘ํ˜•