From ae832c69feb38660006580e1f9ebb246c93eedbd Mon Sep 17 00:00:00 2001 From: Anton Fedurtsya Date: Fri, 25 Oct 2024 11:25:56 +0300 Subject: [PATCH] OXDEV-8759 Cleanup not used module template components recipe Signed-off-by: Anton Fedurtsya --- module-template/b-7.2.x-components.sh | 69 --------------------------- 1 file changed, 69 deletions(-) delete mode 100755 module-template/b-7.2.x-components.sh diff --git a/module-template/b-7.2.x-components.sh b/module-template/b-7.2.x-components.sh deleted file mode 100755 index 3fc031a..0000000 --- a/module-template/b-7.2.x-components.sh +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/bash - -# Flags possible: -# -e for shop edition. Possible values: CE/PE/EE - -edition='EE' -while getopts e: flag; do - case "${flag}" in - e) edition=${OPTARG} ;; - *) ;; - esac -done - -SCRIPT_PATH=$(dirname ${BASH_SOURCE[0]}) - -cd $SCRIPT_PATH/../../../ || exit - -# Prepare services configuration -make setup -make addbasicservices -make file=services/adminer.yml addservice -make file=services/selenium-chrome.yml addservice - -# Configure containers -perl -pi\ - -e 's#error_reporting = .*#error_reporting = E_ALL ^ E_WARNING ^ E_DEPRECATED#g;'\ - containers/php/custom.ini - -perl -pi\ - -e 's#/var/www/#/var/www/source/#g;'\ - containers/httpd/project.conf - -perl -pi\ - -e 's#PHP_VERSION=.*#PHP_VERSION=8.2#g;'\ - .env - -mkdir source -docker compose up --build -d php - -cp ${SCRIPT_PATH}/../parts/bases/composer.json.base ./source/composer.json - -$SCRIPT_PATH/../parts/shared/require_shop_edition_packages.sh -e"${edition}" -v"dev-b-7.2.x" -$SCRIPT_PATH/../parts/shared/require_twig_components.sh -e"${edition}" -b"b-7.2.x" -$SCRIPT_PATH/../parts/shared/require_demodata_package.sh -e"${edition}" -b"b-7.2.x" - -$SCRIPT_PATH/../parts/shared/require.sh -n"oxid-esales/developer-tools" -v"dev-b-7.2.x" -$SCRIPT_PATH/../parts/shared/require.sh -n"oxid-esales/apex-theme" -v"dev-b-7.2.x" - -$SCRIPT_PATH/../parts/shared/require.sh -n"oxid-esales/module-template" -g"https://github.com/OXID-eSales/module-template.git" -v"dev-b-7.2.x" - -docker compose exec php composer update --no-interaction - -make up - -$SCRIPT_PATH/../parts/shared/setup_database.sh - -docker compose exec -T php vendor/bin/oe-console oe:module:activate oe_moduletemplate -docker compose exec -T php vendor/bin/oe-console oe:theme:activate apex - -$SCRIPT_PATH/../parts/shared/create_admin.sh - -# Register all related project packages git repositories -mkdir -p .idea && cp "${SCRIPT_PATH}/../parts/bases/vcs.xml.base" .idea/vcs.xml -perl -pi\ - -e 's##\n #g;'\ - -e 's##\n #g;'\ - -e 's##\n #g;'\ - -e 's##\n #g;'\ - .idea/vcs.xml