-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ENG-53643]Collector release cycle improvements[Build CI job and CD j…
…ob] (#362) * create the artifact for each collector and upload to artifact storage
- Loading branch information
1 parent
560517c
commit 5c3eda5
Showing
4 changed files
with
372 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
COLLECTOR_NAME=$1 | ||
|
||
cd collectors/"$COLLECTOR_NAME" | ||
npm install | ||
make package | ||
|
||
mkdir -p "${COLLECTOR_NAME}"-collector | ||
cp -r cfn al-"${COLLECTOR_NAME}"-collector.zip al-"${COLLECTOR_NAME}"-collector.json "${COLLECTOR_NAME}"-collector | ||
if [ -d "./themis-template" ]; then \ | ||
cp -r themis-template "${COLLECTOR_NAME}"-collector; \ | ||
fi; \ | ||
zip -r ../../"${COLLECTOR_NAME}"-collector.zip "${COLLECTOR_NAME}"-collector |
Oops, something went wrong.