Page MenuHomeSoftware Heritage

Make swh-journal node run on swh-kafka node
ClosedPublic

Authored by ardumont on Mar 20 2019, 12:39 PM.

Details

Summary

Let other unit tests run as usual on the default swh-tox image.

Related T1276
Related D1239
Depends on D1280

Test Plan
$ pip install jenkins-job-builder
$ tox

At the moment, that does not work
The plan is something like this:

$ tox > before
$ grep assignedNode before | grep swh-kafka
$ arc patch <this>
$ tox > now
$ grep assignedNode now | grep swh-kafka
<assignedNode>swh-kafka</assignedNode>

Diff Detail

Repository
rCJSWH Jenkins jobs
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.Mar 20 2019, 12:39 PM
olasd accepted this revision.Mar 20 2019, 1:58 PM
This revision is now accepted and ready to land.Mar 20 2019, 1:58 PM
ardumont updated this revision to Diff 4037.Mar 20 2019, 3:54 PM

Something simpler where tox actually run

I did:

pip install jenkins-job-builder
tox
ardumont planned changes to this revision.Mar 20 2019, 4:08 PM
ardumont edited the test plan for this revision. (Show Details)Mar 20 2019, 4:36 PM
ardumont updated this revision to Diff 4038.Mar 20 2019, 5:31 PM
ardumont edited the test plan for this revision. (Show Details)

Make the diff actually as the test plan mention \m/

This revision is now accepted and ready to land.Mar 20 2019, 5:31 PM
ardumont edited the summary of this revision. (Show Details)Mar 20 2019, 6:44 PM
ardumont updated this revision to Diff 4040.Mar 20 2019, 6:49 PM

Simpler implementation based on olasd's help

http://paste.debian.net/1073977/

olasd accepted this revision.Mar 20 2019, 6:50 PM
ardumont updated this revision to Diff 4041.Mar 20 2019, 6:53 PM

Use docker-image term as it's clearer

Also rework the git message

This revision was automatically updated to reflect the committed changes.