Commit Graph

8 Commits

Author SHA1 Message Date
Christian Beer 687d77c5f6 Deployment: run bintray cleanup script once a month
The weekly cronjob on Travis CI will trigger a cleanup once a month which will delete artifacts from closed pull requests and weekly builds older than 6 months. The Windows artifacts on AppVeyor are automatically deleted after 6 months.
2019-05-26 09:27:14 +02:00
Christian Beer c877c02cc8 Travis Bintray: enable cleanup of bintray repositories
Switch from date attribute to number attribute in order to get versions older than a specified date. This is a limitation of the API.
The cleanup_bintray.sh script needs to be run by the BOINC bintray maintainer. See comments in file on how to use this.
2018-12-23 03:50:30 +01:00
Christian Beer 07111b3252 Travis Bintray: add attributes to versions for better cleanup
Attributes can be used to easily delete old versions. A script can check if a PR is closed and delete all versions for this PR on bintray. Or it could delete all versions older than a threshold.
Attribtes only need to be added once. Currently this is done in the Travis build because this is running for every PR.
2018-11-26 21:08:58 +01:00
Christian Beer 9d631aceea fix intendation 2018-10-14 14:26:31 +02:00
Christian Beer de3357b678 Travis Bintray: stop script when unsupported event happens 2018-10-14 14:22:03 +02:00
Christian Beer c7593716e0 Travis: adjust boinc URL shown on AppVeyor page 2018-10-08 17:53:31 +02:00
Christian Beer 8cc9fc412c Travis: harmonize deploy scripts
On AppVeyor the archiving is done in prepare stage because they have an artefact cache for pull requests already available. So I moved the 7z stuff to prepare_deployment.sh so it does the same as the bath file. Filenames do not match because uploading to bintray is done differently but theyhave the same structure when available on bintray..
2018-09-23 16:37:27 +02:00
Christian Beer 1e25e9292a Travis: copy successful builds to bintray
Copy a weekly build from master to https://bintray.com/boinc/boinc-ci so it is available for testers. Only specified build artefacts are copied (see deploy/prepare_deploy.sh). The copy operation is triggered via a Travis CI cronjob or a pull request from within the BOINC/boinc gitub repository.
Pull requests from forks are ignored because they can not have access to the bintray API key, this is a security restriction enforced by Travis CI.
2018-09-22 15:40:52 +02:00