-
Notifications
You must be signed in to change notification settings - Fork 990
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
[question] create a shippable deployment #11687
Comments
The answer might be different, also depending if you want to release to the final user as Conan packages or not. Conan 2.0 includes a new feature for the later, using new If you want to distribute it as Conan package, get it from one cache and copy it in the other, no, it is not possible at the moment. We have done some first steps towards it in Conan 2.0, but this is not easy, as the Conan cache structure is more complicated than the docker one. We have some progress towards extracting the artifacts layout and being able to do a copy and zip them, but recovering them is more complicated, because the DB, etc. If something, we could talk about it in Conan 2.X (after 2.0 is released) |
We build a lot of packages in our CI (parallel jobs). It would be nice if there would be some possibility, so that we can deploy artifact in our CI instead of pushing to remotes. Some proposal to export from local cache:
Some proposal to import into local cache:
This would also be benefitial if users want to hand over packages to people who do not have access to the same conan remotes. This is the case very often in big companies (different teams have different artifactories), or across companies (company A develops software for company B). |
Implemented in #14923, for next 2.0.14 release. |
Hello,
we store our conan recipes in our own JFrog artifactory, so that they can be consumed by our customers.
Now we need to ship these packages to some colleages, which do not have access to our artifactory.
Is there any deployable file format for this purpose?
I would expect something similar to
docker save
, which stores an container image as file. This file can then be shipped and imported on another PC viadocker load
.Would it make sense to introduce some mechanism for this in conan 2.0?
Background:
Currently we do not know, which packages or old RREVs of a package we can remove. A customer has maybe used it (with an explicit #RREV). If we remove the package now, we will break his (old) builds. Therefore we want to have a possibility to provide packages without "releasing" them into an artifactory. Even having a "development remote", this is not a solution for us. people may use the explicit package with #RREV.
This feature would also be helpful for CI system / pipelines:
The CI does not need to upload any conan package to artifactory anymore, but instead it can create tar.gz artifacts.
Only in a last step (if all previous steps succeeded), the CI may upload the conan package to artifactory (in case of a release).
During development the package is not consumed via artifactory but via CI artifact (which the developer can download and load locally). As a result there is no need to upload all packages to artifactory anymore and waste a lot of space.
Further Refs: #4316
The text was updated successfully, but these errors were encountered: