Skip to content

elseu/elsb-dbit-github-action-warmup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Github action to start an instance in ASG if desired is 0

This script can process several ASG at time using following :

- python warmup.py "<AsgName1> wAsgName2> <AsgName3> ...." <CodeDeployAPP> <CodeDeployDeploymentGroup>

- python warmup.py SphinxJobs-LarbizSphinxWebserviceStack-TLPCMLE9W6H7-ScalingGroup-1VB3HTY0H0CU4 sphinx-job larbiz-sphinx-jobs-webservice

If desired is at 0 in ASG, we update to 1 and we are waiting for "InService"  instance's status.
We process each ASG passed in args until each one have a running instance.

If desired is up to 0, we just ignore ASG

CodeDeployApp and CodeDeployDeploymentGroup are passed to wait until first deployment (at startup) is terminated to enable deployment of new version by triggering another time codedeploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •