前提・実現したいこと
GCPのGAEのフレキシブル環境、スタンダード環境でAppEngineへデプロイしたいです。
EclipseからAppEngineにデプロイするために、一度source repositriesへプッシュしてから
デプロイしようとしています。
その際、CloudBUildでビルドをする際に以下のようなエラーが出てしまいました。
発生している問題・エラーメッセージ
FETCHSOURCE
Initialized empty Git repository in /workspace/.git/
From https://source.developers.google.com/p/XXXX/r/coffee
- branch AAAAA -> FETCH_HEAD
HEAD is now at b0be42f slsl
BUILD
Already have image (with digest): gcr.io/cloud-builders/gcloud
Services to deploy:
descriptor: [/workspace/app.yaml]
source: [/workspace]
target project: [XXXX]
target service: [default]
target version: [20190101]
target url: [https://XXXX.appspot.com]
Do you want to continue (Y/n)?
WARNING: Unable to verify that the Appengine Flexible API is enabled for project [XXXX]. You may not have permission to list enabled services on this project. If it is not enabled, this may cause problems in running your deployment. Please ask the project owner to ensure that the Appengine Flexible API has been enabled and that this account has permission to list enabled APIs.
Beginning deployment of service [default]...
Building and pushing image for service [default]
ERROR: gcloud crashed (InvalidBuildError): Field [timeout] was provided, but should not have been. You may be using an improper Cloud Build pipeline.
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
ERROR
ERROR: build step 0 "gcr.io/cloud-builders/gcloud" failed: exit status 1
該当のソースコード
app.yaml
runtime: custom
env: flex
cloudbuild.yaml
steps:
- name: "gcr.io/cloud-builders/gcloud"
args: ["app", "deploy"]
timeout: "1600s"
試したこと
Field [timeout] was provided, but should not have been.
とあるので、app.yamlのtimeoutを削除しましたが、ビルドが止まらなくなるだけした・・
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。