Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downstream testing of specific projects other than PDL #40

Open
zmughal opened this issue Feb 22, 2022 · 2 comments
Open

Downstream testing of specific projects other than PDL #40

zmughal opened this issue Feb 22, 2022 · 2 comments

Comments

@zmughal
Copy link
Member

zmughal commented Feb 22, 2022

e.g., PDL-LinearAlgebra.

@zmughal
Copy link
Member Author

zmughal commented Feb 22, 2022

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
Copy link
Member

mohawk2 commented Feb 22, 2022

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:

  • pdl: from=perl, downstreams=(a ref to top of tree)
  • pdl-linearalgebra: from=pdl, downstreams=(a ref to P:LA's bit)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants