-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
53 lines (44 loc) · 1.12 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
48
49
kind: pipeline
type: docker
name: default
steps:
- name: publish-docker-service
image: plugins/docker
network_mode: registry-network
settings:
dockerfile: service/Dockerfile
repo: registry:5000/service-flug
registry: registry:5000
insecure: true
- name: publish-docker-checker
image: plugins/docker
network_mode: registry-network
settings:
dockerfile: checker/Dockerfile
repo: registry:5000/service-flug
registry: registry:5000
insecure: true
- name: publish-service-sources
image: alpine
environment:
SSH_KEY:
from_secret: github_bot_ssh_key
ACCESS_TOKEN:
from_secret: github_bot_access_token
commands:
- apk update && apk add curl bash
- curl -s https://$${ACCESS_TOKEN}@raw.githubusercontent.com/enowars/Enowars4DevOps/master/drone-opennebula/push-services.sh | bash -s flug
- name: trigger-vm-image-creation
image: plugins/downstream
settings:
server: https://droneci.sect.tu-berlin.de
token:
from_secret: trigger_token
fork: true
repositories:
- enowars/Enowars4DevOps@master
trigger:
branch:
- master
event:
- push