From 40724b80a403fcb8fffb0e901d3298013af24501 Mon Sep 17 00:00:00 2001 From: ismay Date: Wed, 22 Mar 2023 10:57:56 +0100 Subject: [PATCH] ci(cypress): change db ownership --- .github/workflows/dhis2-verify-app.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/dhis2-verify-app.yml b/.github/workflows/dhis2-verify-app.yml index 3b7a24324..81c8cb764 100644 --- a/.github/workflows/dhis2-verify-app.yml +++ b/.github/workflows/dhis2-verify-app.yml @@ -112,6 +112,9 @@ jobs: CYPRESS_LOGIN_PASSWORD: ${{ secrets.CYPRESS_LOGIN_PASSWORD }} CYPRESS_LOGIN_SERVER: http://localhost:8080 - run: npx --yes @dhis2/cli-cluster down 2.40 + - run: sudo ls -laR /var/lib/docker/volumes/d2-cluster-240_datadb/ + - run: sudo chown -R $USER /var/lib/docker/volumes/d2-cluster-240_datadb/ && sudo chmod -R 777 /var/lib/docker/volumes/d2-cluster-240_datadb/ + - run: sudo ls -laR /var/lib/docker/volumes/d2-cluster-240_datadb/ - uses: actions/cache/save@v3 with: path: /var/lib/docker/volumes/d2-cluster-240_datadb/