혹시 코드를 수정하고 계속 commit 해서, 맨 처음에 clone 했을 때의 코드와 현재 코드가 다른데 추가로 어떤 명령어를 더 입력해야 하나요 ? 깃허브 주소입니다 ! https://github.com/jjeong1015/memberCertification/tree/main
ubuntu@ip-172-31-86-200:~/memberCertification$ ./gradlew clean build Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 15s 8 actionable tasks: 8 executed ubuntu@ip-172-31-86-200:~/memberCertification$ ./gradlew clean build > Task :test MemberCertificationApplicationTests > contextLoads() FAILED java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:180 Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:1773 Caused by: org.hibernate.service.spi.ServiceException at AbstractServiceRegistryImpl.java:276 Caused by: org.hibernate.HibernateException at DialectFactoryImpl.java:191 1 test completed, 1 failed > Task :test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: file:///home/ubuntu/memberCertification/build/reports/tests/test/index.html * Try: > Run with --scan to get full insights. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 15s 8 actionable tasks: 8 executed ubuntu@ip-172-31-86-200:~/memberCertification$ ./gradlew clean build > Task :test MemberCertificationApplicationTests > contextLoads() FAILED java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:180 Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:1773 Caused by: org.hibernate.service.spi.ServiceException at AbstractServiceRegistryImpl.java:276 Caused by: org.hibernate.HibernateException at DialectFactoryImpl.java:191 1 test completed, 1 failed > Task :test FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test'. > There were failing tests. See the report at: file:///home/ubuntu/memberCertification/build/reports/tests/test/index.html * Try: > Run with --scan to get full insights. Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.7/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD FAILED in 14s 8 actionable tasks: 8 executed 구글에 검색해본 결과, java: error: invalid flag: --warning-mode=all을 하면 된다는 글을 보고 Preferences > Compiler > java Compiler에 --warning-mode all --stacktrace 입력을 하고 실행을 해봤습니다. java: error: invalid flag: --warning-mode=all가 발생하며 실행이 되지 않습니다. 어떻게 해야 에러를 고칠 수 있을까요 ?
- name: S3에 프로젝트 폴더 업로드하기 run : aws s3 cp --region 과정을 통해서 압축된 tar.gz 파일은 s3에 저장한다고 이해했는데 따로 압축해제하는 과정이 없어서 질문드립니다. run: aws s3 cp --region ... 다음 S3에 프로젝트 폴더 업로드 하는 과정에서 s3에서 해당 파일을 받고 난 후에 알아서 압축해제를 하는건가요??
안녕하세요. 윈도우 powershell 이용해서 이미지 commit 예제를 하던 중 오류가 나서 질문드립니다. 이렇게 docker commit requires at least 1 and at most 2 arguments. 가 발생하는데 어떻게 해결할 수 있을까요? +) git bash로 실행하니까 오류 사라졌습니다!
Run echo | gh auth login --with-token ! First copy your one-time code: 0937-4E42 Open this URL to continue in your web browser: https://github.com/login/device 이런식으로 계속 코드를 입력해줘야 다음 step이 시작이 되던데 입력하지않고 할수있는 방법이 있을까요?
안녕하세요 데브위키님 강의 수강 중 궁금한 점이 있어 질문 드립니다. 제가 지식이 얕아 틀릴 확률이 매우 큰데 저의 생각이 맞았는지 틀렸다면 지적도 부탁드립니다! 클라우트 네이티브 애플리케이션에서의 MSA는 수평 확장이 용이하다고 PART5에서 이해했습니다. 만약 DB 서버를 늘려야 한다고 했을 때 현재 강의에서처럼 Postgre를 도커 볼륨을 사용하여 이중화 DB를 사용한다면 AWS에서 새로운 인스턴스를 만들어서 도커를 설치하고 컨테이너를 만들게 되면 기존 서버의 도커 볼륨에 있는 데이터를 알 수 없어 서버를 늘리기가 힘들다고 생각합니다. 당연히 방법이 있을 것 같은데 확장을 하게 된다면 어떤 방식으로 확장을 하게 되는 건지 질문드립니다!
안녕하세요, 5-4 PostgreSQL 컨테이너 구성 강의 중 질문이 있어서요. PostgreSQL 컨테이너 생성하기 위해 Dockerfile을 만드는 과정 중에 계정정보 설정을 하기위해 ENV POSTGRES_USER / PASSWORD 등등을 진행했는데, PostgreSQL 에서 계정 정보를 설정하기 위해서는 POSTGRES_USER , POSTGRESL_PASSWORD 등을 설정해야 한다는 기본적인 정보는 어디서 확인 가능할까요? 만약 다른 이미지(예를 들면 mysql)를 가져와서 사용한다면 저런 설정 가능한 것들은 알아야 할거 같은데 어딜 참고해야 할지 모르겠어서요. 그냥 기본 postgres:13 이미지를 다운 받아서 docker image inspect postgres:13 명령어 실행해도 POSTGRES_USER 등등은 안보이네요. @_@;
멀티스테이지에서 java 코드 빌드하는 컨테이너, jar파일 실행하는 컨테이너를 나눈다고 말씀해주셨어요! 이 과정에서 dockerfile을 통해 build하면, 각 컨테이너에 대한 이미지가 2벌 생성될것이라고 예상했는데 실행하는 부분만 이미지가 생성되는 이유를 알고싶습니다..!!
실습 저의 개인 맥북 PC에서 Nestjs 서버를 돌리고 있고 Nestjs에서 첨부한 사진과 같이 docker컨테이너로 mysql을 실행 시켜 늘 localhost 로 hosturl을 연결해서 사용 했습니다. 이 경우에는 왜 컨테이너 id를 url로 사용하지 않아도 사용이 된걸까요 ? 컨테이너로 nestjs를 돌리는게 아니라 외부 연결로 간주되어 그런걸까요 ..?