Add commments.

This commit is contained in:
Nawaz Dhandala
2019-08-02 22:25:29 +05:30
parent 17a9ae8a29
commit 98af7c4057

View File

@@ -3,8 +3,9 @@
# This CI/CD will run on an Ubuntu VM. After this script runs, the VM will retain the state.
# It's your responsibility to clean the VM up in the cleanup stage after job finishes executing.
# This script runs on Microk8s. since our deployments are on Kubernetes, our aim is to create EXACT same replica for test, staging and production.
# Define stages
# Define stages
stages:
- Build_n_Test
- E2E_test
@@ -121,6 +122,7 @@ e2e_test:
- release
- master
# DEPLOYMENT STAGE
deploy_staging:
stage: Deploy_Staging
script:
@@ -166,7 +168,7 @@ deploy_production:
environment:
name: production
## SMOKE TEST STAGE
smoke_test_production:
stage: Smoke_Test
script:
@@ -187,6 +189,8 @@ smoke_test_staging:
environment:
name: production
## ROLLBACK STAGE
production_rollback:
stage: Rollback_If_Failed
script: