forked from platformsh/template-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
akeneo.migrate.json
77 lines (77 loc) · 4.41 KB
/
akeneo.migrate.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"template": "akeneo",
"type": "php",
"type_version": "8.0",
"remote": {
"major_version": "v6.0.6",
"repository": "https://github.com/akeneo/pim-community-standard.git",
"latest_tag": "v6.0.6"
},
"last_updated_on": "2022-04-05-14:00:04",
"migration": {
"files": {
"rel_template": [
"https://raw.githubusercontent.com/platformsh-templates/akeneo/master/.environment",
"https://raw.githubusercontent.com/platformsh-templates/akeneo/master/README.md",
"https://raw.githubusercontent.com/platformsh-templates/akeneo/master/.lando.upstream.yml",
"https://raw.githubusercontent.com/platformsh-templates/akeneo/master/.platform.app.yaml",
"https://raw.githubusercontent.com/platformsh-templates/akeneo/master/.platform/services.yaml",
"https://raw.githubusercontent.com/platformsh-templates/akeneo/master/.platform/routes.yaml"
],
"rel_tb": [
"https://raw.githubusercontent.com/platformsh/template-builder/master/.environment",
"https://raw.githubusercontent.com/platformsh/template-builder/master/README.md",
"https://raw.githubusercontent.com/platformsh/template-builder/master/.lando.upstream.yml",
"https://raw.githubusercontent.com/platformsh/template-builder/master/.platform.app.yaml",
"https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/services.yaml",
"https://raw.githubusercontent.com/platformsh/template-builder/master/.platform/routes.yaml"
],
"rel_root": [
".environment",
"README.md",
".lando.upstream.yml",
".platform.app.yaml",
".platform/services.yaml",
".platform/routes.yaml"
]
},
"commands": {
"cleanup": [
"rm -rf /Users/chadcarlson/template-builder/templates/akeneo/build/"
],
"init": [
"git clone git@github.com:platformsh-templates/akeneo.git /Users/chadcarlson/template-builder/templates/akeneo/build/",
"git remote add project https://github.com/akeneo/pim-community-standard.git"
],
"update": [
"git checkout master",
"git fetch --all --depth=2",
"git fetch --all --tags"
],
"platformify": [
"rsync -aP /Users/chadcarlson/template-builder/common/all/ /Users/chadcarlson/template-builder/templates/akeneo/build/",
"rsync -aP /Users/chadcarlson/template-builder/templates/akeneo/files/ /Users/chadcarlson/template-builder/templates/akeneo/build/",
"composer require platformsh/config-reader --no-scripts --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php",
"composer update -W --prefer-dist --no-interaction --ignore-platform-req=ext-redis --ignore-platform-req=ext-apcu --ignore-platform-req=ext-intl --ignore-platform-req=ext-bcmath --ignore-platform-req=ext-exif --ignore-platform-req=ext-gd --ignore-platform-req=ext-imagick --ignore-platform-req=ext-mbstring --ignore-platform-req=ext-memcache --ignore-platform-req=ext-pdo --ignore-platform-req=ext-openssl --ignore-platform-req=ext-zip --ignore-platform-req=php"
],
"branch": [
"git checkout -b updatesLocal"
],
"push": []
},
"migrate": {
"init": [
"mkdir akeneo && cd akeneo",
"git init",
"git remote add upstream https://github.com/akeneo/pim-community-standard.git",
"git branch -m main",
"git fetch --all --depth=2",
"git fetch --all --tags",
"git merge --allow-unrelated-histories -X theirs v6.0.6"
],
"deps": [
"composer require platformsh/config-reader"
]
}
}
}