-
Notifications
You must be signed in to change notification settings - Fork 5
/
shippable.resources.yml
87 lines (74 loc) · 2.23 KB
/
shippable.resources.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
resources:
# resources for sample application running on Kubernetes on AWS
################################
# config for kubectl config
- name: deploy_kube_runsh_cli_kubectl
type: cliConfig
integration: ttrahan-kube
################################
# Sample Node Aye_Aye component
# GitHub repo holding scripts to be used in runsh pipeline job
- name: deploy_kube_runsh_repo
type: gitRepo
integration: ttrahan-gh # replace with your GitHub integration name
pointer:
sourceName: shippableSamples/deploy-kubernetes-runsh-kubectl # replace with source code location (e.g. GitHub) where you cloned this sample project
branch: master
flags:
- deploy_kube_runsh_kubectl
# Docker Image
- name: deploy_kube_runsh_img
type: image
integration: ttrahan-dh # replace with your Registry/Hub integration name
pointer:
sourceName: ttrahan/deploy-kube-runcli # replace with docker registry location where you push the images
seed:
versionName: master.1
flags:
- deploy_kube_runsh_kubectl
################################
# TEST environment
# env vars - Test environment
- name: deploy_kube_runsh_params_test
type: params
version:
params:
CLUSTER: "useast1.dev.example_kube_cluster.com" # replace with your cluster domain name
ENVIRONMENT: "test"
PORT: 80
MEMORY: 64
CPUSHARES: .25
REPLICAS: 1
flags:
- deploy_kube_runsh_kubectl
# state output - Test environment
- name: deploy_kube_runsh_test_state
type: params
version:
params:
SEED: "placeholder"
flags:
- deploy_kube_runsh_kubectl
################################
# PROD environment
# env vars - Prod environment
- name: deploy_kube_runsh_params_prod
type: params
version:
params:
CLUSTER: "useast1.dev.example_kube_cluster.com" # replace with your cluster domain name
ENVIRONMENT: "prod"
PORT: 80
MEMORY: 128
CPUSHARES: .5
REPLICAS: 2
flags:
- deploy_kube_runsh_kubectl
# state output - Prod environment
- name: deploy_kube_runsh_prod_state
type: params
version:
params:
SEED: "placeholder"
flags:
- deploy_kube_runsh_kubectl