Procházet zdrojové kódy

FD3-742 se agregan links en tasklogger. fix .drone.yml

Espinoza Guillermo před 6 roky
rodič
revize
2f9db45e1d
2 změnil soubory, kde provedl 11 přidání a 9 odebrání
  1. 9 9
      .drone.yml
  2. 2 0
      tools/src/Release.php

+ 9 - 9
.drone.yml

@@ -6,15 +6,15 @@
 ##    privileged: true
 ##    command: [ "--storage-driver=vfs", "--tls=false" ]
 #
-#pipeline:
-#  build:
-#    image: python:2.7
-#    commands:
-#      - START=$(date +%s)
-#      - echo $START
-#      - export CLIENT=fd3
-#      - apt update 
-#      - apt install netcat -yq
+pipeline:
+  build:
+    image: python:2.7
+    commands:
+      - START=$(date +%s)
+      - echo $START
+      - export CLIENT=fd3
+      - apt update 
+      - apt install netcat -yq
 #      #- pip install --upgrade pip ansible==2.2.0 markupsafe ecdsa pyOpenSSL;
 #      # - curl -OL https://github.com/digitalocean/doctl/releases/download/v1.8.0/doctl-1.8.0-linux-amd64.tar.gz
 #      # - tar xf doctl-1.8.0-linux-amd64.tar.gz

+ 2 - 0
tools/src/Release.php

@@ -973,6 +973,7 @@ class Release extends Command
             ->addLinks("mysql")
             ->addLinks("base")
             ->addLinks("nginx", $this->getDomain("base"))
+            ->addLinks("nginx", $this->getDomain("dhcp"))
             ->addEnv_file("running.env")
             ->addEnv_file("host.env")
             ->addEnv_file("cablemodem.host.env")
@@ -988,6 +989,7 @@ class Release extends Command
             ->addLinks("mysql")
             ->addLinks("base")
             ->addLinks("nginx", $this->getDomain("base"))
+            ->addLinks("nginx", $this->getDomain("cablemodem"))
             ->addEnv_file("running.env")
             ->addEnv_file("host.env")
             ->addEnv_file("dhcp.host.env")