Re:Pkgr.io: Easy way to get a Debian package out of any app
by crymer11 on Monday March 31, 2014 @12:00PM
(#7502269)
How does this work with assets that need to be served externally, e.g. uploaded to S3?
[ Parent
| on HN ]
Re:Pkgr.io: Easy way to get a Debian package out of any app
by crohr on Monday March 31, 2014 @12:53PM
(#7502605)
You have the possibility to add custom before/after hooks, and thus upload freshly precompiled assets from them, however there is currently no secure way to encrypt secrets (in your case, S3 credentials). This may come later on (a la Travis-CI, http://docs.travis-ci.com/user/encryption-keys/), but is not a priority right now.
Re:Pkgr.io: Easy way to get a Debian package out of any app
by crymer11 on Monday March 31, 2014 @01:50PM
(#7502996)
Are the hooks not run on each instance the package is being deployed to?
Re:Pkgr.io: Easy way to get a Debian package out of any app
by crohr on Tuesday April 01, 2014 @04:59PM
(#7511628)
No, the hooks currently supported are scripts that are run before and after the slug compilation phase. I don't think you would want to make your package installation dependent on pre/post install scripts that access the network.