66install :
77 cache :
88 prepared_shop : false
9- git :
10- repository : ' {{ $repo }}'
11- ref : &ref '{{ .Github.RefName }}'
12- shop_url : ' https://github.com/OXID-eSales/security-module.git'
13- shop_ref : *ref
14- composer :
15- root_url : ' '
16- transform : |
17- {
18- "require-dev": {
19- "oxid-esales/oxideshop-ce": "{{ .Data.global.composer.dev_ref }}",
20- "oxid-esales/oxideshop-pe": "{{ .Data.global.composer.dev_ref }}",
21- "oxid-esales/oxideshop-ee": "{{ .Data.global.composer.dev_ref }}",
22- "oxid-esales/twig-component": "{{ .Data.global.composer.dev_ref }}",
23- "oxid-esales/twig-component-pe": "{{ .Data.global.composer.dev_ref }}",
24- "oxid-esales/twig-component-ee": "{{ .Data.global.composer.dev_ref }}",
25- "oxid-esales/twig-admin-theme": "{{ .Data.global.composer.dev_ref }}",
26- "oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}",
27- "oxid-esales/developer-tools": "{{ .Data.global.composer.dev_ref }}",
28- "oxid-esales/security-module": "dev-{{ .Github.RefName }}"
29- },
30- "repositories": {
31- "oxid-esales/security-module": {
32- "type": "git",
33- "url": "https://github.com/OXID-eSales/security-module.git"
34- },
35- "oxid-esales/oxideshop-ee": {
36- "type": "git",
37- "url": "https://github.com/OXID-eSales/oxideshop_ee.git"
38- },
39- "oxid-esales/oxideshop-pe": {
40- "type": "git",
41- "url": "https://github.com/OXID-eSales/oxideshop_pe.git"
42- },
43- "oxid-esales/twig-component-pe": {
44- "type": "git",
45- "url": "https://github.com/OXID-eSales/twig-component-pe.git"
46- },
47- "oxid-esales/twig-component-ee": {
48- "type": "git",
49- "url": "https://github.com/OXID-eSales/twig-component-ee.git"
50- }
51- },
52- "config": {
53- "allow-plugins": {
54- "oxid-esales/oxideshop-composer-plugin": true,
55- "oxid-esales/oxideshop-unified-namespace-generator": true
56- }
57- }
9+ composer :
10+ root_url : ' '
11+ transform : |
12+ {
13+ "require-dev": {
14+ "oxid-esales/oxideshop-ce": "{{ .Data.install.composer.dev_ref }}",
15+ "oxid-esales/oxideshop-pe": "{{ .Data.install.composer.dev_ref }}",
16+ "oxid-esales/oxideshop-ee": "{{ .Data.install.composer.dev_ref }}",
17+ "oxid-esales/twig-component": "{{ .Data.install.composer.dev_ref }}",
18+ "oxid-esales/twig-component-pe": "{{ .Data.install.composer.dev_ref }}",
19+ "oxid-esales/twig-component-ee": "{{ .Data.install.composer.dev_ref }}",
20+ "oxid-esales/twig-admin-theme": "{{ .Data.install.composer.dev_ref }}",
21+ "oxid-esales/apex-theme": "{{ .Data.install.composer.dev_ref }}",
22+ "oxid-esales/developer-tools": "{{ .Data.install.composer.dev_ref }}"
23+ },
24+ "repositories": {
25+ "oxid-esales/oxideshop-ee": {
26+ "type": "git",
27+ "url": "https://github.com/OXID-eSales/oxideshop_ee.git"
28+ },
29+ "oxid-esales/oxideshop-pe": {
30+ "type": "git",
31+ "url": "https://github.com/OXID-eSales/oxideshop_pe.git"
32+ },
33+ "oxid-esales/twig-component-pe": {
34+ "type": "git",
35+ "url": "https://github.com/OXID-eSales/twig-component-pe.git"
36+ },
37+ "oxid-esales/twig-component-ee": {
38+ "type": "git",
39+ "url": "https://github.com/OXID-eSales/twig-component-ee.git"
40+ }
41+ },
42+ "config": {
43+ "allow-plugins": {
44+ "oxid-esales/oxideshop-composer-plugin": true,
45+ "oxid-esales/oxideshop-unified-namespace-generator": true
46+ }
5847 }
48+ }
5949 custom_script_container : |
6050 vendor/bin/oe-console oe:database:reset --db-host=mysql --db-port=3306 --db-name=example --db-user=root --db-password=root --force
6151 vendor/bin/oe-console oe:module:install ./
@@ -64,31 +54,28 @@ install:
6454 vendor/bin/oe-console oe:module:activate oe_security_module
6555 vendor/bin/oe-console oe:theme:activate apex
6656
67- install_shop_with_modules :
68- composer :
69- root_url : ' '
70-
7157runscript : &runscript
7258 matrix :
7359 script : |
7460 [
75- "security_module :tests-unit",
76- "security_module :tests-integration",
77- "security_module :tests-codeception"
61+ "report :tests-unit",
62+ "report :tests-integration",
63+ "no_report :tests-codeception"
7864 ]
79- composer :
80- early : true
81- security_module :
65+ report :
66+ path : ' '
67+ no_report :
8268 path : ' '
69+ coverage_prefix : ' '
8370
8471runslim :
8572 << : *runscript
8673 matrix :
8774 script : |
8875 [
89- "security_module :phpcs",
90- "security_module :phpstan",
91- "security_module :phpmd"
76+ "no_report :phpcs",
77+ "report :phpstan-report ",
78+ "no_report :phpmd"
9279 ]
9380
9481sonarcloud :
@@ -98,12 +85,12 @@ sonarcloud:
9885 project_key : ' OXID-eSales_security-module'
9986 project_name : ' oxid-esales/security-module'
10087 organization : ' oxid-esales'
101- parameters : |
102- -Dsonar.language=php \
103- -Dsonar.scm.provider=git \
104- -Dsonar.sources=src \
105- -Dsonar.tests=tests \
88+ parameters : >
89+ -Dsonar.language=php
90+ -Dsonar.scm.provider=git
91+ -Dsonar.sources=src
92+ -Dsonar.tests=tests
10693 -Dsonar.php.phpstan.reportPaths=coverage-reports/phpstan.report.json
10794
10895finish :
109- slack_title : ' Security module ({{ .Data.global .git.shop_ref }}) by {{ .Github.Actor }}'
96+ slack_title : ' Security module ({{ .Data.install .git.ref }}) by {{ .Github.Actor }}'
0 commit comments