Commit 71af15d7 authored by D.M.S Senevirathna's avatar D.M.S Senevirathna

Update .gitlab-ci.yml

parent 5ad5ea19
......@@ -13,15 +13,28 @@ cache:
paths:
- node_modules/
Test:
before_script:
- npm install
stage: test
script:
- npm test
tags:
- aws, clcloud, linux
Build:
stage: build
script:
- npm install
- npm build
tags:
- aws, clcloud, linux
DEV Deployment:
stage: deploy_dev
environment:
name: development
url: https://example.com
when: manual
script:
- echo 'run dev deployment script'
tags:
......@@ -31,6 +44,10 @@ DEV Deployment:
QA Deployment:
stage: deploy_qa
environment:
name: development
url: https://example.com
when: manual
script:
- echo 'run qa deployment script'
tags:
......@@ -40,6 +57,10 @@ QA Deployment:
STG Deployment:
stage: deploy_stg
environment:
name: development
url: https://example.com
when: manual
script:
- echo 'run dev deployment script'
tags:
......@@ -49,6 +70,10 @@ STG Deployment:
PERF Deployment:
stage: deploy_perf
environment:
name: development
url: https://example.com
when: manual
script:
- echo 'run dev deployment script'
tags:
......@@ -58,6 +83,10 @@ PERF Deployment:
PRD Deployment:
stage: deploy_prd
environment:
name: development
url: https://example.com
when: manual
script:
- echo 'run prd deployment script'
tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment