PDLPorters / devops

2 stars 0 forks source link

Downstream testing of specific projects other than PDL #40

Open zmughal opened 2 years ago

zmughal commented 2 years ago

e.g., PDL-LinearAlgebra.

zmughal commented 2 years ago

Just thinking about this some more:

To do downstream testing of a dist, let's say PDL-LinearAlgebra, we need to build the current source of its upstream first (PDL).

One way to do this is to build PDL from git then build PDL-LinearAlgebra from git inside of a single image. But once we have Docker images for PDL, it will be faster to use the Docker image for PDL that is tagged at the HEAD of master.

Though to keep going further downstream, we aren't necessary creating tagged containers for every step along the way (e.g., a container for PDL → PDL-LinearAlgebra → PDL-Opt-NonLinear), so we may still need to build from source for the intermediates.

Or we can forget the whole thing and build from CPAN for everything except the current repository under test. Which would be a lot fewer independent variables.

mohawk2 commented 2 years ago

My thinking is that each thing that want to test its downstreams (including PDL itself) would have a given "from" image, build itself, then be used to test its downstreams. So:

If there's no explicit tree, the ref would be a condition such as "depends-on" then a value.