Bors-ng with new Travis-CI github integration


#1

The old travis service in github recently got deprecated, and is now a github app.

Wondering if this is the reason for failures I am now seeing:
status = ["continuous-integration/travis-ci/push"]

And a change is required here?

Bors is stuck on Pending - running at the moment


#2

I’ve been using "Travis CI - Branch"" which has been working since day one, if a tad slowly recently.


#3

Are you up-to-date with the latest version of bors-ng? Because I’ve recently merged some fixes that should help that work.

You can see in this PR, for example, that bors is implicitly translating the old status name to the new check name. I never had to change the bors.toml itself; just update.


#4

Ah amazing! Thank you both! I’ll update first and see if that fixes it! I did try “Travis CI - Branch” but thought it had timed out, maybe I was being impatient though


#5

I have updated to the latest Docker container @notriddle, seeing builds triggered but this is now happening when running r+ (batch is crashing and being cancelled, only after the build has passed successfully):

{{:badmatch, {:error, :push, 422}},
 [
   {BorsNG.Worker.Batcher, :complete_batch, 3,
    [file: 'lib/worker/batcher.ex', line: 389]},
   {BorsNG.Worker.Batcher, :maybe_complete_batch, 1,
    [file: 'lib/worker/batcher.ex', line: 376]},
   {BorsNG.Worker.Batcher, :poll_, 1,
    [file: 'lib/worker/batcher.ex', line: 202]},
   {BorsNG.Worker.Batcher, :handle_info, 2,
    [file: 'lib/worker/batcher.ex', line: 184]},
   {:gen_server, :try_dispatch, 4,
    [file: 'gen_server.erl', line: 637]},
   {:gen_server, :handle_msg, 6,
    [file: 'gen_server.erl', line: 711]},
   {:proc_lib, :init_p_do_apply, 3,
    [file: 'proc_lib.erl', line: 249]}
 ]}

Any assistance would be grand. My configuration file looks like this:

status = [ "continuous-integration/travis-ci/%" ]
timeout_sec = 600
delete_merged_branches = true
required_approvals = 1

#6

My bad, damn master branch protection. Quick question regarding that:
set it to require the “bors” Commit Status to push to master I’ve looked around and not able to find out how