Forums

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

Export meteor as artifacts in bitbucket-pipeline

Gnanamadhu
Contributor
March 13, 2019

Hello all, First of all i am new to bitbucket-pipeline

 

My project built on angualr and meteor. I successfully installed meteor on the pipeline. I need to export meteor as artifacts so the next step can use this. Snother way is to cache the meteor (i think?). I saw this documentation about caching. This documentation has preconfigured caching for selected things. And i saw custom caching as well. I need to know the location of meteor installation location in default location. Usually it will be in `~/.meteor`. Is this is the right path?

 

Or is there any other recommended way to export meteor to the following steps!

 

Thanks.

 

here is the sample of my YAML file

 

image: node:8.11.4

pipelines:
branches:
bitbucket-pipeline:
- step:
name: "Client: Install Dependencies"
caches:
- node
script:
- curl https://install.meteor.com/ | sh
- export METEOR_ALLOW_SUPERUSER=true
- npm install
- npm run setup-meteor-client-bundle
- step:
name: "Client: Build for Staging"
caches:
- node
script:
- npm run build-browser:prod // i need meteor to be installed for this.
artifacts:
- dist/**

1 answer

0 votes
mkleint
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 21, 2019

one option is to use a different image that already has meteor installed by default. eg. https://hub.docker.com/r/blakeberg/meteor-nodejs/ or create your custom one. Next to having more stable build environment, you get a faster build overall because meteor doesn't have to be installed everytime.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian community, job interviews, interview tips, career advice, interview preparation, job search, interview experiences, hiring process, atlassian careers, community discussion, interview best practices

Interview Tips & Pet Peeves ✍️

Join the discussion on interview best practices and common pitfalls. Share your experiences and learn from others in the Atlassian Community.

Share you experiences!
AUG Leaders

Atlassian Community Events