楽-travisはどのようにAWSにアクセスします


Travis CIにプロジェクトを連絡したところ、またエラーが発生しました.
.travis.ymlファイルを保存して押したが、同じエラーが発生した.
```HelloSpringApplicationTests > contextLoads() FAILED
    java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
        Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:1799
            Caused by: org.hibernate.service.spi.ServiceException at AbstractServiceRegistryImpl.java:275
                Caused by: org.hibernate.HibernateException at DialectFactoryImpl.java:100
MemberServiceIntegrationTest > join() FAILED
    java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
        Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:1799
            Caused by: org.hibernate.service.spi.ServiceException at AbstractServiceRegistryImpl.java:275
                Caused by: org.hibernate.HibernateException at DialectFactoryImpl.java:100
MemberServiceIntegrationTest > 회원_중복_예외() FAILED
    java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:132
        Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:1799
            Caused by: org.hibernate.service.spi.ServiceException at AbstractServiceRegistryImpl.java:275
                Caused by: org.hibernate.HibernateException at DialectFactoryImpl.java:100
10 tests completed, 3 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/travis/build/kot8585/hello-spring/build/reports/tests/test/index.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3m 17s
6 actionable tasks: 6 executed
The command "./gradlew clean build" exited with 1.
cache.2
store build cache
Done. Your build exited with 1.
私が考えている理由かもしれません.
  • TravisはRDSにアクセスできないのでしょうか…?
  • どうしよう…
    元々H 2と繋がっていたんですが….
    RDSに近づけるべきですか?
    パスワードがないからですか?ローカルでテストに合格しました...
    本の次の章には解決方法があります...長い間うろうろしていた
    の原因となる
    外部サービスは通常AWSサービスにアクセスできません.
    解決策
    アクセス可能な鍵を生成して使用する必要があります.AWSがこれらの認証に関連する機能を提供するサービスはIAMである.