Use tox for testing inside a container #1884
No reviewers
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-04#1884
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ci-tox"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
I'm rewriting the
packages/Dockerfile.travis
and the corresponding script to test using tox.I'm still missing something important: surprisingly this reproduces my old issue with shutdown tests in Fedora container.
I decided to unify the docker files (at least within one distro version) and use multi stage build. Maybe you can look at
Dockerfile.bionic
and create a new stage called "tox" (or "test").I'm not familiar with the multistage builds. Maybe it's a good Idea. Also I still haven't configured a local buildbot instance to propose some changes in the
master.cfg
. So I decided to start with this test script. What I wanted to show here is that you can have 3 VMs (or containers): xenial?, bionic, focal and use them for all the checks replacing the CMD bytox
,tox -e py27-doc
or a script for building a package; then remove all the code related to travis or custom package installation from themaster.cfg
.Also I don't like the current state of the
Dockerfile.bionic
, it contains many unneeded packages and produces 2.5 GB image.