-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathshippable.jobs.yml
40 lines (36 loc) · 1.17 KB
/
shippable.jobs.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
jobs:
# jobs for the sample node app pipeline from CI thru TEST environment
################################
# add pipeline job
# TEST deployment to Kube cluster on AWS
- name: sample-kube-helm-deploy-test
type: runSh
steps:
- IN: int-aws
- IN: int-kube
- IN: params-kube-helm-test
- IN: repo-sample-kube-helm
switch: off
- IN: img-sample-kube-helm
- IN: params-sample-kube-helm-test
- IN: img-nginx
- TASK:
- script: echo "starting tasks"
- script: . $REPOSAMPLEKUBEHELM_PATH/gitRepo/pipeline/prepEnvironment.sh
- script: . $REPOSAMPLEKUBEHELM_PATH/gitRepo/pipeline/deploy.sh
# add pipeline job
# PROD deployment to Kube cluster on AWS
- name: sample-kube-helm-deploy-prod
type: runSh
steps:
- IN: sample-kube-helm-deploy-test
switch: off
- IN: int-aws
- IN: int-kube
- IN: params-kube-helm-prod
- IN: repo-sample-kube-helm
switch: off
- IN: params-sample-kube-helm-prod
- TASK:
- script: . $REPOSAMPLEKUBEHELM_PATH/gitRepo/pipeline/prepEnvironment.sh
- script: . $REPOSAMPLEKUBEHELM_PATH/gitRepo/pipeline/deploy.sh