Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add additional Plugins to Serverless-deploy Pipe?

APrusty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 11, 2021

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
Igor Stoyanov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 12, 2021

@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.

APrusty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 17, 2021

Thanks for the information.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events