diff --git a/.docker/Dockerfile.govcms8 b/.docker/Dockerfile.govcms8 index 6f1d691c..73c60b90 100644 --- a/.docker/Dockerfile.govcms8 +++ b/.docker/Dockerfile.govcms8 @@ -20,7 +20,8 @@ COPY .docker/sanitize.sh /app/sanitize.sh COPY .docker/images/govcms8/scripts /usr/bin/ COPY .docker/images/govcms8/govcms.site.yml /app/drush/sites/ -RUN apk add python \ +# findutils can be removed after amazeeio/lagoon PR1077 +RUN apk --no-cache add python findutils \ && mkdir -p /app/web/sites/default/files/private \ && fix-permissions /home/.drush \ && fix-permissions /app/drush/sites \ diff --git a/.docker/Dockerfile.test b/.docker/Dockerfile.test index 9aada630..902894b3 100644 --- a/.docker/Dockerfile.test +++ b/.docker/Dockerfile.test @@ -33,7 +33,9 @@ ARG SITE_AUDIT_VERSION RUN git clone --single-branch --branch=$SITE_AUDIT_VERSION https://github.com/govcms/audit-site.git /app/web/sites/all/drutiny \ && php -d memory_limit=-1 /usr/local/bin/composer --working-dir=/app/web/sites/all/drutiny/ install --ignore-platform-reqs \ && rm -Rf /app/web/sites/all/drutiny/.git \ - && chmod +x /usr/bin/drutiny + && chmod +x /usr/bin/drutiny \ + && apk --no-cache add findutils +# findutils can be removed after amazeeio/lagoon PR1077 # Ensure that drush and drush.launcher both work ENV WEBROOT=web diff --git a/tests/goss/goss.govcms8.yaml b/tests/goss/goss.govcms8.yaml index 450e8641..2060dc89 100644 --- a/tests/goss/goss.govcms8.yaml +++ b/tests/goss/goss.govcms8.yaml @@ -29,3 +29,11 @@ file: /usr/bin/govcms-deploy: exists: true mode: "0755" + +command: + find /app/ -type f -size +1M -printf '%k\t%p\n': + exit-status: 0 + stdout: + - /app/ + stderr: [] + timeout: 10000 diff --git a/tests/goss/goss.test.yaml b/tests/goss/goss.test.yaml index 5af945f5..5fc81e48 100644 --- a/tests/goss/goss.test.yaml +++ b/tests/goss/goss.test.yaml @@ -26,3 +26,10 @@ command: - CI Site Audit stderr: [] timeout: 10000 + + find /app/ -type f -size +1M -printf '%k\t%p\n': + exit-status: 0 + stdout: + - /app/ + stderr: [] + timeout: 10000