Forums

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

How to auto deploy codes on meteor galaxy server?

JT1 January 20, 2019

Hello Guys,

Just in case some of you here already did this, we want our codes to be deployed into our meteor galaxy server every time we do git push. Is it possible?

 

Thanks in advance!

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2019

Yes.  What automation tools do you have on the meteor galaxy server?

JT1 January 21, 2019

Sorry what do you mean automation tools on meteor galaxy server? Is possible to specify the name of that tool?

Thanks!

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 21, 2019

If you want to do things on a git push, you are going to need something that can do things on that server when triggered by the push.

We can't begin to tell you how to do something until we know what tools you have to do it with.

JT1 January 21, 2019

We are using pipelines of bitbucket, we just put in there the meteor commands for deployment. Is that you are asking? See below. Actually, we can deploy it already however seems like the files that are pushed through the server are incomplete that's why the galaxy failed to build it.

image: node:6.11.2

pipelines:
default:
- step:
caches:
- node
deployment: production # can be test, staging or production.
script: # Modify the commands below to build your repository.
- curl https://install.meteor.com/ | sh
- meteor npm install
- export METEOR_NO_RELEASE_CHECK=true
- export METEOR_ALLOW_SUPERUSER=true
- export METEOR_SESSION_FILE=deployment_token.json
- readlink $HOME/.meteor/meteor
- METEOR_SESSION_FILE=deployment_token.json DEPLOY_HOSTNAME=us-east-1.galaxy-deploy.meteor.com meteor deploy our.site.com.au --settings ./settings.json

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events