forked from blockscout/blockscout
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.tikici.yml
100 lines (100 loc) · 2.11 KB
/
.tikici.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
version: '2'
config:
slack_notify: true
slack_channel: astra-ci
environment:
BUILD_IMAGE: 'maven:3.6-jdk-11'
jobs:
build_docker:
steps:
- build_image:
buildkit: true
dockerfile: docker/Dockerfile
publish_docker:
steps:
- push_image
deploy_dev:
steps:
- deploy_dev:
cluster: dev
namespace: astra
workload: blockscout
argocd_pipeline: generic-v2
deployment_config: dev
deploy_dev_v1:
steps:
- deploy_dev:
cluster: dev
namespace: astra
workload: blockscout_v1
argocd_pipeline: generic-v2
deployment_config: dev_v1
deploy_prod:
steps:
- deploy_production:
workload: blockscout
argocd_pipeline: generic-v2
deployment_config: prod
workflows:
jenkins_pipeline:
jobs:
- build_docker:
filters:
branches:
only:
- astra
- dev
- publish_docker:
requires:
- build_docker
filters:
branches:
only:
- astra
- dev
- deploy_dev:
requires:
- publish_docker
filters:
branches:
only:
- dev
- deploy_dev_v1:
requires:
- publish_docker
filters:
branches:
only:
- dev
- deploy_prod:
requires:
- publish_docker
filters:
branches:
only:
- astra
deployment_config:
dev:
ingress:
hosts:
- host: blockscout.dev.tiki.services
paths:
- path: /
port: '4000'
replicaCount: 1
dev_v1:
ingress:
hosts:
- host: blockscout-v1.dev.tiki.services
paths:
- path: /
port: '4000'
replicaCount: 1
prod:
ingress:
hosts:
- host: blockscout.tiki.services
paths:
- path: /
port: '4000'
replicaCount: 1