Procházet zdrojové kódy

Update

tags/v0.0.28
Peter Vivell před 6 roky
rodič
revize
15317ed0bf
2 změnil soubory, kde provedl 4 přidání a 11 odebrání
  1. 1
    1
      Dockerfile
  2. 3
    10
      drone.yml

+ 1
- 1
Dockerfile Zobrazit soubor

@@ -9,4 +9,4 @@ RUN apt-get update && \
9 9
     apt-get --yes upgrade && \
10 10
     apt-get --yes install ${BUILDDEPS}
11 11
 
12
-ENTRYPOINT ["/bin/bash", "-c"]
12
+ENTRYPOINT ["/bin/bash", "-c", "#(noop)"]

+ 3
- 10
drone.yml Zobrazit soubor

@@ -21,6 +21,8 @@ steps:
21 21
 #https://github.com/drone-plugins/drone-docker
22 22
 - name: prepare
23 23
   image: plugins/docker
24
+  when:
25
+    event: [ tag ]
24 26
   settings:
25 27
     dry_run: false
26 28
     registry: reg.unino.de
@@ -57,22 +59,13 @@ steps:
57 59
 
58 60
 
59 61
 - name: build
60
-  image: debian:stable-slim
62
+  image: reg.unino.de/library/debian-devel:latest
61 63
   when:
62 64
     event: [ push, tag ]
63 65
   depends_on: [ prepare ]
64 66
   environment:
65 67
     MAKEFLAGS: -j 4
66
-    BUILDDEPS: build-essential libc6-dev libhidapi-dev libssl-dev zip
67 68
   commands:
68
-    - | # Use HTTP caching proxy for APT, avoid HTTPS pulls
69
-      cat >> /etc/apt/apt.conf.d/01-proxy <<-EOF
70
-        Acquire::http  { Proxy "http://172.17.0.1:3142"; }
71
-        Acquire::https { Proxy "https://"; };
72
-      EOF
73
-    - apt-get update && 
74
-      apt-get -y upgrade && 
75
-      apt-get -y install $BUILDDEPS
76 69
     - export MAKEFLAGS && make
77 70
     - CONTENT=${DRONE_REPO_NAME}
78 71
     - test -n "${DRONE_TAG}" && 

Načítá se…
Zrušit
Uložit