From b6ec66e972c164203ba4e44626dd1921e860a3e2 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 3 Nov 2020 16:36:23 -0800 Subject: [PATCH] github: Enable retention periods for uploaded artifacts. This prevents Zulip CI from eventually consuming large amounts of storage on one's GitHub account. I picked a longer retention period for the Puppeteer artifacts because humans look at those; the production tarballs are unlikely to be used 10 minutes after the run completes as they are just for the next stage fo the build; certainly 14 days seems ample for any debugging. --- .github/workflows/production-suite.yml | 1 + .github/workflows/zulip-ci.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml index f97ded2aca..d27b22ffa1 100644 --- a/.github/workflows/production-suite.yml +++ b/.github/workflows/production-suite.yml @@ -97,6 +97,7 @@ jobs: with: name: production-tarball path: /tmp/production-build + retention-days: 14 production_install: strategy: diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.yml index e23d2291cd..0db1d598db 100644 --- a/.github/workflows/zulip-ci.yml +++ b/.github/workflows/zulip-ci.yml @@ -148,6 +148,7 @@ jobs: with: name: puppeteer path: ./var/puppeteer + retention-days: 60 - name: Check development database build if: ${{ matrix.is_focal }}