|
@@ -57,21 +57,21 @@
|
|
|
},
|
|
|
{
|
|
|
"type": "vcs",
|
|
|
- "url": "ssh://git@200.50.168.30:222/VendorSoftwareFlowdat3/OwnerVoter.git",
|
|
|
+ "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/OwnerVoter.git",
|
|
|
"options": {
|
|
|
"local_pk": "./keys/bitbucket.id_rsa"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"type": "vcs",
|
|
|
- "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/RedisBundle.git",
|
|
|
+ "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/RedisBundle.git",
|
|
|
"options": {
|
|
|
"local_pk": "./keys/bitbucket.id_rsa"
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
"type": "vcs",
|
|
|
- "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/StatsDBundle.git",
|
|
|
+ "url": "ssh://git@gogs.infra.flowdat.com:222/VendorSoftwareFlowdat3/StatsDBundle.git",
|
|
|
"options": {
|
|
|
"local_pk": "./keys/bitbucket.id_rsa"
|
|
|
}
|
|
@@ -82,16 +82,25 @@
|
|
|
"options": {
|
|
|
"local_pk": "./keys/bitbucket.id_rsa"
|
|
|
}
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "type": "vcs",
|
|
|
+ "url": "ssh://git@bitbucket.org/ikflowdat/migrations.git",
|
|
|
+ "options": {
|
|
|
+ "local_pk": "./keys/bitbucket.id_rsa"
|
|
|
+ }
|
|
|
}
|
|
|
],
|
|
|
"require": {
|
|
|
"php": ">=5.5.9",
|
|
|
"doctrine/doctrine-bundle": "^1.6",
|
|
|
"doctrine/doctrine-cache-bundle": "^1.2",
|
|
|
+ "doctrine/doctrine-migrations-bundle": "^1.2",
|
|
|
"doctrine/orm": "^2.5",
|
|
|
"ik/base-admin-bundle": "dev-master",
|
|
|
"ik/device-bundle": "dev-master",
|
|
|
"ik/extra-data-bundle": "dev-master",
|
|
|
+ "ik/migrations-bundle": "dev-master",
|
|
|
"ik/oauthclient-bundle": "dev-master",
|
|
|
"ik/owner-voter-bundle": "dev-master",
|
|
|
"ik/redis-bundle": "dev-master",
|
|
@@ -128,10 +137,19 @@
|
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
|
|
|
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
|
|
|
],
|
|
|
- "chmod-dir-cache-sessions-logs":"chmod 777 -R var/cache var/logs var/sessions",
|
|
|
+ "doctrine-update": "php bin/console doctrine:schema:update --force",
|
|
|
+ "doctrine-migrations":"php bin/console doctrine:migrations:migrate --no-interaction --allow-no-migration",
|
|
|
+ "mkdir-dir-cache-sessions-logs": "mkdir -p var/cache var/logs var/sessions",
|
|
|
+ "chmod-dir-cache-sessions-logs": "chmod 777 -R var/cache var/logs var/sessions",
|
|
|
+ "migration-alert-type": "php bin/console doctrine:migrations:execute 20170627144029 --no-interaction",
|
|
|
+ "auto-increment": "php bin/console baseadmin:autoincrement",
|
|
|
+
|
|
|
"post-install-cmd": [
|
|
|
"@symfony-scripts",
|
|
|
- "@chmod-dir-cache-sessions-logs"
|
|
|
+ "@chmod-dir-cache-sessions-logs",
|
|
|
+ "@doctrine-migrations",
|
|
|
+ "@doctrine-update",
|
|
|
+ "@auto-increment"
|
|
|
],
|
|
|
"post-update-cmd": [
|
|
|
"@symfony-scripts",
|