Setting Up Codeship to Deploy to Catalyze

How do I setup Codeship to deploy to Catalyze?

When thinking about the best tools for continuous integration Codeship is always near the top of the list. In fact we even use it here at Catalyze for many of our web properties. If you’re a Stratum user we’ve made it very simple to use Codeship with your environments. The first thing you’ll want to do is to make sure you have the latest version of our CLI here. Once that’s installed and you’ve associated to your environment, you can follow these three steps:

  • 1. Head over to your project settings in Codeship and find the SSH public key that was setup for your Codeship project. This is under project settings -> general.
  • 2. Save that SSH public key to a file and add it as a deploy key with the catalyze deploy-keys add command in the CLI. Deploy keys are intended to be used for CI purposes and shared among teams. These are very much like a Github deploy key. Deploy keys have access to one code service only.
  • 2a. Here’s an example command catalyze -E "<your_env_alias>" deploy-keys add codeship ./ app01
  • 3. Add a custom deploy script to your Codeship project. This custom script only needs one line: git push {YOUR_GIT_REMOTE_HERE} $CI_COMMIT_ID:master
  • 3a. The git remote can be found in your initial environment provisioning emails with Catalyze support engineers or by running git remote -v from within your git repo after you’ve run the catalyze associate command with the CLI.

That’s it! Codeship is ready to deploy to Catalyze.

Cloud computing for healthcare

If you store, process, or transmit Protected Health Information, rely on Catalyze to keep you HIPAA compliant with our platform as a service, mobile backend, or managed HL7 integrations.

Contact Us Learn More

Catalyze learning resources

Learn the important and intracate details of HIPAA compliance, make use of HL7, and understand the security aspects of handling protected health information with our learning resources.

Visit Catalyze Learning Resources