@Mikołaj Waśniewski We had the same use case, and we built the following solution:
It is really just a few line of code. Then, you just have to run this pipeline periodically and you're done.
(In our case, it is just one step in a complete pipeline which is executed at each commit, but the core is roughly the same as yours. And it has been working reliably for us for a few years.)
G'day, @Mikołaj Waśniewski
Artifacts expiry is not configurable for the default 14 days in the Bitbucket cloud. We do have a feature request on this at:
Ability to set expiration period for artifacts
Please Vote and Watch the feature request to make sure you won't miss any updates in the future if the feature is accepted.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Syahrul
Does this 14 days expiration period apply also to artifacts in Bitbucket Downloads? (which can be i.e. uploaded manually)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Artifacts do not expire if you upload them on the Downloads tabs.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The artifact limit is 1 GB, and the upload limit for the Download tab section is 2 GB.
You can only generate artifacts up to 1 GB in size to upload to the Downloads section. So technically you can upload only 1 GB artifacts to Downloads.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @yosser_mahfoudh
Unfortunately, that is the current hard limit. If you require bigger storage for artifacts, we recommend that you use your own storage solution, such as Amazon S3, or a hosted artifact repository like JFrog Artifactory.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
how to implement that in my pipeline. Because what I have now is storing my executable in the artifacts then copy its content to S3.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @yosser_mahfoudh
Please check our guide below on how to publish and link your artifacts to AWS or S3:
Publish and link your build artifacts
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.