Page MenuHomePhabricator

Avoid local venv when distributing Scap
Closed, ResolvedPublic

Description

As discussed in T326668, we want to move away from using a venv generated locally on the deploy server when updating Scap.

As it turns out, we already have several images available to build Python wheels for different Debian targets: https://gerrit.wikimedia.org/r/plugins/gitiles/operations/docker-images/production-images/+/refs/heads/master/images/python-build. Leveraging these, it shouldn't be too complicated to modify the current installation behavior to use wheels in order to avoid the above-mentioned problem.

Event Timeline

jnuche changed the task status from Open to In Progress.Feb 14 2023, 1:17 PM

Change 891837 had a related patch set uploaded (by Jaime Nuche; author: Jaime Nuche):

[operations/puppet@production] scap: add required Python3 venv package

https://gerrit.wikimedia.org/r/891837

Change 891837 merged by Jelto:

[operations/puppet@production] scap: add required Python3 venv package

https://gerrit.wikimedia.org/r/891837

Change 893473 had a related patch set uploaded (by Jaime Nuche; author: Jaime Nuche):

[operations/puppet@production] scap bootstrap: use new installation mechanism

https://gerrit.wikimedia.org/r/893473

Change 893473 merged by RLazarus:

[operations/puppet@production] scap bootstrap: use new installation mechanism

https://gerrit.wikimedia.org/r/893473

Change 900353 had a related patch set uploaded (by Jaime Nuche; author: Jaime Nuche):

[operations/puppet@production] deployment_server: ensure Docker is installed

https://gerrit.wikimedia.org/r/900353

Change 900353 merged by Dzahn:

[operations/puppet@production] deployment_server: ensure Docker is installed

https://gerrit.wikimedia.org/r/900353

Change 903605 had a related patch set uploaded (by Jaime Nuche; author: Jaime Nuche):

[operations/puppet@production] deployment_server: ensure Docker is installed

https://gerrit.wikimedia.org/r/903605

Change 903605 merged by Dzahn:

[operations/puppet@production] deployment_server: ensure Docker is installed

https://gerrit.wikimedia.org/r/903605