forked from FreeLunchCI/example-mean-todo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
freelunch.yml
33 lines (29 loc) · 1.39 KB
/
freelunch.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
---
# example comment to trigger a build: v1
builds:
docker_image_name: FreeLunchCI/example-mean-todo
outputs:
- type: ecr
image: FreeLunchCI/example-mean-todo
registry: 703587889398.dkr.ecr.us-east-1.amazonaws.com
repository: example-mean-todo
ecr_key: ${aws_access_key_id}
ecr_secret: ${aws_secret_access_key}
region: us-east-1
tag: base
- type: kube
server: https://50.16.94.175
token_user: aws_kubernetes
token: ${kube_token}
client_key: ${kube_client_certificate}
certificate_authority: ${kube_client_certificate}
current_context: aws_kubernetes
cluster_name: aws_kubernetes
#kube_api_version: v1 # If not provided the engine defaults to v1
#kube_config_path: ~/.kube/config #used for config based auth. MUST be relative to the ROOT of repo dir
kube_selector: app=example-mean-todo
kube_rc_name: example-mean-todo # This MUST match with the name of the rc you are going to create. Refer to your k8s/*-rc.yml file for it.
kube_deploy_registry: 703587889398.dkr.ecr.us-east-1.amazonaws.com # this should match the registry you deploy your image to (e.g. ecr.registry)
kube_deploy_repository: example-mean-todo # this should match the repository within the registry that you deploy your image to (e.g. ecr.repository)
kube_rc_path: k8s/example-mean-todo-rc.yml # MUST be relative to the repo ROOT
kube_dir: k8s