From b0683bec4abb9e25889d15a2ca5a94014d40e0ef Mon Sep 17 00:00:00 2001 From: imranalisyed506 <105209301+imranalisyed506@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:39:31 +0530 Subject: [PATCH] [ENG-53642] CWE- Collector release cycle improvements --- ps_spec.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ps_spec.yml b/ps_spec.yml index a588dac..d8494e4 100644 --- a/ps_spec.yml +++ b/ps_spec.yml @@ -28,3 +28,20 @@ stages: - echo done outputs: file: ./.ps_outputs/* + - + name: When Tag Created Run Build And Create Aritifacts + when: + - tag: ['v?\d+.\d+.\d+'] + image: 422372788747.dkr.ecr.us-east-1.amazonaws.com/al-paws-collector-pipeline:latest + compute_size: small_arm + commands: + - source $NVM_DIR/nvm.sh && nvm use 18 + - npm install + - make compile test package + - mkdir cwe-collector + - cp -r cfn al-cwe-collector.zip al-cwe-collector.json cwe-collector + - zip -r cwe-collector.zip cwe-collector + outputs: + file: ./cwe-collector* + packagers: + - basic \ No newline at end of file