I have the following composer.json

{
  "name": "project/platform",
  "config": {
    "vendor-dir": "Packages/Libraries",
    "bin-dir": "bin"
  },
  "require": {
    "php": "7.0.*",

    "ext-redis": "*",

    "neos/flow": "^4.2"
  },
  "scripts": {
    "post-update-cmd": 
"Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
    "post-install-cmd": 
"Neos\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
    "post-package-update": 
"Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall",
    "post-package-install": 
"Neos\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall",
    "post-deploy-cmd": [
      "php flow flow:cache:flush",
      "php flow doctrine:migrate",
      "php flow flow:cache:warmup",
      "php flow flow:core:compile",
      "php flow flow:doctrine:compileproxies"
    ]
  }
}


But even though following the laravel and symfony example, the 
post-deploy-cmd commands are not being executed, when the deployment 
finishes. 

There is not output or exception in the part where  the scripts should be 
executed, from the deployment log

Step #1:  ---> Running in 853fb060c40d
Step #1: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
Step #1: nginx: configuration file /etc/nginx/nginx.conf test is successful
Step #1:  ---> fef460171ebf
Step #1: Removing intermediate container 853fb060c40d
Step #1: Step 10/10 : RUN /bin/bash /build-scripts/lockdown.sh
Step #1:  ---> Running in af19870aff23
Step #1: Locking down the document root...
Step #1:  ---> 53834d04b298

It should be in between the two command above.

Are there any requirements that I should be aware of?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f667f1cc-e4e0-42ab-ab3e-6b138db4735c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to