From 767ff172ef0479cea701eb54af5bf6f3a06e13dd Mon Sep 17 00:00:00 2001 From: Lennart Kramer <lennart.kramer@stud.uni-goettingen.de> Date: Fri, 12 Jun 2020 15:46:18 +0200 Subject: [PATCH] prepare docker image --- .gitlab-ci.yml | 2 +- testimage.sh | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be532db..0777d82 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -32,7 +32,7 @@ build_webservice: - ./build.sh ${REGISTRY} test_maxima: - image: moodlehq/moodle-php-apache:7.3 + image: "$REGISTRY/moodle-ci-stack" stage: test_maxima services: - postgres:latest diff --git a/testimage.sh b/testimage.sh index d3dd38c..65b900a 100644 --- a/testimage.sh +++ b/testimage.sh @@ -1,16 +1,4 @@ #!/bin/bash -apt-get update -y && apt-get install -y git-core postgresql-client texinfo maxima maxima-share -curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash -. $HOME/.nvm/nvm.sh -nvm install 14 -nvm use 14 -curl -sS https://getcomposer.org/installer | php -mv composer.phar /usr/local/bin/composer -composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2 -export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" -chmod u+x ci/bin/moodle-plugin-ci -chmod u+x ci/bin/* -umask u+x git clone --branch "$QSTACK_VERSION" https://github.com/maths/moodle-qtype_stack moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfexplicitvaildate moodle-plugin-ci add-plugin maths/moodle-qbehaviour_dfcbmexplicitvaildate -- GitLab