Skip to content

Commit

Permalink
[ECP-9328] List installed modules
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed Oct 1, 2024
1 parent 6df600b commit 8282f11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
18 changes: 2 additions & 16 deletions .github/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sys-check: n98-magerun2.phar
magento:
sed '/exec /d' /tmp/install_magento.sh | bash

hyva: install-hyva refresh configure flush
hyva: install-hyva configure flush

# Hyva install
install-hyva:
Expand Down Expand Up @@ -49,10 +49,7 @@ configure: n98-magerun2.phar
bin/magento config:set payment/adyen_abstract/payment_methods_active 1
./n98-magerun2.phar config:store:set --encrypt payment/adyen_abstract/notification_password '1234' > /dev/null
./n98-magerun2.phar config:store:set --encrypt payment/adyen_abstract/api_key_test "${ADYEN_API_KEY}" > /dev/null

bin/magento config:set dev/template/minify_html 0
# bin/magento config:set design/theme/theme_id 5

# bin/magento config:set dev/template/minify_html 0
echo "configuration step ended"

# Clear cache
Expand All @@ -72,17 +69,6 @@ fs:
production:
bin/magento deploy:mode:set production

refresh:
rm -rf generated/metadata
rm -rf generated/code
rm -rf pub/static/adminhtml/*
rm -rf pub/static/frontend/*

bin/magento setup:up
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

MAGENTO_ROOT=/var/www/html
GRAPHQL_XML=${MAGENTO_ROOT}/dev/tests/api-functional/phpunit_graphql.xml.dist
GRAPHQL_PHP=/data/extensions/workdir/Test/phpunit_graphql.php
Expand Down
9 changes: 4 additions & 5 deletions .github/scripts/install_hyva.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ echo "dev-${BRANCH_NAME}"
composer require adyen/module-hyva-checkout:dev-${BRANCH_NAME}
bin/magento module:enable --all

#bin/magento setup:upgrade
#bin/magento setup:di:compile
#bin/magento setup:static-content:deploy -f
#bin/magento cache:flush

bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
8 changes: 2 additions & 6 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,11 @@ jobs:
- name: Check HYVA Checkout module status
run: |
docker exec -u www-data magento2-hyva-container bin/magento module:status hyva_checkout
docker exec -u www-data magento2-hyva-container bin/magento module:status
- name: Check DB for enabled Checkout Module
run: |
docker exec -i mariadb mysql -umagento -pmagento magento -e "SELECT * FROM m2_core_config_data WHERE path LIKE 'checkout/options/';"
- name: Refresh the Setup
run: |
docker exec -u www-data magento2-hyva-container make refresh
docker exec -i mariadb mysql -umagento -pmagento magento -e "SELECT * FROM m2_core_config_data;"
- name: Run E2E tests
run: |
Expand Down

0 comments on commit 8282f11

Please sign in to comment.