Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
AlloVince committed Mar 28, 2019
2 parents d4a4334 + a73c207 commit 84098b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## A Demo to show workflow of Drone CI + GitFlow + Semantic Release + Kubernetes

[![Build Status](https://cloud.drone.io/api/badges/AlloVince/drone-ci-demo/status.svg)](https://cloud.drone.io/AlloVince/drone-ci-demo)

Step by step, to show how to build a powerful team development workflow with CI

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

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

Kubernetes config could check [./kubernetes]
Kubernetes config files under [./kubernetes](./kubernetes)

2. prepare `.drone.yml`

```
```yml
kind: pipeline
name: deploy

Expand All @@ -30,18 +33,11 @@ steps:

2. prepare `.drone.yml`

```
```yml
kind: pipeline
name: deploy
steps:
- name: pre-check
image: node:10
environment:
DOCKER_PASSWORD:
from_secret: DOCKER_PASSWORD
commands:
- echo $${DOCKER_PASSWORD}
- name: unit-test
image: node:10
commands:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/drone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
spec:
containers:
- name: drone-server
image: drone/drone:1.0.0-rc.6
image: drone/drone:1.0.0
imagePullPolicy: Always
env:
- name: DRONE_KUBERNETES_ENABLED
Expand Down

0 comments on commit 84098b2

Please sign in to comment.