Skip to content
This repository has been archived by the owner on Jan 19, 2018. It is now read-only.
/ strider-deploy Public archive

(deprecated) Strider-CD custom script for deployments with Fleet

License

Notifications You must be signed in to change notification settings

panubo/strider-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

Strider-CD Deployment Script

Custom script for automated deployments on Panubo managed infrastructure using Strider-CD.

This is designed to work in conjunction with Fleet Deploy and Fleet Deploy Atomic and this custom Strider Docker image.

Installation

This assumes you already have a working Strider-CD installation.

  1. Create a new project of type custom.
  2. Add "Custom Scripts" and "Metadata" plugins.
  3. Configure Metadata plugin:
  • Key: GIT_BRANCH = Value: ref.branch
  • Key: GIT_NAME = Value: project.provider.config.repo
  1. Setup each of the following steps in the Custom Script plugin:

Environment

~/bin/strider.sh environment

Prepare

~/bin/strider.sh prepare

Test

~/bin/strider.sh test

Deploy

As an example for atomic deployment of two instances, with one new instance created up while another is destroyed.

export DEPLOY_INSTANCES=2
export DEPLOY_CHUNKING=1
~/bin/strider.sh deploy

Cleanup

~/bin/strider.sh cleanup $(pwd)

That's it.

About

(deprecated) Strider-CD custom script for deployments with Fleet

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages