TGIMBA is getting automated – Deployed Website Verification Method Added

Git Hub Code

Its not perfect, but I was able to add a https library (reference #1) and have it call the https://www.tgimba.com site after the deploy is complete.  When the code pipeline is run, this is the log entry after the site is deployed and the verification code is called.

Screen Shot 2017-11-07 at 10.52.48 PM

It is completed in two parts:

  • JavaScript Module – Contains code to verify the site is up after the code pipe line runs.

Screen Shot 2017-11-07 at 10.50.51 PM

  • Buildspec.yml – I added the ‘npm run verifyDeploy’ command.

Screen Shot 2017-11-07 at 10.51.04 PM

Stay tuned!

References:

  1. https://www.npmjs.com/package/https
  2. https://stackoverflow.com/questions/5998694/how-to-create-an-https-server-in-node-js
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s