forked from EC-CUBE/ec-cube
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4.1beta3: インストールスクリプトでプラグインをインストールできるように修正
- Loading branch information
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,8 +47,11 @@ jobs: | |
APP_ENV: 'prod' | ||
DATABASE_URL: postgres://postgres:[email protected]:5432/eccube_db | ||
DATABASE_SERVER_VERSION: 11 | ||
ECCUBE_PACKAGE_API_URL: "https://package-api-41beta.ec-cube.net" | ||
run: | | ||
echo "APP_ENV=${APP_ENV}" > .env | ||
echo "ECCUBE_PACKAGE_API_URL=${ECCUBE_PACKAGE_API_URL}" > .env | ||
echo "id,name,code,enabled,version,source,initialized,create_date,update_date,discriminator_type" > src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv | ||
bin/console doctrine:database:create --env=dev | ||
bin/console doctrine:schema:create --env=dev | ||
bin/console eccube:fixtures:load --env=dev | ||
|
@@ -59,12 +62,11 @@ jobs: | |
DATABASE_URL: postgres://postgres:[email protected]:5432/eccube_db | ||
DATABASE_SERVER_VERSION: 11 | ||
run: | | ||
bin/console eccube:composer:require "ec-cube/Api:^2.0" | ||
bin/console eccube:composer:require "ec-cube/Recommend4" | ||
bin/console eccube:composer:require "ec-cube/Api" | ||
- name: Pre Install Plugins | ||
env: | ||
PGPASSWORD: 'password' | ||
run: psql eccube_db -h 127.0.0.1 -U postgres -c "select * from dtb_plugin;" -A -F, --pset footer > src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv | ||
- name: Checkout dtb_plugin | ||
run: git checkout src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv | ||
|
||
- name: Packaging | ||
working-directory: ../ | ||
|