New stages and jobs

This commit is contained in:
Nawaz Dhandala 2019-08-02 21:51:10 +05:30
parent d00a3caece
commit 4c5e15754d
No known key found for this signature in database
GPG Key ID: 43C184A0DB24F9F6

View File

@ -10,6 +10,8 @@ stages:
- E2E_test
- Deploy_Staging
- Deploy_Production
- Smoke_Test
- Rollback
##BACKEND
lint_n_audit_backend:
@ -163,3 +165,44 @@ deploy_production:
- release
environment:
name: production
smoke_test_production:
stage: Smoke_Test
script:
- echo "No test implemented"
only:
refs:
- release
environment:
name: production
smoke_test_staging:
stage: Smoke_Test
script:
- echo "No test implemented"
only:
refs:
- master
environment:
name: production
production_rollback:
stage: Rollback
script:
- echo "No rollback implemented"
only:
refs:
- release
environment:
name: production
staging_rollback:
stage: Rollback
script:
- echo "No rollback implemented"
only:
refs:
- master
environment:
name: production