Profile cover photo
Profile photo
Marko Locher
114 followers -
Engineer at http://codeship.com, freaking out my friends with weird music, also volleyball & sailing!
Engineer at http://codeship.com, freaking out my friends with weird music, also volleyball & sailing!

114 followers
About
Marko's posts

Post has shared content
Anyone using #codeship  may want to check that the node_modules directory is in the root of the repo. Codeship will cache the node_modules directory between builds and dramatically reduce the time it takes for npm install to run.

At CRaKN we have a Ruby on Rails API and an Ember application both in the same repo. Our node_modules was in app/client/node_modules. Working with Codeship support (fantastic by the way) they supplied us with the following:

if [ ! -d "${HOME}/clone/node_modules" ]; then mkdir "${HOME}/clone/node_modules"; fi
ln -s "${HOME}/clone/node_modules" "${HOME}/clone/client/"

If you place that in the setup and deploy commands you will see the cache savings. You may need to adjust the paths to match the project directory structure. This took npm install from 1m-2m to less than 10s.

Post has shared content
Ping +Joachim Ungar

Post has attachment
I published another article on the +Codeship Blog. 

Post has attachment

Post has shared content
My first post on the +Codeship blog just got published. Yeah!
Great article by our very own +Marko Locher!  
"How Codeship uses Ansible and Packer to build Immutable Infrastructure on AWS"

http://buff.ly/SE5jGe

Post has attachment
We build a Slack integration for +Codeship!

Post has shared content

Post has shared content

Post has shared content
Yummy!
For when you just can't get enough of your work that you need to eat it too :)
Photo

Post has shared content
We just updated our Transparency Report, showing how many requests Google gets for information about its users. But we're not allowed to give the full story because the U.S. government says that requests under the Foreign Intelligence Surveillance Act (FISA) must be kept secret. We can tell you this: Requests have more than doubled around the world since 2009, and more than tripled in the U.S.: http://g.co/u5sp

Share this if you believe you have a right to know what our governments are up to. 
Photo
Wait while more posts are being loaded