From e565db2ab20c2f17126591e436affb5254c163ee Mon Sep 17 00:00:00 2001 From: Rakhi Mundhada Date: Thu, 8 Feb 2024 15:20:42 +0530 Subject: [PATCH] copy themis-template as well while creating the artifact --- Makefile | 2 +- build_collector.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 535a1b61..e70160e8 100644 --- a/Makefile +++ b/Makefile @@ -40,7 +40,7 @@ package-all: echo -e "\n************\n\n creaating package for $$d\n\n************\n\n"; \ make -C collectors/$$d package || exit 1; \ mkdir -p artifact_folder/$$d-collector; \ - cp -r collectors/$$d/cfn collectors/$$d/al-$$d-collector.zip collectors/$$d/al-$$d-collector.json artifact_folder/$$d-collector/ || exit 1; \ + cp -r collectors/$$d/cfn collectors/$$d/al-$$d-collector.zip collectors/$$d/al-$$d-collector.json collectors/$$d/themis-template artifact_folder/$$d-collector/; \ done; package: test package.zip diff --git a/build_collector.sh b/build_collector.sh index d0b10e49..2a9dc86f 100755 --- a/build_collector.sh +++ b/build_collector.sh @@ -6,5 +6,5 @@ npm install || exit 1 make package || exit 1 mkdir -p "${COLLECTOR_NAME}"-collector -cp -r cfn al-"${COLLECTOR_NAME}"-collector.zip al-"${COLLECTOR_NAME}"-collector.json "${COLLECTOR_NAME}"-collector +cp -r cfn al-"${COLLECTOR_NAME}"-collector.zip al-"${COLLECTOR_NAME}"-collector.json themis-template "${COLLECTOR_NAME}"-collector zip -r ../../"${COLLECTOR_NAME}"-collector.zip "${COLLECTOR_NAME}"-collector