Skip to content

Commit

Permalink
docs: docker-build -t latest
Browse files Browse the repository at this point in the history
* Adds `docker-build -t latest` to the usage examples following the switch of
  the defaults to build auto-generated tags instead of "latest".

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
  • Loading branch information
tiborsimko committed Jan 28, 2019
1 parent b6336fa commit ae6d761
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/developerguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ working on in development mode and we restart the corresponding pod:
.. code-block:: console
$ cd src/reana-server
$ reana-dev docker-build -c . -b DEBUG=true
$ reana-dev docker-build -t latest -c . -b DEBUG=true
$ reana-dev kubectl-delete-pod -c .
Let us now introduce `wdb` breakpoint as the first instruction of the
Expand Down
10 changes: 5 additions & 5 deletions reana/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ def cli(): # noqa: D301
--feature-gates="TTLAfterFinished=true"
$ eval $(minikube docker-env)
$ # option (a): cluster in production-like mode
$ reana-dev docker-build
$ reana-dev docker-build -t latest
$ reana-cluster -f reana-cluster-latest.yaml init
$ # option (b): cluster in developer-like debug-friendly mode
$ reana-dev docker-build -b DEBUG=true
$ reana-dev docker-build -t latest -b DEBUG=true
$ reana-cluster -f reana-cluster-dev.yaml init
How to set up your shell environment variables:
Expand All @@ -186,7 +186,7 @@ def cli(): # noqa: D301
\b
$ cd reana-job-controller
$ reana-dev git-checkout -b . 72 --fetch
$ reana-dev docker-build -c .
$ reana-dev docker-build -t latest -c .
$ reana-dev kubectl-delete-pod -c .
How to test multiple component branches:
Expand All @@ -197,7 +197,7 @@ def cli(): # noqa: D301
$ reana-dev git-checkout -b reana-job-controller 72
$ reana-dev git-checkout -b reana-workflow-controller 98
$ reana-dev git-status
$ reana-dev docker-build
$ reana-dev docker-build -t latest
$ reana-dev kubectl-delete-pod -c reana-job-controller
$ reana-dev kubectl-delete-pod -c reana-workflow-controller
Expand All @@ -207,7 +207,7 @@ def cli(): # noqa: D301
\b
$ reana-dev git-clean
$ reana-dev docker-build --no-cache
$ reana-dev docker-build -t latest --no-cache
$ # we should now run one more test with non-cached ``latest``
$ # once it works, we can tag and push
$ reana-dev docker-build -t 0.3.0.dev20180625
Expand Down

0 comments on commit ae6d761

Please sign in to comment.