Код: Выделить всё
[ ERROR : Revision 'ccszuoraservice-00132-ltg' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information. Logs URL: Open Cloud Logging For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start
Routing traffic
Pending
Building and deploying from repository (see logs)
Trigger execution failed: source code could not be built or deployed, find more information in build logs
Revision 'ccszuoraservice-00132-ltg' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable. Logs for this revision might contain more information. Logs URL: Open Cloud Logging For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start ]
ниже находится мой POM.xml
Код: Выделить всё
4.0.0
org.springframework.boot
spring-boot-starter-parent
2.7.3
brightspeed.ccs.zuora
CcsZuoraService
1.0.1
CcsZuora Service for all requests
11
11
11
true
2.17.0
${maven.build.timestamp}
yyyyMMdd_HHmm
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-aop
org.springframework.boot
spring-boot-starter-tomcat
org.springframework.boot
spring-boot-starter-test
test
org.springframework.retry
spring-retry
com.google.code.gson
gson
2.10.1
org.apache.httpcomponents.client5
httpclient5
5.2.1
com.google.cloud
google-cloud-storage
2.27.1
com.google.auth
google-auth-library-oauth2-http
com.google.cloud
google-cloud-logging-logback
0.130.24-alpha
org.springdoc
springdoc-openapi-ui
1.6.15
org.springframework.boot
spring-boot-starter-integration
com.google.cloud
spring-cloud-gcp-starter-pubsub
5.0.0
libraries-bom
com.google.cloud
import
pom
26.29.0
CcsZuoraService
org.springframework.boot
spring-boot-maven-plugin
com.google.cloud.tools
jib-maven-plugin
2.8.0
gcr.io/$PROJECT_ID/${project.name}_${maven.build.timestamp}:latest
Я пытаюсь создать эту сборку в своей среде разработки. например, при развертывании я хочу, чтобы он собирался так же, как он собирается в моем локальном компьютере. Я знаю, что он ищет ключ json учетной записи службы, возможно, это как-то связано с файлом конфигурации.
Подробнее здесь: https://stackoverflow.com/questions/790 ... -cloud-run