File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 1
1
## A Demo to show workflow of Drone CI + GitFlow + Semantic Release + Kubernetes
2
2
3
+ [ ![ Build Status] ( https://cloud.drone.io/api/badges/AlloVince/drone-ci-demo/status.svg )] ( https://cloud.drone.io/AlloVince/drone-ci-demo )
4
+
5
+ Step by step, to show how to build a powerful team development workflow with CI
3
6
4
7
- [ Github repo] ( https://github.com/AlloVince/drone-ci-demo )
5
8
- [ Drone CI of this repo] ( https://cloud.drone.io/AlloVince/drone-ci-demo )
9
12
10
13
1 . Use drone cloud or setup a private drone by k8s
11
14
12
- Kubernetes config could check [ ./kubernetes]
15
+ Kubernetes config files under [ ./kubernetes] ( ./kubernetes )
13
16
14
17
2 . prepare ` .drone.yml `
15
18
16
- ```
19
+ ``` yml
17
20
kind : pipeline
18
21
name : deploy
19
22
@@ -30,18 +33,11 @@ steps:
30
33
31
34
2. prepare `.drone.yml`
32
35
33
- ```
36
+ ` ` ` yml
34
37
kind: pipeline
35
38
name: deploy
36
39
37
40
steps:
38
- - name: pre-check
39
- image: node:10
40
- environment:
41
- DOCKER_PASSWORD:
42
- from_secret: DOCKER_PASSWORD
43
- commands:
44
- - echo $${DOCKER_PASSWORD}
45
41
- name: unit-test
46
42
image: node:10
47
43
commands:
Original file line number Diff line number Diff line change 77
77
spec :
78
78
containers :
79
79
- name : drone-server
80
- image : drone/drone:1.0.0-rc.6
80
+ image : drone/drone:1.0.0
81
81
imagePullPolicy : Always
82
82
env :
83
83
- name : DRONE_KUBERNETES_ENABLED
You can’t perform that action at this time.
0 commit comments