Skip to content

rules_nodejs red on Bazel CI #165

Closed
Closed

Description

@lfpino

Hi there,

I'm seeing some failures in Bazel CI regarding rules_nodejs on Windows: https://buildkite.com/bazel/bazel-with-downstream-projects-bazel/builds/178#9232903f-1ba0-4670-8bea-083172a0991e

The relevant part of the error message seems to be the following:

D:\temp\tmpo92aq8_a\bazel-bin/src/bazel build --show_progress_rate_limit=5 --curses=yes --color=yes --keep_going --jobs=32 --build_event_json_file=D:\temp\tmpo92aq8_a\build_bep.json --experimental_build_event_json_file_path_conversion=false --announce_rc //... -//:docs
(...)
ERROR: Skipping '//... -//:docs': The package part of '//... -//:docs' should not end in a slash
WARNING: Target pattern parsing failed.
ERROR: command succeeded, but there were errors parsing the target pattern

Can you please take a look?

Thanks!

Activity

  1. lfpino commented on Mar 28, 2018

    @lfpino
    Author

    Friendly ping @alexeagle

  2. alexeagle commented on Mar 29, 2018

    @alexeagle
    Collaborator

    Hi @lfpino can you help me understand why the "presubmit" buildkite job passes? I see a green status on this repo, pointing to https://buildkite.com/bazel/nodejs-rules-nodejs-postsubmit

    If I don't have enforcement in presubmit, I can't avoid breaking this again in the future.

  3. lfpino commented on Apr 3, 2018

    @lfpino
    Author

    Hi Alex, I don't really know but I think @buchgr will be able to answer.

  4. alexeagle commented on Apr 3, 2018

    @alexeagle
    Collaborator

    I tried to fix this
    a224f2d

    Now I get

    bazel build --show_progress_rate_limit=5 --curses=yes --color=yes --keep_going --jobs=32 --build_event_json_file=D:\temp\tmpuxviq13h\build_bep.json --experimental_build_event_json_file_path_conversion=false --announce_rc //... -//:docs
    --
      | ERROR: Invalid options syntax: -//:docs
    

    Can you help me understand how to configure the bazel CI with an exclusion pattern @buchgr ?

  5. jin commented on Apr 9, 2018

    @jin
  6. alexeagle commented on Apr 9, 2018

    @alexeagle
    Collaborator

    Of course, that should have been obvious - I guess I was distracted by the yaml syntax. Thanks, fixed in cd85cfa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions