Skip to content

Conversation

@AlexanderGrooff
Copy link
Contributor

Useful for doing rapid development, and you don't care too much about pristine environments. Instead of creating a new Brancher node when using addBrancherServer, just reuse the last one if there is any.

Note the new --reuse-brancher flag:

$ hypernode-deploy deploy -h
Description:
  Deploy application.

Usage:
  deploy [options] [--] <stage>

Arguments:
  stage                 Stage deploy to

Options:
      --reuse-brancher  Reuse the brancher Hypernode from the previous deploy
  -h, --help            Display help for the given command. When no command is given display help for the list command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -f, --file[=FILE]     Specify configuration file [default: "deploy.php"]
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Useful for doing rapid development, and you don't care too much about
pristine environments. Instead of creating a new Brancher node when
using `addBrancherServer`, just reuse the last one if there is any.
Only check availability when creating a new brancher node
Copy link
Member

@tdgroot tdgroot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! :)

Saves another line of code
@AlexanderGrooff AlexanderGrooff merged commit f74f7ff into master Jan 23, 2023
@AlexanderGrooff AlexanderGrooff deleted the reuse-brancher branch January 23, 2023 10:45
AlexanderGrooff added a commit to ByteInternet/hypernode-docs-next that referenced this pull request Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants