diff options
author | awudzins <adam.wudzinski@nokia.com> | 2020-04-09 16:48:53 +0200 |
---|---|---|
committer | awudzins <adam.wudzinski@nokia.com> | 2020-04-09 16:48:53 +0200 |
commit | 1740a80eab8ebb9598b7e9a19632a17491811be2 (patch) | |
tree | 6c3ca4568850a0dd604f24e69caa13447d207fbf /Makefile | |
parent | 6ac2ba6380c0dc23623fe3f198613c5f0bd2941a (diff) |
Refactor run client step in makefile1.0.0
Change run-client target in Makefile to automatically remove container after execution. Remove stop-client target, because it's not needed anymore
Issue-ID: AAF-1118
Signed-off-by: Adam Wudzinski <adam.wudzinski@nokia.com>
Change-Id: Ifbe1803598f23be507ad5c71a11582b03ca2c189
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -19,6 +19,7 @@ run-client: mkdir -p `pwd`/compose-resources/client-volume/ @echo "##### Start Cert Service Client #####" docker run \ + --rm \ --name aafcert-client \ --env-file ./compose-resources/client-configuration.env \ --network certservice_certservice \ @@ -27,12 +28,6 @@ run-client: --volume `pwd`/certs/certServiceClient-keystore.jks:/etc/onap/aaf/certservice/certs/certServiceClient-keystore.jks \ onap/org.onap.aaf.certservice.aaf-certservice-client:latest -stop-client: - @echo "##### Remove Cert Service Client #####" - @echo "Removing aafcert-client" - @docker rm aafcert-client > /dev/null 2> /dev/null || true - @echo "##### DONE #####" - stop-backend: @echo "##### Stop Cert Service #####" docker-compose down |