Browse Source

update drone.yml

tags/v0.0.28
Peter Vivell 6 years ago
parent
commit
4b0c404b42
1 changed files with 51 additions and 1 deletions
  1. 51
    1
      drone.yml

+ 51
- 1
drone.yml View File

@@ -1,18 +1,68 @@
1 1
 kind: pipeline
2
-name: clone-build-sign-release
2
+name: clone-prepare-build-sign-release
3 3
 
4 4
 platform:
5 5
   os: linux
6 6
   arch: amd64
7 7
 
8
+clone:
9
+  disable: false
10
+  depth: 50
11
+
8 12
 # https://readme.drone.io/user-guide/pipeline/
9 13
 # https://docs.drone.io/reference/environ/
10 14
 # https://github.com/drone/drone
11 15
 steps:
16
+
17
+
18
+
19
+
20
+#http://plugins.drone.io/drone-plugins/drone-docker/
21
+#https://github.com/drone-plugins/drone-docker
22
+- name: prepare
23
+  image: plugins/docker
24
+  settings:
25
+    registry: repo.unino.de
26
+    insecure: false
27
+	#auth: authtoken
28
+    username:
29
+      from_secret: reg-user
30
+    password:
31
+      from_secret: reg-pass
32
+    repo: repo.unino.de/library/debian-devel
33
+    #mirror: registry.hub.docker.com/library/busybox
34
+
35
+	dry_run: true
36
+
37
+
38
+    #bip: false
39
+	#context: /drone
40
+    #custom_dns:
41
+    #storage_driver: aufs # aufs, overlay or vfs
42
+
43
+    debug: false
44
+    launch_debug: false
45
+    target: production # build target from dockerfile, e.g. production, debug
46
+    dockerfile: Dockerfile
47
+
48
+    auto_tag: false
49
+    auto_tag_suffix: linux-amd64
50
+	force_tag: true
51
+    tags:
52
+      - latest
53
+    build_args:
54
+      - HTTP_PROXY: http://172.17.0.1:3142
55
+
56
+
57
+
58
+
59
+
60
+
12 61
 - name: build
13 62
   image: debian:stable-slim
14 63
   when:
15 64
     event: [ push, tag ]
65
+  depends_on: [ prepare ]
16 66
   environment:
17 67
     MAKEFLAGS: -j 4
18 68
     BUILDDEPS: build-essential libc6-dev libhidapi-dev libssl-dev zip

Loading…
Cancel
Save