Skip to content

DeleteArtifacts

Falko edited this page Jun 16, 2023 · 2 revisions

Deleting existing artifacts

We have a storage quota of about 2 GB. Each build—per platform—takes up a bit over 1 GB. Additionally, test results take up 2 MB, while coverage results take up about 100 MB.

Thus, we can't store more than 2 builds at a time (currently, as SEE's repository is not yet public). As such, if you're manually creating a build for a specific non-master branch (see Creating Builds for details) and getting a "quota exceeded" error, you may need to first clean up old artifacts.

For this purpose, the Remove old artifacts action has been created.

Scheduled

Old artifacts are removed every Monday at 4 AM automatically, where artifacts older than 1 day are counted as "old" and where the last 4 artifacts (files) are kept.

Manually

  1. Go to the Remove old artifacts action page.
  2. Click on "Run workflow".
  3. Keep the branch selection set to "master" and choose:
    • After what age artifacts shall be removed. This uses Moment.js syntax. (Default: Every artifact older than 1 day.)
    • How many of the last artifacts shall be kept. (Default: Last 4 artifacts are kept.)
  4. Click "Run workflow" to start the removal process.
  5. Wait for a bit, it can take up to a minute for the new workflow to appear here. Once it has appeared, it should look like the following, which indicates the old artifacts are still being deleted:
    image
  6. After a short while (up to 3 minutes, depending on how many artifacts have to be deleted), the yellow circle should turn into a green checkmark. The old artifacts should now have been deleted.
    • If you want to see which artifacts have been deleted, click on the finished workflow, then click on the "Remove old artifacts" job, then expand the "Remove artifacts older than..." step.
Clone this wiki locally