Page MenuHomeSoftware Heritage

debian: update toolchain/manual to allow build of external dependency (use pytest-postgresql need as a test)
Closed, ResolvedPublic

Description

Lifting our jenkins debian build pipeline sounds like an awesome idea for this.

Project: https://pypi.org/project/pytest-postgresql/

Related T1498

@olasd worked a lot on this as well

Event Timeline

ardumont created this task.Jan 30 2019, 3:12 PM
ardumont triaged this task as Normal priority.
ardumont updated the task description. (Show Details)Jan 31 2019, 8:57 AM

That pulls python3-mirakuru dependency to package as well.

Repositories are at:

  1. https://forge.softwareheritage.org/source/python3-mirakuru/
  2. https://forge.softwareheritage.org/source/python3-pytest-postgresql

build for 1 is locally ok (gbp buildpackage --git-debian-branch=debian/unstable-swh --git-builder='sbuild -As --force-orig-source').
I'm heading towards the jenkins debian build pipeline to build and deploy it.

build for 2 is on hold as it depends on 1. to be deployed first.

  1. has been built, packaged through our debian jenkins build machinery
  2. i've locally something that built for unstable (using gpb like jenkins)

It's still on hold as i need to discuss further with olasd the change required for building external packages (with our jenkins tool chain) the right way.

It's still on hold as i need to discuss further with olasd the change required for building external packages (with our jenkins tool chain) the right way.

Discussion, toolchain [1], and manual updated accordingly [2]


I restarted the work on pytest-postgresql following the guidelines (initial work help though).

The joke is that pytest-postgresql built fine on unstable (after mirakuru packaging work).
Not for stretch backport though as another dependency was not there (port-for).
After packaging it, jenkins was finally able to build pytest-postgresql.

ardumont@pergamon:/srv/softwareheritage/repository% reprepro ls python3-port-for
python3-port-for | 0.4-2~bpo91 | stretch-swh | i386, amd64
ardumont@pergamon:/srv/softwareheritage/repository% reprepro ls python3-mirakuru
python3-mirakuru | 1.1.0-1~swh3~bpo9+1 | stretch-swh | i386, amd64
python3-mirakuru |        1.1.0-1~swh3 |         sid | i386, amd64
ardumont@pergamon:/srv/softwareheritage/repository% reprepro ls python3-pytest-postgresql
python3-pytest-postgresql | 1.3.4-1+swh1~bpo9 | stretch-swh | i386, amd64
python3-pytest-postgresql |      1.3.4-1+swh1 |         sid | i386, amd64

[1] https://jenkins.softwareheritage.org/

[2] https://wiki.softwareheritage.org/wiki/Debian_packaging#Setting_up_the_repository_on_Phabricator

ardumont closed this task as Resolved.Feb 9 2019, 9:53 AM
ardumont claimed this task.
ardumont renamed this task from debian package pytest fixture pytest-postgresql to debian: update toolchain/manual to allow build of external dependency (use pytest-postgresql need as a test).Feb 9 2019, 9:56 AM
ardumont updated the task description. (Show Details)
ardumont added a subscriber: olasd.