From 91111b66d30cb95c65a8e7f508281fca86987e91 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 12 Aug 2026 17:07:32 +0000 Subject: [PATCH] fix(ci): copy plugin into test image --- .docker/ci/Dockerfile | 2 ++ .dockerignore | 11 +++++++++++ compose.yaml | 2 -- 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.docker/ci/Dockerfile b/.docker/ci/Dockerfile index 22ac5b1..f2287c0 100644 --- a/.docker/ci/Dockerfile +++ b/.docker/ci/Dockerfile @@ -31,6 +31,8 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \ --classmap-authoritative \ && ln -s /opt/moodle-plugin-ci/bin/moodle-plugin-ci /usr/local/bin/moodle-plugin-ci +COPY . /plugin + ENV LANG=en_AU.UTF-8 WORKDIR /workspace diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..55965f2 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,11 @@ +.git +.github +.gitea +.docker +.dockerignore +.env +.env.* +compose.yaml +node_modules +vendor +*.log diff --git a/compose.yaml b/compose.yaml index 81a36c1..7d2f1bd 100644 --- a/compose.yaml +++ b/compose.yaml @@ -25,8 +25,6 @@ services: DB_USER: postgres MOODLE_BRANCH: v5.2.2 NPM_CONFIG_FETCH_RETRIES: 5 - volumes: - - .:/plugin:ro command: - /bin/bash - -lc