Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions utils/build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,21 @@ print_usage() {
echo -e " ${SCRIPT_NAME} [options...]"
echo
echo -e "${WHITE_BOLD}OPTIONS${NC}"
echo -e " ${CYAN}--library <lib>${NC} Language of the tracer (env: TEST_LIBRARY, default: ${DEFAULT_TEST_LIBRARY})."
echo -e " ${CYAN}--weblog-variant <var>${NC} Weblog variant (env: WEBLOG_VARIANT)."
echo -e " ${CYAN}--images <images>${NC} Comma-separated list of images to build (env: BUILD_IMAGES, default: ${DEFAULT_BUILD_IMAGES})."
echo -e " ${CYAN}--docker${NC} Build docker image instead of local install (env: DOCKER_MODE, default: ${DEFAULT_DOCKER_MODE})."
echo -e " ${CYAN}--github-token-file <file>${NC} Path to a file containing a GitHub token used for authenticated operations (e.g. cloning private repos, accessing the API)."
echo -e " ${CYAN}--extra-docker-args <args>${NC} Extra arguments passed to docker build (env: EXTRA_DOCKER_ARGS)."
echo -e " ${CYAN}--cache-mode <mode>${NC} Cache mode (env: DOCKER_CACHE_MODE)."
echo -e " ${CYAN}--platform <platform>${NC} Target Docker platform."
echo -e " ${CYAN}--list-libraries${NC} Lists all available libraries and exits."
echo -e " ${CYAN}--list-weblogs${NC} Lists all available weblogs for a library and exits."
echo -e " ${CYAN}--default-weblog${NC} Prints the name of the default weblog for a given library and exits."
echo -e " ${CYAN}--binary-path${NC} Optional. Path of a directory binaries will be copied from. Should be used for local development only."
echo -e " ${CYAN}--binary-url${NC} Optional. Url of the client library redistributable. Should be used for local development only."
echo -e " ${CYAN}--save-to-binaries${NC} Optional. Save image in binaries folder as a tar.gz file."
echo -e " ${CYAN}--help${NC} Prints this message and exits."
echo -e " ${CYAN}--library <lib>${NC} Language of the tracer (env: TEST_LIBRARY, default: ${DEFAULT_TEST_LIBRARY})."
echo -e " ${CYAN}--weblog-variant <var>${NC} Weblog variant (env: WEBLOG_VARIANT)."
echo -e " ${CYAN}--images <images>${NC} Comma-separated list of images to build (env: BUILD_IMAGES, default: ${DEFAULT_BUILD_IMAGES})."
echo -e " ${CYAN}--docker${NC} Build docker image instead of local install (env: DOCKER_MODE, default: ${DEFAULT_DOCKER_MODE})."
echo -e " ${CYAN}--github-token-file <file>${NC} Path to a file containing a GitHub token used for authenticated operations (e.g. cloning private repos, accessing the API)."
echo -e " ${CYAN}--extra-docker-args <args>${NC} Extra arguments passed to docker build (env: EXTRA_DOCKER_ARGS)."
echo -e " ${CYAN}--cache-mode <mode>${NC} Cache mode (env: DOCKER_CACHE_MODE)."
echo -e " ${CYAN}--docker-platform <platform>${NC} Target Docker platform."
echo -e " ${CYAN}--list-libraries${NC} Lists all available libraries and exits."
echo -e " ${CYAN}--list-weblogs${NC} Lists all available weblogs for a library and exits."
echo -e " ${CYAN}--default-weblog${NC} Prints the name of the default weblog for a given library and exits."
echo -e " ${CYAN}--binary-path${NC} Optional. Path of a directory binaries will be copied from. Should be used for local development only."
echo -e " ${CYAN}--binary-url${NC} Optional. Url of the client library redistributable. Should be used for local development only."
echo -e " ${CYAN}--save-to-binaries${NC} Optional. Save image in binaries folder as a tar.gz file."
echo -e " ${CYAN}--help${NC} Prints this message and exits."
echo
echo -e "${WHITE_BOLD}EXAMPLES${NC}"
echo -e " Build default images:"
Expand Down
Loading