-
Notifications
You must be signed in to change notification settings - Fork 2
/
.dwollaci.yml
42 lines (42 loc) · 1002 Bytes
/
.dwollaci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
stages:
build:
nodeLabel: nvm
steps:
- |
. ${NVM_DIR}/nvm.sh --no-use
nvm install
npm ci
npm test
ENVIRONMENT=test SLACK_WEBHOOK_URL=slack.com npm run build
filesToStash:
- "**"
deployDevInt:
nodeLabel: nvm-deployer
secrets:
SLACK_WEBHOOK_URL: cloudwatch-alarm-to-slack/slack_webhook_url
steps:
- |
. ${NVM_DIR}/nvm.sh --no-use
nvm install
ENVIRONMENT=devint \
npm run deploy
deployUat:
nodeLabel: nvm-deployer
secrets:
SLACK_WEBHOOK_URL: cloudwatch-alarm-to-slack/slack_webhook_url
steps:
- |
. ${NVM_DIR}/nvm.sh --no-use
nvm install
ENVIRONMENT=uat \
npm run deploy
deployProd:
nodeLabel: nvm-deployer
secrets:
SLACK_WEBHOOK_URL: cloudwatch-alarm-to-slack/slack_webhook_url
steps:
- |
. ${NVM_DIR}/nvm.sh --no-use
nvm install
ENVIRONMENT=prod \
npm run deploy