Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
. ./env.sh
./bin/js7_create_deployment_package.sh \
--deploy-desc=${DEP_DESC}/standalone/standalone-agent-http-2022-12-04.descriptor.json
# initializes deployment environment variables
# makes use of the indicated Deployment Descriptor file that holds configuration items for a number of Agents
# works with default values for the location of the work area and of the archive directory to which Deployment Packages will be stored |
...
Code Block | ||||
---|---|---|---|---|
| ||||
. ./env.sh
./bin/js7_create_deployment_package.sh \
--deploy-desc=${DEP_DESC}/standalone/standalone-agent-http-2022-12-04.descriptor.json \
--dry-run
# initializes deployment environment variables
# makes use of the indicated Deployment Descriptor file that holds configuration items for a number of Agents
# performs a dry-run that will not create Deployment Packages but will generate wrapper scripts that parameterize calls to the Installer Scripts
# works with default values for the location of the work area to which wrapper scripts will be stored |
...
Code Block | ||||
---|---|---|---|---|
| ||||
#!/bin/sh set -e DEP_HOME=/home/sos/js7.deploy DEP_ARCHIVE=${DEP_ARCHIVE:-"${DEP_HOME}"/archive} DEP_BIN=${DEP_BIN:-"${DEP_HOME}"/bin} DEP_CONFIG=${DEP_CONFIG:-"${DEP_HOME}"/config} DEP_DESC=${DEP_DESC:-"${DEP_HOME}"/desc} DEP_LOGS=${DEP_LOGS:-"${DEP_HOME}"/logs} DEP_RELEASE=${DEP_RELEASE:-"${DEP_HOME}"/release} DEP_WORK=${DEP_WORK:-"${DEP_HOME}"/work} "${DEP_BIN}"/js7_create_deployment_package.sh \ --deploy-desc="${DEP_DESC}"/standalone/standalone-agent-http-2022-12-04.descriptor.json \ --config-dir="${DEP_CONFIG}" \ --archive-dir="${DEP_ARCHIVE}" \ --release-dir="${DEP_RELEASE}" \ --script-dir="${DEP_BIN}" \ --work-dir="${DEP_WORK}" \ --log-dir="${DEP_LOGS}" \ --deploy-agent-id=deploymentAgent \ --keep-script \ --keep-work \ --show-logs \ --make-dirs # makes use of the indicated Deployment Descriptor file that holds configuration items for a number of Agents # works with specific values for directories # keeps copies of the installer scripts and installations in the work area # creates log files in the indicated directory and forwards the location to installer scripts |
...
Overview
Content Tools