forked from istio/installer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
48 lines (40 loc) · 1.08 KB
/
.drone.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
kind: pipeline
name: default
workspace:
base: /go
path: src/github.com/costinm/istio-install
steps:
- name: run
image: istio/ci:go1.11-k8s1.10.4-helm2.7.2-minikube0.25
environment:
GOPATH: /home/circleci
DOCKER_HOST: tcp://docker-p:2375
commands:
- go get -u sigs.k8s.io/kind
- /home/circleci/bin/kind create cluster
- export PATH=$PATH:$GOPATH/bin
- export KUBECONFIG="$(kind get kubeconfig-path --name="kind")"
- kubectl apply -f crds/
- bin/iop istio-control discovery istio-control/istio-discovery
services:
- name: docker-p
image: plugins/docker
privileged: true
commands:
- /usr/local/bin/dockerd --data-root /var/lib/docker --host=tcp://0.0.0.0:2375
# - name: docker
# image: plugins/docker
# commands:
# - /usr/local/bin/dockerd --data-root /var/lib/docker
#services:
## Doesn't work - require priv or trusted
## - name: docker
## image: docker:dind
## privileged: true
## volumes:
## - name: dockersock
## path: /var/run
#
#volumes:
# - name: dockersock
# temp: {}