Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Improve docopt description of 'helm.up', 'docker.up.medea', 'test.e2e…
Browse files Browse the repository at this point in the history
…' and 'test.unit' Makefile commands
  • Loading branch information
tyranron committed Feb 20, 2020
1 parent 10d5327 commit 84a1352
Showing 1 changed file with 21 additions and 16 deletions.
37 changes: 21 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,9 @@ endif
# Run Rust unit tests of project.
#
# Usage:
# make test.unit [crate=(@all|medea|<crate-name>)]
# [crate=medea-jason [browser=(chrome|firefox|default)]]
# make test.unit [( [crate=@all]
# | crate=(medea|<crate-name>)
# | crate=medea-jason [browser=(chrome|firefox|default)] )]

test-unit-crate = $(if $(call eq,$(crate),),@all,$(crate))
webdriver-env = $(if $(call eq,$(browser),firefox),GECKO,CHROME)DRIVER_REMOTE
Expand Down Expand Up @@ -378,12 +379,12 @@ endif
# Run Rust E2E tests of project.
#
# Usage:
# make test.e2e [up=no]
# [up=yes [dockerized=no [debug=(yes|no)]]
# [dockerized=yes [TAG=(dev|<docker-tag>)]
# [registry=<registry-host>]
# [log=(no|yes)]]
# [wait=(5|<seconds>)]]
# make test.e2e [( [up=no]
# | up=yes [( [dockerized=no] [debug=(yes|no)]
# | dockerized=yes [TAG=(dev|<docker-tag>)]
# [registry=<registry-host>]
# [log=(no|yes)] )]
# [wait=(5|<seconds>)] )]

test-e2e-env = RUST_BACKTRACE=1 \
$(if $(call eq,$(log),yes),,RUST_LOG=warn) \
Expand Down Expand Up @@ -682,11 +683,12 @@ docker.up.demo: docker.down.demo
# Run Medea media server in Docker Compose environment.
#
# Usage:
# make docker.up.medea [dockerized=no [debug=(yes|no)] [background=(no|yes)]]
# [dockerized=yes [TAG=(dev|<docker-tag>)]
# [registry=<registry-host>]]
# [background=no]
# [background=yes [log=(no|yes)]]]
# make docker.up.medea [( [dockerized=no] [debug=(yes|no)]
# [background=(no|yes)]
# | dockerized=yes [TAG=(dev|<docker-tag>)]
# [registry=<registry-host>]]
# [( [background=no]
# | background=yes [log=(no|yes)] )])]

docker-up-medea-image-name = $(strip \
$(if $(call eq,$(registry),),,$(registry)/)$(MEDEA_IMAGE_NAME))
Expand Down Expand Up @@ -836,9 +838,12 @@ endif
#
# Usage:
# make helm.up [chart=medea-demo] [release=<release-name>]
# [atomic=(no|yes)] [force=(no|yes)] [wait=(yes|no)]
# [cluster=minikube [rebuild=(no|yes) [no-cache=(no|yes)]]]
# [cluster=staging]
# [force=(no|yes)]
# [( [atomic=no] [wait=(yes|no)]
# | atomic=yes )]
# [( [cluster=minikube] [( [rebuild=no]
# | rebuild=yes [no-cache=(no|yes)] )]
# | cluster=staging )]

helm.up:
ifeq ($(wildcard $(helm-chart-vals-dir)/my.$(helm-cluster).vals.yaml),)
Expand Down

0 comments on commit 84a1352

Please sign in to comment.