aboutsummaryrefslogtreecommitdiffstats
path: root/certService/Makefile
diff options
context:
space:
mode:
authorPaweł Baniewski <pawel.baniewski@nokia.com>2020-03-18 08:22:30 +0000
committerGerrit Code Review <gerrit@onap.org>2020-03-18 08:22:30 +0000
commit15b97eff96d424102f1ced9d5bd37616260414a3 (patch)
tree6a7054fe8c1c456c72e4dc407c3c1124513ea14f /certService/Makefile
parenta3c7692254ac7b07ccf5bdd50aa96d3cd07a5dfb (diff)
parent55061dabd9dd0ca53c8a4cb9fe2ff1d80cf9c3a3 (diff)
Merge "CertService local starter"
Diffstat (limited to 'certService/Makefile')
-rw-r--r--certService/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/certService/Makefile b/certService/Makefile
new file mode 100644
index 00000000..b1b63b4d
--- /dev/null
+++ b/certService/Makefile
@@ -0,0 +1,31 @@
+all: build start stop
+.PHONY: build
+
+build:
+ @echo "##### Build Cert Service images locally #####"
+ mvn clean install -P docker
+ @echo "##### DONE #####"
+start:
+ @echo "##### Start Cert Service #####"
+ docker-compose up -d
+ @echo "## Configure ejbca ##"
+ docker exec aafcert-ejbca /opt/primekey/scripts/ejbca-configuration.sh
+ @echo "##### DONE #####"
+stop:
+ @echo "##### Stop Cert Service #####"
+ docker-compose down
+ @echo "##### DONE #####"
+
+
+
+
+
+
+
+
+
+
+
+
+
+