[riot-commits] [RIOT-OS/RIOT] 5c676d: murdock: split get_jobs()

Kaspar Schleiser noreply at github.com
Wed Jul 3 14:23:35 CEST 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 5c676dea23fc221dfacc4b7cd649f524411999cc
      https://github.com/RIOT-OS/RIOT/commit/5c676dea23fc221dfacc4b7cd649f524411999cc
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-01 (Mon, 01 Jul 2019)

  Changed paths:
    M .murdock

  Log Message:
  -----------
  murdock: split get_jobs()


  Commit: 6e08151efe85d7513a8d05ac7451fc4addb7281b
      https://github.com/RIOT-OS/RIOT/commit/6e08151efe85d7513a8d05ac7451fc4addb7281b
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-02 (Tue, 02 Jul 2019)

  Changed paths:
    M .murdock

  Log Message:
  -----------
  murdock: make _greplist() not return error code on empty list


  Commit: a0caf62ebfc3514894aef01a229a3f165216ea7d
      https://github.com/RIOT-OS/RIOT/commit/a0caf62ebfc3514894aef01a229a3f165216ea7d
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-02 (Tue, 02 Jul 2019)

  Changed paths:
    M .murdock

  Log Message:
  -----------
  murdock: add prefix support to get_app_board_toolchain_pairs()

Previously, get_app_board_toolchain_pairs() took the appdir as only
parameter and produced "$appdir $board:$toolchain" tuples.
This commit makes get_app_board_toolchain_pairs() prefix each tuple with
any additional args, e.g.,

    get_app_board_toolchain_pairs() tests/hello_world ./murdock compile

->

    ./murdock compile tests/hello_world samr21-xpro:gnu

This allows getting rid of the xargs call in get_compile_jobs().


  Commit: c704d4a274bf4358a5b5b908fae04048339942c4
      https://github.com/RIOT-OS/RIOT/commit/c704d4a274bf4358a5b5b908fae04048339942c4
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-02 (Tue, 02 Jul 2019)

  Changed paths:
    M .murdock

  Log Message:
  -----------
  murdock: make get_compile_jobs() return subjobs

This change allows callers to receive the job list of individual apps in
chunks (instead of all at once after all appdirs have been processed),
if run as dwq job itself.

E.g.,

    $ dwqc ./.murdock get_compile_jobs

would previously run "get_compile_jobs()" as one job, collecting all the
output from "get_app_board_toolchain_pairs()" subjobs, then return the
combined output as job result.

By using subjobs, the job returns right away, but has previously sent
the "get_app_board_toolchain_pairs" jobs as subjobs ti the initial
instance, which will also wait for all of them to complete, but
already print subjob output as it is received.


  Commit: 1d7b825122fb8ac66aac243b71283421fcfcc714
      https://github.com/RIOT-OS/RIOT/commit/1d7b825122fb8ac66aac243b71283421fcfcc714
  Author: Kaspar Schleiser <kaspar at schleiser.de>
  Date:   2019-07-03 (Wed, 03 Jul 2019)

  Changed paths:
    M .murdock

  Log Message:
  -----------
  Merge pull request #11774 from kaspar030/murdock_fast_start

murdock: chunked get_jobs()


Compare: https://github.com/RIOT-OS/RIOT/compare/a01e70a4ab00...1d7b825122fb


More information about the commits mailing list