From 4f1b709a1563c4d001df5fc271a6d31057d410c5 Mon Sep 17 00:00:00 2001 From: Rakhi Mundhada Date: Tue, 23 Jan 2024 14:20:13 +0530 Subject: [PATCH] test_pipeline changest --- ps_spec.yml | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/ps_spec.yml b/ps_spec.yml index 479f2fa1..7ca26b85 100644 --- a/ps_spec.yml +++ b/ps_spec.yml @@ -50,4 +50,46 @@ stages: fi - echo done outputs: - file: ./.ps_outputs/* + file: ./.ps_outputs/* + + - name: build-collector-auth0 + image: 422372788747.dkr.ecr.us-east-1.amazonaws.com/al-paws-collector-pipeline:latest + compute_size: small_arm + when: + - pull_request: + trigger_phrase: build-collector-auth0 + commands: + - source $NVM_DIR/nvm.sh && nvm use 18 + - export ALPS_SERVICE_VERSION=$(node -p "require('./collectors/auth0/package.json').version") + # - echo "ALPS_SERVICE_VERSION=$ALPS_SERVICE_VERSION" >> $GITHUB_ENV + - npm install + - make package + - mkdir auth0-collecctor + - cp -r cfn al-auth0-collector.zip al-auth0-collector.json auth0-collector + env: + - ALPS_SERVICE_VERSION: ${{ env.ALPS_SERVICE_VERSION }} + outputs: + file: ./auth0-collecctor + packagers: + - basic + + - name: build-collector-carbonback + image: 422372788747.dkr.ecr.us-east-1.amazonaws.com/al-paws-collector-pipeline:latest + compute_size: small_arm + when: + - pull_request: + trigger_phrase: build-collector-carbonback + commands: + - source $NVM_DIR/nvm.sh && nvm use 18 + - export ALPS_SERVICE_VERSION=$(node -p "require('./collectors/carbonblack/package.json').version") + # - echo "ALPS_SERVICE_VERSION=$ALPS_SERVICE_VERSION" >> $GITHUB_ENV + - npm install + - make package + - mkdir auth0-collecctor + - cp -r cfn al-auth0-collector.zip al-auth0-collector.json auth0-collector + env: + - ALPS_SERVICE_VERSION: ${{ env.ALPS_SERVICE_VERSION }} + outputs: + file: ./auth0-collecctor + packagers: + - basic \ No newline at end of file