Commit b962cc11 authored by D.M.S Senevirathna's avatar D.M.S Senevirathna

Update .gitlab-ci.yml

parent 207d0c59
image: node:latest image: node:latest
stages:
- build
- test
- deploy_dev
- deploy_qa
- deploy_stg
- deploy_perf
- deploy_prd
cache: cache:
paths: paths:
- node_modules/ - node_modules/
build: Build:
stage: build
script: script:
- npm install - npm install
tags tags:
- aws, clcloud, linux
DEV Deployment:
stage: deploy_dev
script:
- echo 'run dev deployment script'
tags:
- aws, clcloud, linux
dependencies:
- build
QA Deployment:
stage: deploy_qa
script:
- echo 'run qa deployment script'
tags:
- aws, clcloud, linux
dependencies:
- deploy_dev
STG Deployment:
stage: deploy_stg
script:
- echo 'run dev deployment script'
tags:
- aws, clcloud, linux
dependencies:
- deploy_qa
PERF Deployment:
stage: deploy_perf
script:
- echo 'run dev deployment script'
tags:
- aws, clcloud, linux
dependencies:
- deploy_stg
PRD Deployment:
stage: deploy_prd
script:
- echo 'run prd deployment script'
tags:
- aws, clcloud, linux - aws, clcloud, linux
dependencies:
- deploy_perf
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