diff --git a/.github/oxid-esales/module-template.yaml b/.github/oxid-esales/module-template.yaml index df675f8..8bab255 100644 --- a/.github/oxid-esales/module-template.yaml +++ b/.github/oxid-esales/module-template.yaml @@ -1,25 +1,30 @@ -install_shop_with_modules: +install: cache: prepared_shop: false + git: + repository: 'OXID-eSales/module-template' + ref: &ref '{{ .Github.RefName }}' + shop_url: 'https://github.com/OXID-eSales/module-template.git' + shop_ref: *ref composer: + root_url: '' transform: | { "require": { "oxid-esales/oxideshop-ce": "{{ .Data.global.composer.dev_ref }}", - "oxid-esales/twig-component": "{{ .Data.global.composer.dev_ref }}", "oxid-esales/twig-admin-theme": "{{ .Data.global.composer.dev_ref }}", - "oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}", - "oxid-esales/module-template": "{{ .Data.global.composer.ref_name }}" - }, - "repositories": { - "oxid-esales/module-template": { - "type": "git", - "url": "https://github.com/OXID-eSales/module-template.git" - } + "oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}" } } custom_script_container: | + vendor/bin/oe-console oe:database:reset --db-host=mysql --db-port=3306 --db-name=example --db-user=root --db-password=root --force + vendor/bin/oe-console oe:module:install ./ vendor/bin/oe-console oe:module:activate oe_moduletemplate + vendor/bin/oe-console oe:theme:activate apex + +install_shop_with_modules: + composer: + root_url: '' runscript: &runscript matrix: