Hi all,
When building binary packages, we upload them to a private Artifactory server. To do so, we use lockfiles, fetch the build-order, and build/upload each package that requires building.
We have some packages where the test package has some requirements additional to the tested package. When using "conan test" we could pass "--build missing", but then we can't (easily) upload the packages that were built. So we'd like to use lockfiles with test packages as well, which seems to be supported by "conan test", according to its documentation (it has an input and output lockfile).
It seems that we can't just specify an output lockfile for the test package: we need an initial input lockfile. This raises the question: how do we create that lockfile? For regular packages we use "conan lock create", but using this for test packages the lockfile lacks the tested package (as its dependency on the tested package is implicit), which causes errors because the tested package isn't part of the lockfile.
Is there some way to create this lockfile for the test package?
Thanks in advance!
Best regards,
SpoofedEx
Hi all,
When building binary packages, we upload them to a private Artifactory server. To do so, we use lockfiles, fetch the build-order, and build/upload each package that requires building.
We have some packages where the test package has some requirements additional to the tested package. When using "conan test" we could pass "--build missing", but then we can't (easily) upload the packages that were built. So we'd like to use lockfiles with test packages as well, which seems to be supported by "conan test", according to its documentation (it has an input and output lockfile).
It seems that we can't just specify an output lockfile for the test package: we need an initial input lockfile. This raises the question: how do we create that lockfile? For regular packages we use "conan lock create", but using this for test packages the lockfile lacks the tested package (as its dependency on the tested package is implicit), which causes errors because the tested package isn't part of the lockfile.
Is there some way to create this lockfile for the test package?
Thanks in advance!
Best regards,
SpoofedEx