Skip to content

MolecularMatch/step-catalyze-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Catalyze deployment step

wercker status

Deploy your code to Catalyze. This step requires that you deploy to a Custom deploy target.

Using wercker SSH key pair

To push to Catalyze we need to have an ssh key that is registered with their application.

To do this you must generate a private/public key pair on wercker and manually add the public key to Catalyze.

  • Generate a new key in wercker in the Key management section (application - settings).
  • Copy the public key and add it to Catalyze
  • In wercker edit the Custom (Catalyze) deploy target to which you would like to deploy, and add an environment variable:
    • Give the environment variable a name (remember this name, you will need it in the last step).
    • Select SSH Key pair as the type and select the key pair which you created earlier.
  • In the catalyze-deploy-step step in your wercker.yml add the key-name property with the value you used earlier:
deploy:
    steps:
        - MolecularMatch/catalyze-deploy-step:
            key-name: MY_SSH_DEPLOY_KEY
            CATALYZE_APP_NAME: MY_APP_NAME

In the above example the MY_SSH_DEPLOY_KEY should match the environment variable name you used in wercker. Note: you should not prefix it with a dollar sign or post fix it with _PRIVATE or _PUBLIC.

What's new

Options

  • key-name (required) Specify the name of the key that should be used for this deployment.
  • CATALYZE_APP_NAME (required) Specify the name of the application that should be used for this deployment.
  • CATALYZE_USER (optional) Specify the name of the user that will be performing deployments (default: [email protected])

Example

deploy:
    steps:
        - MolecularMatch/catalyze-deploy-step:
            key-name: MY_DEPLOY_KEY
            CATALYZE_APP_NAME: MY_APP_NAME

Special thanks

This wouldn't have been possible without the excellent work done by the Wercker team: https://github.com/wercker/step-heroku-deploy

License

The MIT License (MIT)

Changelog

0.0.4

  • Successful deploy to catalyze environment and update to README to show proper configuration

0.0.2

  • Corrected environment variable to handle what wercker actually provides

0.0.1

  • Initial release.

About

Catalyze Deployment Step

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages