diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df4f4016..5ff71bab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-version }} - ini-values: short_open_tag=On, mbstring.func_overload=2, mbstring.internal_encoding="UTF-8" + ini-values: short_open_tag=On, mbstring.func_overload=2, mbstring.internal_encoding="UTF-8", session.save_path="/tmp/php_sessions" coverage: xdebug - name: Install Bitrix env: diff --git a/Makefile b/Makefile index 9e6a5449..97353229 100755 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ ifneq ($(NOT_USE_VENDOR),1) composer install endif -install_bitrix: download_bitrix +install_bitrix: download_bitrix configure_session @echo "===== Installing Bitrix..." @php bin/bitrix-install db_type @php bin/bitrix-install requirement @@ -30,8 +30,18 @@ ifeq ("$(wildcard $(BITRIX_PATH)/bitrix/php_interface/dbconn.php)","") chmod -R 777 $(BITRIX_PATH) tar -xf /tmp/$(BITRIX_EDITION).tar.gz -C $(BITRIX_PATH) rm /tmp/$(BITRIX_EDITION).tar.gz + chmod -R 777 $(BITRIX_PATH) + ls -al endif +configure_session: + ls -al / + mkdir -p /tmp/php_sessions + chmod -R 777 /tmp/php_sessions + chmod g+s /tmp/php_sessions + sudo chown -R www-data:www-data /tmp/php_sessions + + build_release: ifneq ($(LAST_TAG),$(RELEASE_TAG)) git diff --name-status $(LAST_TAG) HEAD > $(ROOT_DIR)/release/diff