capistrano-magento2 icon indicating copy to clipboard operation
capistrano-magento2 copied to clipboard

`composer install` in `./update` doesn't use provided credentials

Open macieklewkowicz opened this issue 8 years ago • 1 comments

When credentials for repo.magento.com are set via set :magento_auth_public_key, '<your_public_key_here>' and set :magento_auth_private_key, '<your_prviate_key_here>', they're being used only when Capistrano runs composer install in Magento root folder but not in ./update.

This is likely due to Composer not loading credentials from ./auth.json when being executed with -d ./update flag.

https://github.com/davidalger/capistrano-magento2/blob/2a10a675043a6ac23fb9b4e97656c4507a060c47/lib/capistrano/tasks/magento.rake#L97.

macieklewkowicz avatar Sep 29 '17 12:09 macieklewkowicz

@macieklewkowicz Interesting…Think I'm going to look at addressing this in context of #82.

davidalger avatar Oct 05 '17 15:10 davidalger