Skip to content

Scripts

Alexander Wolz edited this page Mar 22, 2023 · 3 revisions

deploy.sh

Description: TBD

Usage

bash bin/deploy.sh package: Deploys a given package (either by its name defined in docker.pkg or its relative/absolute folder) interactively. It thereby synchs scripts and the package's contents to the remote host and optionally starts the bundle using run.sh

Single action parameters

  • bash bin/deploy.sh -h: Prints a help menu
  • bash bin/deploy.sh -i: Initializes the remote host with the platform folder structure
  • bash bin/deploy.sh -s: Synchs the scripts to the remote host only
  • bash bin/deploy.sh -e: Synchs the etc folder to the remote host only

Combinable parameters

  • bash bin/deploy.sh -r package: Auto-restarts the bundle without asking for it (same as typing 'y' in the interactive mode)
  • bash bin/deploy.sh -b package: Builds the image again from Dockerfile inside package bundle (if available)
  • bash bin/deploy.sh -p package: Pulls the latest tags from images inside the specified package
  • bash bin/deploy.sh -f package: Skips package content upload
  • bash bin/deploy.sh -v package: Deletes linked volumes (not file mounts). This step is not reversable

build.sh

Clone this wiki locally