Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Dynamic Pipelines include configuration file

Paul Selibas May 15, 2024

I am currently developing a dynamic pipeline using the Atlassian Forge product. I am able to get a simple "hello world" application working. I plan on using configuration files (such as a YAML) file to be part of the logic. 

I have noticed that when I do a forge deploy the configuration files are not deployed as part of the process and hence I get the error:

Error: ENOENT: no such file or directory, open './build-files/config.yml' at Object.openSync

My question- how to I get forge deploy to bundle my configuration files as part of the deployment so that I can access them in my code?

 

1 answer

1 accepted

1 vote
Answer accepted
Paul Selibas May 15, 2024

I found the answer to my question.

You need to include the files in your manifest under app -> package -> extraFiles

https://developer.atlassian.com/platform/forge/manifest-reference/#package

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events