Skip to content

commandp/lita-cp-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-cp-deploy

可以透過 lita 執行 opswork or jenkins

Installation

Add lita-cp-deploy to your Lita instance's Gemfile:

gem "lita-cp-deploy", git: 'https://github.com/commandp/lita-cp-deploy.git'

Usage

AWS_REGION=us-east-1
AWS_ACCESS_KEY=xxxxx
AWS_SECRET_ACCESS_KEY=xxxxx
DEPLOY_CONFIG= '{
  "deploy_itams": [{
    "name": "AWS OpsWorks Staging API",
    "short_name": "g stg api",
    "region": "ap-northeast-1", // optional
    "type": "aws",
    "stack_id": "xxx",
    "app_id": "xxx"
  },
  {
    "name": "China Staging Web",
    "short_name": "c stg web",
    "type": "jenkins",
    "user": "xiii",
    "password": "xxx",
    "TriggerURL": "http://jenkins/job/run_deploy/buildWithParameters?token=xxx&cause=xxx"
  }
}'
lita deploy <short_name>

or

lita deploy <short_name> revision=develop

chef-client deploy specially revision with jenkins

Enter job configure > This build is parameterized

jenkins_parameterized

setting shell script

jenkins_parameterized_2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages