Closed rishiv3 closed 5 years ago
looks like git_repository
now needs to be explicitly imported in the new version of bazel
. As noted in the error message, it looks like you can work around this by providing the flag --incompatible_remove_native_git_repository=false
.
I believe a release is coming soon to fix this and a few other build issues.
I tried that flag but that didnt work.
Looks like the push just went off. Does the deployment work now?
after the latest package, still no luck
+ echo Deploying to App Engine...
Deploying to App Engine...
+ bazel run upvote/gae:monolith_binary.deploy -- rv3-upvote app.yaml santa_api.yaml
INFO: Invocation ID: 3b653dd6-5934-4d49-aae3-1af652a4cf63
Loading:
Loading: 0 packages loaded
DEBUG: C:/users/win/_bazel_win/bfjoahu7/external/bazel_tools/tools/cpp/lib_cc_configure.bzl:115:5:
Auto-Configuration Warning: 'PROGRAMFILES(X86)' environment variable is not set, using 'C:\Program Files (x86)' as default
Analyzing: target //upvote/gae:monolith_binary.deploy (0 packages loaded, 0 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (0 packages loaded, 128 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (0 packages loaded, 130 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (0 packages loaded, 130 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (0 packages loaded, 130 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (2 packages loaded, 174 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (2 packages loaded, 174 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (2 packages loaded, 174 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (2 packages loaded, 174 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (2 packages loaded, 174 targets configured)
Analyzing: target //upvote/gae:monolith_binary.deploy (3 packages loaded, 174 targets configured)
INFO: Repository rule 'certifi_git' returned: {"remote": "https://github.com/certifi/python-certifi.git", "commit": "4f35e3529c78ced74040cf5d80bf8ec4aac9a190", "shallow_since": "2017-04-17", "init_submodules": False, "verbose": False, "strip_prefix": "", "patches": [], "patch_tool": "patch", "patch_args": ["-p0"], "patch_cmds": [], "build_file": Label("//third_party:certifi.BUILD"), "build_file_content": "", "workspace_file_content": "", "name": "certifi_git"}
Analyzing: target //upvote/gae:monolith_binary.deploy (6 packages loaded, 190 targets configured)
ERROR: C:/users/win/desktop/upvote/upvote-master/upvote/gae/modules/upvote_app/frontend/BUILD:77:1: no such package '@npm_html2js//': no such package '@yarn//': The native new_http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule. and referenced by '//upvote/gae/modules/upvote_app/frontend:ui_templates_genrule'
ERROR: C:/users/win/desktop/upvote/upvote-master/upvote/gae/modules/upvote_app/frontend/BUILD:77:1: no such package '@npm_html2js//': no such package '@yarn//': The native new_http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule. and referenced by '//upvote/gae/modules/upvote_app/frontend:ui_templates_genrule'
ERROR: Analysis of target '//upvote/gae:monolith_binary.deploy' failed; build aborted: no such package '@npm_html2js//': no such package '@yarn//': The native new_http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
INFO: Elapsed time: 40.176s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (6 packages loaded, 190 targets configured)
ERROR: Build failed. Not running target
FAILED: Build did NOT complete successfully (6 packages loaded, 190 targets configured)
I'm having issues following the steps to deploy
Deploying to App Engine...
Any ideas?
Thanks!