Przeglądaj źródła

corrigue error en build

Luciano Andrade 7 lat temu
rodzic
commit
e6ebb32367
2 zmienionych plików z 2 dodań i 69 usunięć
  1. 1 0
      .drone.yml
  2. 1 69
      app/Resources/workflows/workflow_list.yml

+ 1 - 0
.drone.yml

@@ -39,6 +39,7 @@ pipeline:
       - mkdir -p /root/.ssh/
       - ssh-keyscan -p222 200.50.168.30 >> ~/.ssh/known_hosts
       - ssh-keyscan -p222 infra.flowdat.com >> ~/.ssh/known_hosts
+      - ssh-keyscan -p222 gogs.infra.flowdat.com >> ~/.ssh/known_hosts
       - ssh-keyscan -p22 bitbucket.org >> ~/.ssh/known_hosts
       - chmod 0400 keys/bitbucket.id_rsa
       - eval $(ssh-agent); ssh-add keys/bitbucket.id_rsa

+ 1 - 69
app/Resources/workflows/workflow_list.yml

@@ -1,69 +1 @@
-framework:
-  workflows:
-    olt_workflow:
-      type: state_machine
-      marking_store:
-        type: single_state
-        arguments:
-          - currentState
-      supports:
-        - FTTHBundle\Entity\OLT
-      initial_place: disabled
-      places:
-        - enabled
-        - disabled
-      transitions:
-        disable:
-          from: enabled
-          to: disabled
-        enable:
-          from: disabled
-          to: enabled
-    onu_workflow:
-      type: state_machine
-      marking_store:
-        type: single_state
-        arguments:
-          - currentState
-      supports:
-        - FTTHBundle\Entity\ONU
-      initial_place: active
-      places:
-        - active
-        - disable
-      transitions:
-        add_config:
-          from: active
-          to: active
-        disable:
-          from: active
-          to: disable
-        active:
-          from: disable
-          to: active
-    nose:
-      type: state_machine
-      marking_store:
-        type: single_state
-        arguments:
-          - currentState
-      supports:
-        - FTTHBundle\Entity\ONU
-      initial_place: state_two
-      places:
-        - state_one
-        - state_two
-        - state_three
-      transitions:
-        one_to_two:
-          from: state_one
-          to: state_two
-        two_to_three:
-          from: state_two
-          to: state_three
-        two_to_one:
-          from: state_two
-          to: state_one
-        three_to_one:
-          from: state_three
-          to: state_one
+