google / upvote_py2

A multi-platform binary whitelisting solution
Apache License 2.0
452 stars 35 forks source link

Unable to deploy single service with latest release #37

Closed thehesiod closed 5 years ago

thehesiod commented 5 years ago

I'm getting the following:

amohr@amohr-macbook ~/dev/upvote (master) $ gcloud config set project santaupvote
Updated property [core/project].
amohr@amohr-macbook ~/dev/upvote (master) $  bazel run --incompatible_package_name_is_a_function=false upvote/gae:monolith_binary.deploy -- -q app.yaml
INFO: Invocation ID: 6e604bd2-c82b-4660-a20e-c6fd0afc7209
INFO: Analysed target //upvote/gae:monolith_binary.deploy (1 packages loaded, 23021 targets configured).
INFO: Found 1 target...
Target //upvote/gae:monolith_binary.deploy up-to-date:
  bazel-bin/upvote/gae/monolith_binary_deploy.sh
  bazel-bin/upvote/gae/monolith_binary.deploy
INFO: Elapsed time: 2.709s, Critical Path: 0.11s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
WARNING: In file [/private/var/folders/9z/50thrw1j52g7v2d7yrl87l940000gn/T/war.fWFCAUlo/__main__/app.yaml]: ('module', 'Field module is deprecated; use service instead.')
WARNING: In file [/private/var/folders/9z/50thrw1j52g7v2d7yrl87l940000gn/T/war.fWFCAUlo/__main__/app.yaml]: ('module', 'Field module is deprecated; use service instead.')
ERROR: (gcloud.app.deploy) [/private/var/folders/9z/50thrw1j52g7v2d7yrl87l940000gn/T/war.fWFCAUlo/__main__/app.yaml] and [/private/var/folders/9z/50thrw1j52g7v2d7yrl87l940000gn/T/war.fWFCAUlo/__main__/app.yaml] are both defining the service id [default]. All <service>.yaml files must have unique service ids.
amohr@amohr-macbook ~/dev/upvote (master) $ bazel version
INFO: Invocation ID: 50765701-a2c8-4260-a150-6541638ba794
Build label: 0.21.0
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Wed Dec 19 12:57:09 2018 (1545224229)
Build timestamp: 1545224229
Build timestamp as int: 1545224229

ideas?

thehesiod commented 5 years ago

works fine when deploying everything

chief8192 commented 5 years ago

I'm going to close this out since there's a reasonable workaround. Plus, the long-term goal is to merge the application into a single service.