3
3
# {{ $name := "graphql-base" }}name: {{ $name }}
4
4
# {{ $repo := "OXID-eSales/graphql-base-module" }}repo: {{ $repo }}
5
5
6
- install_shop_with_modules :
6
+ install :
7
7
cache :
8
8
prepared_shop : false
9
+ git :
10
+ repository : ' {{ $repo }}'
11
+ ref : &ref '{{ .Github.RefName }}'
12
+ shop_url : ' https://github.com/OXID-eSales/graphql-base-module.git'
13
+ shop_ref : *ref
9
14
composer :
10
15
transform : |
11
16
{
@@ -14,28 +19,25 @@ install_shop_with_modules:
14
19
"oxid-esales/twig-component": "{{ .Data.global.composer.dev_ref }}",
15
20
"oxid-esales/twig-admin-theme": "{{ .Data.global.composer.dev_ref }}",
16
21
"oxid-esales/apex-theme": "{{ .Data.global.composer.dev_ref }}",
17
- "oxid-esales/developer-tools": "{{ .Data.global.composer.dev_ref }}",
18
- "{{ $org }}/{{ $name }}": "{{ .Data.global.composer.ref_name }}"
19
- },
20
- "autoload-dev":{
21
- "psr-4": {
22
- "OxidEsales\\EshopCommunity\\Tests\\": "./vendor/oxid-esales/oxideshop-ce/tests",
23
- "OxidEsales\\Graphql\\Base\\Tests\\": "./vendor/oxid-esales/graphql-base/tests"
24
- }
25
- },
26
- "repositories": {
27
- "{{ $org }}/{{ $name }}": {
28
- "type": "git",
29
- "url": "https://github.com/{{ $repo }}.git"
30
- }
22
+ "oxid-esales/developer-tools": "{{ .Data.global.composer.dev_ref }}"
31
23
}
32
24
}
33
25
custom_script_container : |
34
26
perl -pi -e 'print "SetEnvIf Authorization \"(.*)\" HTTP_AUTHORIZATION=\$1\n\n" if $. == 1' source/.htaccess
27
+
35
28
vendor/bin/oe-console oe:database:reset --db-host=mysql --db-port=3306 --db-name=example --db-user=root --db-password=root --force
29
+ vendor/bin/oe-console oe:module:install ./
30
+
31
+ vendor/bin/oe-eshop-doctrine_migration migrations:migrate
32
+ vendor/bin/oe-eshop-db_views_generate
33
+
36
34
vendor/bin/oe-console oe:module:activate "{{ $ids }}"
37
35
vendor/bin/oe-console oe:theme:activate apex
38
36
37
+ install_shop_with_modules :
38
+ composer :
39
+ root_url : ' '
40
+
39
41
runscript : &runscript
40
42
matrix :
41
43
script : |
@@ -44,8 +46,10 @@ runscript: &runscript
44
46
"graphql_base:tests-integration",
45
47
"graphql_base:tests-codeception"
46
48
]
49
+ composer :
50
+ early : true
47
51
graphql_base :
48
- path : ' vendor/{{ $org}}/{{ $name }} '
52
+ path : ' '
49
53
50
54
runslim :
51
55
<< : *runscript
@@ -60,7 +64,7 @@ runslim:
60
64
sonarcloud :
61
65
matrix :
62
66
testplan : ' ["-"]'
63
- strip_path : ' /var/www/vendor/{{ print $org }}/{{ print $name}}/ '
67
+ strip_path : ' /var/www/'
64
68
project_key : ' OXID-eSales_graphql-base-module'
65
69
project_name : ' {{ $org}}/{{ $name }}'
66
70
parameters : |
0 commit comments