summaryrefslogtreecommitdiffstats
path: root/sms-service/bin/build_sms_image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sms-service/bin/build_sms_image.sh')
-rwxr-xr-xsms-service/bin/build_sms_image.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/sms-service/bin/build_sms_image.sh b/sms-service/bin/build_sms_image.sh
index a89e64e..cd3663f 100755
--- a/sms-service/bin/build_sms_image.sh
+++ b/sms-service/bin/build_sms_image.sh
@@ -27,8 +27,15 @@ function generate_binary {
cp ../target/sms .
}
-function remove_binary {
+function copy_certificates {
+ cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pem .
+ cp ../src/sms/auth/aaf-sms.api.simpledemo.onap.org.pr .
+}
+
+function cleanup {
rm sms
+ rm aaf-sms.api.simpledemo.onap.org.pem
+ rm af-sms.api.simpledemo.onap.org.pr
}
function build_image {
@@ -51,6 +58,7 @@ function push_image {
}
generate_binary
+copy_certificates
build_image
push_image
-remove_binary \ No newline at end of file
+cleanup \ No newline at end of file