forked from desenho-de-software-2019-02/master_of_puppets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rancher-pipeline.yml
52 lines (46 loc) · 1.25 KB
/
.rancher-pipeline.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
stages:
- name: Publish users image
steps:
- publishImageConfig:
dockerfilePath: ./services/users/Dockerfile
buildContext: ./services/users/.
tag: mop-users:${CICD_EXECUTION_SEQUENCE}
pushRemote: true
registry: registry.lappis.rocks
- name: Publish resources image
steps:
- publishImageConfig:
dockerfilePath: ./services/resources/Dockerfile
buildContext: .
tag: mop-resources:${CICD_EXECUTION_SEQUENCE}
pushRemote: true
registry: registry.lappis.rocks
- name: Publish campaigns image
steps:
- publishImageConfig:
dockerfilePath: ./services/campaigns/Dockerfile
buildContext: .
tag: mop-campaigns:${CICD_EXECUTION_SEQUENCE}
pushRemote: true
registry: registry.lappis.rocks
- name: Deploy resources Staging
when:
branch: rancher-deploy
steps:
- applyYamlConfig:
path: ./deploy/staging/deployment-resources.yml
- name: Deploy campaigns Staging
when:
branch: rancher-deploy
steps:
- applyYamlConfig:
path: ./deploy/staging/deployment-campaigns.yml
- name: Deploy users Staging
when:
branch: rancher-deploy
steps:
- applyYamlConfig:
path: ./deploy/staging/deployment-users.yml
branch:
include: [ rancher-deploy ]
notification: {}