Skip to content

Commit 84098b2

Browse files
committed
Merge branch 'dev'
2 parents d4a4334 + a73c207 commit 84098b2

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## A Demo to show workflow of Drone CI + GitFlow + Semantic Release + Kubernetes
22

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
36

47
- [Github repo](https://github.com/AlloVince/drone-ci-demo)
58
- [Drone CI of this repo](https://cloud.drone.io/AlloVince/drone-ci-demo)
@@ -9,11 +12,11 @@
912

1013
1. Use drone cloud or setup a private drone by k8s
1114

12-
Kubernetes config could check [./kubernetes]
15+
Kubernetes config files under [./kubernetes](./kubernetes)
1316

1417
2. prepare `.drone.yml`
1518

16-
```
19+
```yml
1720
kind: pipeline
1821
name: deploy
1922

@@ -30,18 +33,11 @@ steps:
3033

3134
2. prepare `.drone.yml`
3235

33-
```
36+
```yml
3437
kind: pipeline
3538
name: deploy
3639
3740
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}
4541
- name: unit-test
4642
image: node:10
4743
commands:

kubernetes/drone.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
spec:
7878
containers:
7979
- name: drone-server
80-
image: drone/drone:1.0.0-rc.6
80+
image: drone/drone:1.0.0
8181
imagePullPolicy: Always
8282
env:
8383
- name: DRONE_KUBERNETES_ENABLED

0 commit comments

Comments
 (0)