Skip to content

Commit

Permalink
Update ps_spec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rakhimundhada15 authored Jan 23, 2024
1 parent 6899739 commit fe476f0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ps_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ stages:
ALPS_SERVICE_VERSION: "1.1.55"
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
- cd collectors/auth0
- export ALPS_SERVICE_VERSION=$(node -p "require('./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
outputs:
file: ./auth0-collecctor
packagers:
packagers:
- basic

- name: build-collector-carbonback
Expand All @@ -79,15 +79,16 @@ stages:
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")
- cd collectors/carbonblack
- export ALPS_SERVICE_VERSION=$(node -p "require('./package.json').version")
- echo "ALPS_SERVICE_VERSION=$ALPS_SERVICE_VERSION" >> $GITHUB_ENV
- npm install
- make package
- mkdir auth0-collecctor
- mkdir carbonback-collecctor
- cp -r cfn al-auth0-collector.zip al-auth0-collector.json auth0-collector
env:
ALPS_SERVICE_VERSION: "${{ ALPS_SERVICE_VERSION }}"
outputs:
file: ./auth0-collecctor
packagers:
packagers:
- basic

0 comments on commit fe476f0

Please sign in to comment.