Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 11 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down