简体   繁体   中英

Why to specify BUILD_HOST?

When deploying to multiple nodes, shouldn't we build the project on each node? why specifying BUILD_HOST in config file?

The project is built only on the build node, not on each node. According to the documentation :

For build commands the following configuration variables must be set:

  • APP : the name of your release which should be built
  • BUILD_HOST : the host where to build the release
  • BUILD_USER : the local user at build host
  • BUILD_AT : the directory on build host where to build the release. must exist.

The built release is then copied to your local directory .deliver/releases and can then be delivered to your production servers by using one of the deploy commands.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM