From 77987b839bc15b168f015faa7dab2f556005758c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20H=C3=A4rter?= Date: Wed, 28 Jun 2023 20:17:24 +0200 Subject: [PATCH] Testing OTOBO installation via pipeline. --- .drone.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 34ed62e..98db023 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,9 +1,12 @@ --- kind: pipeline -name: default +name: test_commands steps: - - name: test - image: perl + - name: run_otobo_tests + image: alpine commands: - - perl -e 'print "Hello World\n"' + - git clone https://github.com/RotherOSS/otobo-docker.git --branch rel-10_1 --single-branch + - cp .docker_compose_env_http .env + - sed -i "s/#OTOBO_IMAGE\(.*\)devel-rel-10_1/#OTOBO_IMAGE\1devel-rel-11_0/" .env + - docker-compose exec web bash -c \"date ; hostname ; rm -f Kernel/Config/Files/ZZZAAuto.pm ; bin/docker/quick_setup.pl --db-password mariadbroot23 --activate-elasticsearch --add-customer-user --add-calendar\"