Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,779
Community Members
 
Community Events
168
Community Groups

How to add additional Plugins to Serverless-deploy Pipe?

We are planning to use the ServerLess-deploy pipe for the Lambda and Glue Job deployment. But didn't find an option how to add the additional plugin to serverless pipes for a different type of packaging.

1 answer

1 accepted

0 votes
Answer accepted

@APrusty Hi. Thanks for your question. It's a good case to use PRE_EXECUTION_SCRIPT parameter:

script:
  - echo 'npm install serverless-additional@2.*' > .my-script.sh
  - chmod 005 my-script.sh
  - pipe: atlassian/serverless-deploy:1.1.1
    variables:
      AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
      AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
      PRE_EXECUTION_SCRIPT: '.my-script.sh'

Regards, Igor.

Thanks for the information.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events