From 9282956f199bbf024f50e9f1eb6bc1be5dbbaac6 Mon Sep 17 00:00:00 2001 From: Gaurav Pandey Date: Thu, 1 Jul 2021 18:14:04 +0530 Subject: [PATCH] upgrade-check: Add create cache directory step. Create cache directories for the upgrade check in the production-suite. --- .github/workflows/production-suite.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml index 61e4eeab02..35f05d11d6 100644 --- a/.github/workflows/production-suite.yml +++ b/.github/workflows/production-suite.yml @@ -252,6 +252,12 @@ jobs: chmod +x /tmp/production-verify chmod +x /tmp/send-failure-message + - name: Create cache directories + run: | + dirs=(/srv/zulip-{npm,venv,emoji}-cache) + sudo mkdir -p "${dirs[@]}" + sudo chown -R github "${dirs[@]}" + - name: Upgrade production run: sudo /tmp/production-upgrade