Skip to content

Commit ae43952

Browse files
authored
DOC: add channel retention policy (#38)
1 parent 920f513 commit ae43952

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This is a GitHub Action that uploads nightly builds to the [scientific-python ni
44
as recommended in [SPEC4 — Using and Creating Nightly Wheels][].
55

66
In a GitHub Actions workflow (`.github/workflows/*.yaml`), use the
7-
following snippet to upload built wheels to the repository:
7+
following snippet to upload built wheels to the channel:
88

99
```yml
1010
jobs:
@@ -36,19 +36,30 @@ updates:
3636
interval: "weekly"
3737
```
3838

39-
## Access to the ``scientific-python-nightly-wheels`` space
39+
## Access to the ``scientific-python-nightly-wheels`` channel
4040

4141
To request access to the wheel channel, please open an issue on [the upload action's
4242
repository](https://github.com/scientific-python/upload-nightly-action). You can
4343
then generate a token at `https://anaconda.org/scientific-python-nightly-wheels/settings/access`
4444
with permissions to _Allow write access to the API site_ and _Allow uploads to Standard Python repositories_,
4545
and add the token as a secret to your GitHub repository.
4646

47+
## Artifact cleanup-policy at the ``scientific-python-nightly-wheels`` channel
48+
49+
To avoid hosting outdated development versions, as well as to clean up space, we do have a
50+
default retention policy of:
51+
52+
- Latest **5 versions**
53+
- Artifacts newer than **30 days**
54+
55+
Any versions beyond these are automatically removed as part of a daily cron job run from this repository.
56+
Projects may have reasons to request to be added to the list exempt from this automated cleanup, however
57+
in that case the responsibility of cleaning-up old, unused versions fall back on the individual project.
4758

4859
# Using nightly builds in CI
4960

5061
To test against nightly builds, you can use the following command to install from
51-
the nightly repository:
62+
the nightly channel:
5263

5364
```sh
5465
python -m pip install \

0 commit comments

Comments
 (0)